mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Minor tweaks to compiling item data
This commit is contained in:
@@ -478,6 +478,7 @@ module Compiler
|
||||
end
|
||||
consumable = !([3, 4, 5].include?(line[7]) || line[8] >= 6)
|
||||
line[7] = 1 if line[7] == 5
|
||||
line[7] = 5 if line[7] == 6
|
||||
line[8] -= 5 if line[8] > 5
|
||||
flags = []
|
||||
flags.push(line[9]) if !nil_or_empty?(line[9])
|
||||
|
||||
Reference in New Issue
Block a user