Closed lethosor closed 3 weeks ago
quick way to test:
gui/teleport
(which should come up)you can see more info about the change in processing by running this before doing the testing:
debugfilter set debug core keybinding
also, to test setArmokTools
:
gui/teleport
hack/docs/docs/tools/gui/teleport.txt
and take armok
out of the tagsgui/teleport
even with mortal mode enabledI was trying to filter out teleport
in gui/launcher
, with no luck. Didn't try loading a fort.
that shouldn't be affected by this change, and should continue to work.
However, I think I see the issue that you might have been running into -- the tag filters in gui/launcher
are not reset when you change the mortal mode config setting in gui/control-panel
. I'll see if I can make that experience a little more smooth.
https://github.com/DFHack/dfhack/assets/977482/b174cbbb-bf78-4b56-b227-9685c482cfaf
That would explain what I was seeing, thanks.
Followup to feedback in #4674.
I verified that
dfhack.internal.setArmokTools()
anddfhack.setMortalMode()
can still be called from thelua
interpreter without deadlocking. I haven't seen meaningful changes occur from calling them, though, so my testing may not be exhaustive.