comment out reference to old confirm plugin

develop
Myk Taylor 2024-01-01 20:11:29 -08:00
parent a38d1b0361
commit 4917ae8793
No known key found for this signature in database
1 changed files with 4 additions and 2 deletions

@ -396,8 +396,8 @@ end
function extra_fns.gui_quantum(pos) function extra_fns.gui_quantum(pos)
local vehicles = assign_minecarts.get_free_vehicles() local vehicles = assign_minecarts.get_free_vehicles()
local confirm_state = confirm.isEnabled() --local confirm_state = confirm.isEnabled()
local confirm_conf = confirm.get_conf_data() --local confirm_conf = confirm.get_conf_data()
local routes = df.global.plotinfo.hauling.routes local routes = df.global.plotinfo.hauling.routes
local num_routes = #routes local num_routes = #routes
local next_order_id = df.global.world.manager_order_next_id local next_order_id = df.global.world.manager_order_next_id
@ -411,12 +411,14 @@ function extra_fns.gui_quantum(pos)
item.flags.forbid = false item.flags.forbid = false
end end
--[[
if confirm_state then if confirm_state then
dfhack.run_command('enable confirm') dfhack.run_command('enable confirm')
for _,c in pairs(confirm_conf) do for _,c in pairs(confirm_conf) do
confirm.set_conf_state(c.id, c.enabled) confirm.set_conf_state(c.id, c.enabled)
end end
end end
]]
end, end,
function() function()
-- forbid all available minecarts -- forbid all available minecarts