Bay 12 Games Forum
Dwarf Fortress => DF Modding => Utilities and 3rd Party Applications => Topic started by: xzaxza on April 22, 2023, 01:26:04 am
-
Is there a DFHack script or something that could do for work orders what DFHack's `job item-material/item-type` does for jobs?
I tried some basic trickery with df.global.world.manager_orders, like to use only rock nuts for paste. Setting mat_type and mat_index for the order has no effect (at least in 47.05), so I guess it'd need an items vector... but dunno if that'd work, I'll have to give it a try.
-
Pre-v50 we had gui/workorder-details (https://docs.dfhack.org/en/stable/docs/tools/gui/workorder-details.html#gui-workorder-details), but it would need a UI overhaul to work with the new DF interface.
-
Thanks. I'm still at 0.47.05, should this work with it? I receive an error:
./hack/lua/dfhack.lua:759: gui/workshop-job: Cannot be used as a module
DFHack version 0.47.05-r5 (release) on x86_64