Added Some Mods; Updated Starting Loadout

This commit is contained in:
2024-03-20 02:23:24 -04:00
parent 57e0746fe6
commit 7f0caa168b
496 changed files with 52772 additions and 125 deletions
@@ -0,0 +1,13 @@
VanillaCosmetics = death_manager.spawn_cosmetics
function death_manager.spawn_cosmetics(npc, npc_id, npc_comm, npc_rank, visual, rand_condition)
VanillaCosmetics(npc, npc_id, npc_comm, npc_rank, visual, rand_condition)
-- backpacks
local viz = visual or npc:get_visual_name()
local tbl = viz and death_manager.get_outfit_by_npc_visual(viz)
if not tbl then return end
local bp_sec = tbl[3] or tbl[2]
if not (bp_sec and IsItem("backpack", bp_sec)) then return end
death_manager.spawn_with_condition(npc, bp_sec, 0.99999)
end