Divergent/mods/Weapon Parts Overhaul/gamedata/scripts/clear_jam_mcm.script

24 lines
472 B
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
-- Placeholder for older versions
-- local last_click = nil
-- local function on_key_press(key)
-- local bind = dik_to_bind(key)
-- local tg = time_global()
-- if bind == key_bindings.kUSE then
-- if not last_click then last_click = tg
-- else
-- if tg < last_click + 400 then
-- arti_jamming.unjam()
-- end
-- last_click = nil
-- end
-- end
-- end
-- function on_game_start()
-- RegisterScriptCallback("on_key_press",on_key_press)
-- end