Module:LocalizationData: Difference between revisions
From Eco - English Wiki
| [checked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
return { | return { | ||
msgs = { | msgs = { | ||
['Carried in'] = {'Carried in'}, | |||
['Crafting'] = {'Crafting'}, | ['Crafting'] = {'Crafting'}, | ||
['Description'] = {'Description'}, | ['Description'] = {'Description'}, | ||
| Line 6: | Line 7: | ||
['Energy Type'] = {'Energy Type'}, | ['Energy Type'] = {'Energy Type'}, | ||
['Energy Used'] = {'Energy Used'}, | ['Energy Used'] = {'Energy Used'}, | ||
['General'] = {'General'}, | |||
['Housing'] = {'Housing'}, | ['Housing'] = {'Housing'}, | ||
['ID'] = {'ID', 'IDs'}, | ['ID'] = {'ID', 'IDs'}, | ||
| Line 14: | Line 16: | ||
['Room Material'] = {'Room Material', 'Room Materials'}, | ['Room Material'] = {'Room Material', 'Room Materials'}, | ||
['Tag'] = {'Tag', 'Tags'}, | ['Tag'] = {'Tag', 'Tags'}, | ||
['Weight'] = {'Weight'}, | |||
['World Object'] = {'World Object'}, | ['World Object'] = {'World Object'}, | ||
} | } | ||
} | } | ||
Revision as of 20:19, 28 February 2021
ATTENTION! Data files are generated using game data and are not intended for manual editing.
Warning about use
To prevent multiple call of data array, you must use the function: local LocalizationData = mw.loadData("Module:LocalizationData")
return {
msgs = {
['Carried in'] = {'Carried in'},
['Crafting'] = {'Crafting'},
['Description'] = {'Description'},
['Energy Produced'] = {'Energy Produced'},
['Energy Type'] = {'Energy Type'},
['Energy Used'] = {'Energy Used'},
['General'] = {'General'},
['Housing'] = {'Housing'},
['ID'] = {'ID', 'IDs'},
['Item'] = {'Item', 'Items'},
['Level'] = {'Level'},
['Placement'] = {'Placement'},
['Power'] = {'Power'},
['Room Material'] = {'Room Material', 'Room Materials'},
['Tag'] = {'Tag', 'Tags'},
['Weight'] = {'Weight'},
['World Object'] = {'World Object'},
}
}