Added new section-based format for ribbons.txt

This commit is contained in:
Maruno17
2021-06-20 17:57:35 +01:00
parent e201821919
commit 53d27d3cf5
6 changed files with 470 additions and 107 deletions

View File

@@ -19,7 +19,7 @@ module GameData
def initialize(hash)
@id = hash[:id]
@real_name = hash[:name] || "Unnamed"
@icon_position = hash[:icon_position] || -1 # -1 means "no icon"
@icon_position = hash[:icon_position] || 0
end
# @return [String] the translated name of this body shape