Files
Divergent/mods/More Melee Features/gamedata/scripts/shovel_god.script
T
Rage 376b4b9689 Added New Mods and Profiles Folders
This is a complete rebuild of the modpack, with all new mods and updates for 1.5.3 of Anomaly.
2025-01-14 05:07:53 -05:00

18 lines
386 B
Plaintext

local from_to = {
["shovel_old"] = "mmf_shovel_old",
["shovel_mili"] = "mmf_shovel_mili"
}
function item_rack(obj)
local sec = obj:section()
local p = obj:parent() or db.actor
if from_to[sec] then
alife_release(obj)
alife_create_item(from_to[sec], p)
end
end
function on_game_start()
RegisterScriptCallback("actor_item_to_ruck",item_rack)
end