dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Convert starvingdead from ruby to lua

Open quarque2 opened this issue 3 years ago • 1 comments

See #2081. This issue is for the subtask of converting the starvingdead script.

As discussed in Discord, I would like to suggest a small change in the way in functions, as well. Instead of removing an undead after a fixed time of 6 months, remove it after its physical attributes fall below a certain threshold. That way, stronger undead persist for longer.

quarque2 avatar Jun 24 '22 22:06 quarque2

Your suggested improvements sound good!

myk002 avatar Jun 29 '22 01:06 myk002

@quarque2 do you have time to implement this? We're intending to turn Ruby down with the next DFHack release.

myk002 avatar Dec 18 '22 13:12 myk002

The script was ported in https://github.com/DFHack/scripts/pull/537, since the script now offers variable decay rates and death thresholds I think it's enough for now. No need to rewrite the logic.

vallode avatar Jan 25 '23 20:01 vallode