Loc
classLocalization data entry
Functions
Loc.new(key, table)
Create new Loc object
| key | string | Localization key |
| table | string | Localization table name |
returns Loc
Loc.get(key, table)
Resolve key value to localized string
| key | string | Localization key |
| table | string | Localization table name |
returns string
Loc.gui_number(value)
Get number as string for GUI (3000 -> 3.0k)
| value | number | Number to format |
returns string
Used by
- LogicExportOption.label field
- LogicExportOption.tooltip field
- LogicImportOption.label field
- LogicImportOption.tooltip field
- QuestObjective.label field
- StaticAchievement.label field
- StaticAchievement.description field
- StaticChapter.label field
- StaticItem.label field
- StaticItem.description_parts field
- StaticItemPanel.label field
- StaticItemPanel.description_parts field
- StaticQuest.label field
- StaticQuest.description_parts field
- StaticQuest.set_objective_label param
- StaticResearch.label field
- StaticResearch.description_parts field
- StaticTip.label field
- StaticTip.description_parts field