dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

allow dfhack.item.moveToGround to affect building clutter

Open Tachytaenius opened this issue 3 years ago • 2 comments

This is because the function detachItem which needs to return true for moveToGround will return false when an item has anbuilding holder general ref. Also, do all specific refs really need to prevent detachItem...? It seems prohibitive (at the very least is giving me modding troubles lol (but if there's a good reason then I'll of course just work around it))

Tachytaenius avatar Mar 21 '22 12:03 Tachytaenius

Also see https://github.com/DFHack/dfhack/issues/1807#issuecomment-925252295 and https://github.com/DFHack/dfhack/issues/877

myk002 avatar Mar 21 '22 13:03 myk002

It's likely that specific refs just weren't sufficiently understood by the author and are unhandled. It might be possible to implement, though. Is there a reference somewhere for how specific refs work and what the implications would be for removing (or ignoring) them in this function?

myk002 avatar Mar 21 '22 14:03 myk002

Can be closed due to #4319

Bumber64 avatar Mar 17 '24 03:03 Bumber64