X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=rogue_chat.html;h=47bf58d3aa4c937dfe5b078a6a161c25349ccd16;hb=dfe8541633da35717021f06839d1a386481c95f1;hp=f08105023e30b3d062b58e06fb9f52551647cee9;hpb=cfb8df3d49ecb0bbdf55de23d31a2a33a7c20edc;p=plomrogue2 diff --git a/rogue_chat.html b/rogue_chat.html index f081050..47bf58d 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -491,7 +491,7 @@ let server = { game.things_new = []; } else if (tokens[0] === 'STATS') { game.bladder_pressure_new = parseInt(tokens[1]) - game.weariness_new = parseInt(tokens[2]) + game.energy_new = parseInt(tokens[2]) } else if (tokens[0] === 'THING') { let t = game.get_thing_temp(tokens[4], true); t.position = parser.parse_yx(tokens[1]); @@ -549,7 +549,7 @@ let server = { game.player = game.things[game.player_id]; game.players_hat_chars = game.players_hat_chars_new; game.bladder_pressure = game.bladder_pressure_new - game.weariness = game.weariness_new + game.energy = game.energy_new game.turn_complete = true; if (tui.mode.name == 'post_login_wait') { tui.switch_mode('play'); @@ -1219,7 +1219,7 @@ let tui = { }, draw_stats_line: function(n) { terminal.write(1, this.window_width, - 'WEARINESS: ' + game.weariness + + 'ENERGY: ' + game.energy + ' BLADDER: ' + game.bladder_pressure); }, draw_history: function() {