- name: containers regex: '(?-s)capacity="(?!num)"(?:!anyslotsperrow="(?!num))?' lua: | if file:find("fabricators.xml") then return false end if capacity == 1 then return false end capacity=round(capacity*2.2) if not slotsperrow then return true end slotsperrow=1 while slotsperrow * slotsperrow < capacity do slotsperrow = slotsperrow + 1 end files: - "**/*.xml" - name: containerscontainable regex: (?-s)Containable!anyitems="([^"]+)" 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 local gurantee = {"ammobox", "deepdiving", "smallitem", "mediumitem", "largeitem"} local has = {} local items = strsplit(s1, ",") for i, item in pairs(items) do for _, g in pairs(gurantee) do if string.find(item, g) then has[g] = true end end end for _, g in pairs(gurantee) do if not has[g] then s1 = s1 .. "," .. g end end files: - "**/*.xml" - name: excludeditems regex: ) lua: | local talentOptions = 0 local lines = strsplit(s1, "\n") for i, line in pairs(lines) do if string.find(line, "(!any) lua: | -- group by job local subtrees = {} local lines = strsplit(s1, "\n") local cookedlines = {} local isInSubtree = false local currentjob = nil for i, line in pairs(lines) do if line:match(" 1 then v1 = 1 end files: - "**/*.xml" - name: itembonanzaminamount regex: (?-s)(?i)