This commit is contained in:
33333-33333 2026-06-25 14:51:58 +09:00
commit 434f07cc4e
103 changed files with 8387 additions and 8152 deletions

View file

@ -70,15 +70,6 @@
}
}
},
hasWaterCurableDisease() {
return Boolean(this.zunchiDisease || this.explosionDisease);
},
hasZundaCurableDisease() {
return Boolean(this.explosionDisease || this.fightDisease);
},
infectSleepDisease(source = null) {
if (this.dead || this.sleepDisease) return false;
this.sleepDisease = true;
@ -204,11 +195,6 @@
if (!id) return null;
return this.world?.items?.find?.(it => it && !it.dead && it.id === id && it.type === "nest_box") || null;
},
isInsideNestBox() {
return Boolean(this.insideNestBoxId);
},
wantsNestBox(box = null) {
if (!box || box.dead || box.type !== "nest_box") return false;
if (this.insideNestBoxId === box.id && (this.world?.time || 0) < (this.nestBoxStayUntil || -Infinity) && (this.state === "sleep" || this.state === "seek_bed" || this.sleeping)) return true;