소스 검색

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();
}
});


불러오는 중...
취소
저장