Guess I didnt test before checking in

This commit is contained in:
Eric Fredricksen
2010-07-06 11:38:23 -07:00
parent 3e65d06798
commit c31719ffbd
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -181,9 +181,9 @@ Cheat
<script type="text/charsheet" id="sheet">
$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)
Plot stage: $Plots.last ($PlotBar.hint)
Quest: $Quests.last ($QuestBar.hint)
+2 -1
View File
@@ -557,10 +557,11 @@ function GoButtonClick() {
EncumBar.reset(GetI(Stats, "STR") + 10);
Put(Inventory, "Gold", 0);
Put(Inventory, "Moon Mead", 2);
Put(Equips, "Hauberk", "-3 Burlap");
ClearAllSelections();
StartTimer();
SaveGame();
Brag('s');
+1 -1
View File
@@ -145,7 +145,7 @@ function sold() {
dna: stats.seed,
seed: stats.seed,
birthday: ''+new Date(),
birthstamp: +new Date();
birthstamp: +new Date()
};
$.each('STR,CON,DEX,INT,WIS,CHA'.split(','), function (index,value) {
newguy[value] = stats[value];
+1 -1
View File
@@ -54,7 +54,7 @@ $(document).ready(function () {
});
function brag(sheet) {
var brag = template($("#badge").html(), sheet));
var brag = $(template($("#badge").html(), sheet));
if (sheet.motto)
brag.find(".bs").text('"' + sheet.motto + '"');
return brag;