mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Overhauled text translations
This commit is contained in:
@@ -15,7 +15,7 @@ module GameData
|
||||
"SectionName" => [:id, "u"],
|
||||
"Name" => [:real_name, "s"],
|
||||
"Filename" => [:filename, "s"],
|
||||
"Point" => [:point, "^uussUUUU"],
|
||||
"Point" => [:point, "^uusSUUUU"],
|
||||
"Flags" => [:flags, "*s"]
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ module GameData
|
||||
|
||||
# @return [String] the translated name of this region
|
||||
def name
|
||||
return pbGetMessage(MessageTypes::RegionNames, @id)
|
||||
return pbGetMessageFromHash(MessageTypes::Regions, @real_name)
|
||||
end
|
||||
|
||||
def has_flag?(flag)
|
||||
|
||||
Reference in New Issue
Block a user