Hopefully do a better job with the wrenches and flashlights

This commit is contained in:
2025-03-28 23:01:04 +01:00
parent f478b998c1
commit c8842e0fa1

View File

@@ -17,14 +17,17 @@
- "Content/Items/**/*.xml"
- name: containerscontainable
regex: (?-s)Containable!anyitems="([^"]+)"
# Just to be safe... Probably not needed though...
isolate: true
regex: capacity="(?<capacity>!num).{0,200}?Containable.{0,50}?items="([^"]+)"
lua: |
-- If we fuck with the diving gear the game fucking explodes
-- Thinking we don't have oxygen tanks and killing us
if file:find("divinggear.xml") then return false end
if file:find("tools.xml") then return false end
if file:find("weapons.xml") then return false end
if capacity == 1 then return false end
print(s1)
local gurantee = {"ammobox", "deepdiving", "smallitem", "mediumitem", "largeitem"}
local has = {}