Update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
modify 'reward="!num' '*4' '**/Missions.xml'
|
||||
modify 'maxstacksize="!num' '*2' '**/containers.xml' '**/tools.xml'
|
||||
modify 'capacity="!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'
|
7
scratch.lua
Normal file
7
scratch.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
capacity = 17
|
||||
slotsperrow = 0
|
||||
|
||||
print(math.sqrt(capacity))
|
||||
|
||||
|
||||
print(slotsperrow)
|
Reference in New Issue
Block a user