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.
This commit is contained in:
2025-01-14 05:07:53 -05:00
parent 85c665b107
commit 376b4b9689
21217 changed files with 546254 additions and 0 deletions
@@ -0,0 +1,32 @@
--[[
=====================================================================
Addon : Tosox Mini Mods Repo: Arena Loadout contains Knife
Link : https://www.moddb.com/mods/stalker-anomaly/addons/tosox-mini-mods-repo/
Author : Tosox
Credits : Jhon_Doe
Date : 26.01.2024
Last Edit : 26.01.2024
=====================================================================
--]]
KNIFE = "wpn_knife"
orig_xr_effects_bar_arena_teleport = xr_effects.bar_arena_teleport
xr_effects.bar_arena_teleport = function(...)
orig_xr_effects_bar_arena_teleport(...)
CreateTimeEvent("arena_loadout_contains_knife", "check_if_already_has_knife", 0.25, function()
local has_knife = false
db.actor:iterate_inventory(function(actor, itm)
if (not has_knife) and (IsMelee(itm)) then
has_knife = true
end
end, db.actor)
if not has_knife then
alife_create_item(KNIFE, db.actor)
end
return true
end)
end