mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 00:34:00 -06:00
Guess I didnt test before checking in
This commit is contained in:
@@ -181,7 +181,7 @@ Cheat
|
|||||||
|
|
||||||
<script type="text/charsheet" id="sheet">
|
<script type="text/charsheet" id="sheet">
|
||||||
$Traits.Name the $Traits.Race [$hostname]
|
$Traits.Name the $Traits.Race [$hostname]
|
||||||
$motto
|
"$motto"
|
||||||
|
|
||||||
Level $Traits.Level $Traits.Class (exp. $ExpBar.position/$ExpBar.max)
|
Level $Traits.Level $Traits.Class (exp. $ExpBar.position/$ExpBar.max)
|
||||||
|
|
||||||
|
|||||||
@@ -557,10 +557,11 @@ function GoButtonClick() {
|
|||||||
EncumBar.reset(GetI(Stats, "STR") + 10);
|
EncumBar.reset(GetI(Stats, "STR") + 10);
|
||||||
|
|
||||||
Put(Inventory, "Gold", 0);
|
Put(Inventory, "Gold", 0);
|
||||||
Put(Inventory, "Moon Mead", 2);
|
|
||||||
|
|
||||||
Put(Equips, "Hauberk", "-3 Burlap");
|
Put(Equips, "Hauberk", "-3 Burlap");
|
||||||
|
|
||||||
|
ClearAllSelections();
|
||||||
|
|
||||||
StartTimer();
|
StartTimer();
|
||||||
SaveGame();
|
SaveGame();
|
||||||
Brag('s');
|
Brag('s');
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ function sold() {
|
|||||||
dna: stats.seed,
|
dna: stats.seed,
|
||||||
seed: stats.seed,
|
seed: stats.seed,
|
||||||
birthday: ''+new Date(),
|
birthday: ''+new Date(),
|
||||||
birthstamp: +new Date();
|
birthstamp: +new Date()
|
||||||
};
|
};
|
||||||
$.each('STR,CON,DEX,INT,WIS,CHA'.split(','), function (index,value) {
|
$.each('STR,CON,DEX,INT,WIS,CHA'.split(','), function (index,value) {
|
||||||
newguy[value] = stats[value];
|
newguy[value] = stats[value];
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function brag(sheet) {
|
function brag(sheet) {
|
||||||
var brag = template($("#badge").html(), sheet));
|
var brag = $(template($("#badge").html(), sheet));
|
||||||
if (sheet.motto)
|
if (sheet.motto)
|
||||||
brag.find(".bs").text('"' + sheet.motto + '"');
|
brag.find(".bs").text('"' + sheet.motto + '"');
|
||||||
return brag;
|
return brag;
|
||||||
|
|||||||
Reference in New Issue
Block a user