[#12633] Leave sinking wreckage when units die over liquids
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
I have read the contribution guidelines.
I have ensured that my code compiles, if applicable.
I have ensured that any new features in this PR function correctly in-game, if applicable.
Resolves Anuken/Mindustry-Suggestions#5848
Effect.decal() - used for both the land scorch mark and the scattered wreck decals - silently no-ops on liquid tiles, so units dying over water/lava/etc. disappeared without a trace.
Add a water equivalent: the same wreck regions, at the same 3600-tick lifetime as the land decals, tinted with the liquid's color and kept translucent so the water's own motion still reads on top, with occasional ripples for a submerged feel.
https://github.com/user-attachments/assets/8df0b1b6-1255-421f-8001-49306a9efb81
由 MDT GitHub 同步机器人自动同步。