rr
This commit is contained in:
parent
2636d580a8
commit
d14550dad6
78 changed files with 2827 additions and 563 deletions
|
|
@ -151,7 +151,7 @@ function updateFirecracker(item, dt, worldRef) {
|
|||
box.nestFireEvacuated = false;
|
||||
box.flameWaterCooldown = 0;
|
||||
box.nestFireEffectCooldown = 0;
|
||||
worldRef?.log?.("巣箱に火が燃え移った。", "danger");
|
||||
worldRef?.log?.("\u5de3\u7bb1\u306b\u706b\u304c\u71c3\u3048\u79fb\u3063\u305f\u3002", "danger");
|
||||
worldRef?.effects?.push(new Effect("ring", box.x, box.y, { size: nestBoxFireRadius(box) * 1.35, life: 0.30, color: "rgba(255,122,48,0.56)" }));
|
||||
}
|
||||
worldRef?.markTerrainDirtyAt?.(box.x, box.y, nestBoxFireRadius(box) + 18, "nest-box-fire");
|
||||
|
|
@ -198,7 +198,7 @@ function updateFirecracker(item, dt, worldRef) {
|
|||
count += 1;
|
||||
}
|
||||
if (count) {
|
||||
worldRef.log?.(`炎上した巣箱から${count}匹のたりないが追い出された。`, "danger", { participants: occupants });
|
||||
worldRef.log?.(`\u708e\u4e0a\u3057\u305f\u5de3\u7bb1\u304b\u3089${count}\u5339\u306e\u305f\u308a\u306a\u3044\u304c\u8ffd\u3044\u51fa\u3055\u308c\u305f\u3002`, "danger", { participants: occupants });
|
||||
worldRef.effects?.push(new Effect("ring", box.x, box.y, { size: nestBoxFireRadius(box) * 1.55, life: 0.32, color: "rgba(255,92,38,0.58)" }));
|
||||
worldRef.markSpatialDirty?.(reason);
|
||||
worldRef.drawListDirty = true;
|
||||
|
|
@ -222,7 +222,7 @@ function updateFirecracker(item, dt, worldRef) {
|
|||
box.hp = 0;
|
||||
box.dead = true;
|
||||
}
|
||||
worldRef?.log?.("巣箱が焼失した。", "danger");
|
||||
worldRef?.log?.("\u5de3\u7bb1\u304c\u713c\u5931\u3057\u305f\u3002", "danger");
|
||||
worldRef?.effects?.push(new Effect("ring", box.x, box.y, { size: nestBoxFireRadius(box) * 1.45, life: 0.34, color: "rgba(90,54,38,0.58)" }));
|
||||
worldRef?.markTerrainDirtyAt?.(box.x, box.y, nestBoxFireRadius(box) + 18, "nest-box-burnout");
|
||||
worldRef?.markItemBucketsDirty?.("nest-box-burnout");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue