hmm
This commit is contained in:
parent
e8f1d1db1e
commit
54aff02658
27 changed files with 1700 additions and 1034 deletions
|
|
@ -30,7 +30,7 @@
|
|||
observer.sleeping = false;
|
||||
observer.setActionState?.("panic", { target: observer.panicDestination ? observer.panicDestination(dead) : null, reason: `${relation}が死んだ`, wake: true });
|
||||
observer.fearTimer = Math.max(observer.fearTimer || 0, fear);
|
||||
observer.stress = clamp((observer.stress || 0) + stress, 0, 130);
|
||||
if (typeof applyNeedShock === "function") applyNeedShock(observer, { safety: stress * 1.6, social: stress * 1.4 });
|
||||
observer.bubble?.("!!", 1.0, "rgba(60,50,68,0.82)");
|
||||
}
|
||||
observer.recordChangeCause?.(`${relation}の死亡`, "ストレス", { value: stress });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue