Files
barotrauma-gamefiles/cookother.sh
2025-03-27 17:11:14 +01:00

6 lines
532 B
Bash

modify 'reward="!num' '*4' '**/Missions.xml'
modify 'maxstacksize="!num' '*2' '**/containers.xml' '**/tools.xml'
modify 'capacity="(?<capacity>!num)"!anyslotsperrow="(?<slotsperrow>!num)' 'capacity=capacity*2 slotsperrow=1 while slotsperrow * slotsperrow < capacity do slotsperrow = slotsperrow + 1 end' '**/containers.xml' '**/tools.xml'
modify '(blocks="[^"]+")' 's1=""' '**/TalentTrees.xml'
modify '<TalentOptions(.?)>' 's1=" maxchosentalents=\"5\""' '**/TalentTrees.xml'
modify 'LightComponent!anyrange="(!num)"' '*4' '**/*.xml'