ソースを参照

Lalim actually appears now

tags/v0.2.8
Fen Dweller 7年前
コミット
4019e9d2de
1個のファイルの変更10行の追加1行の削除
  1. +10
    -1
      objects.js

+ 10
- 1
objects.js ファイルの表示

@@ -78,8 +78,17 @@ function Bed() {
this.actions.push({
"name": "Sleep",
"action": function() {
if (player.health >= player.maxHealth) {
if (Math.random() < 0.25) {
update(["You crawl into bed and fall asleep...",newline]);
advanceTime(86400 - time);
startCombat(new Lalim());
return;
}
}

update(["You take a nap."]);
advanceTime(2700);
advanceTime(3600*2);
updateDisplay();
}
});


読み込み中…
キャンセル
保存