This commit is contained in:
33333-33333 2026-07-15 14:44:29 +09:00
commit 63e10af865
86 changed files with 5400 additions and 1209 deletions

View file

@ -43,6 +43,7 @@
t.stressBarTimer = Math.max(0, (t.stressBarTimer || 0) - dt);
t.updateZunchiDisease(dt);
t.updateSpecialDiseases(dt);
t._achievementLaxativeActiveThisFrame = Boolean(t.hasItemEffect?.("laxative"));
if (t.updateBurning) t.updateBurning(dt);
if (t.updateItemEffects) t.updateItemEffects(dt);
if (t.hasItemEffect?.("sedative")) {
@ -81,6 +82,7 @@
t.sunbathCooldown = Math.max(0, (t.sunbathCooldown || 0) - dt);
if (t.freezeSleepDiseaseMotion(dt)) {
t.checkLife(dt);
if (!t.dead) t._achievementLaxativeActiveThisFrame = false;
return { done: true };
}
global.TarinaiCursorCareSystem.updateOne(t, dt);
@ -200,7 +202,7 @@
t.vx *= Math.pow(0.996, dt * 60);
t.vy *= Math.pow(0.996, dt * 60);
} else if (t.world.weather === "light_rain") {
const shelteredFromRain = global.TarinaiRainShelterSystem?.isSheltered?.(t.world, t.x, t.y) || false;
const shelteredFromRain = global.TarinaiRainShelterSystem?.isSheltered?.(t.world, t.x, t.y, t) || false;
if (!shelteredFromRain) {
t.energy += dt * 0.018;
applyNeedRelief(t, { health: -dt * 1, safety: -dt * 1 });
@ -222,6 +224,7 @@
if (t.freezeSleepDiseaseMotion(dt)) {
t.checkLife(dt);
if (!t.dead) t._achievementLaxativeActiveThisFrame = false;
return { done: true };
}
return { done: false };