Module:Monster/config/sandbox
< Module:Monster | config

This is the module sandbox page for Module:Monster/config (diff).
This is the configuration file for Module:Monster. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Monster/config/doc.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Monster
--
-------------------------------------------------------------------------------
local m_util = require('Module:Util')
local m_game = mw.loadData('Module:Game')
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.categories = {
data = 'Monster data',
boss = 'Boss',
}
cfg.i18n.tooltips = {
name = 'Name',
rarity = 'Rarity',
experience_multiplier = 'Base Experience Multiplier',
health_multiplier = 'Base Health Multiplier',
damage_multiplier = 'Base Damage Multiplier',
attack_speed = 'Base Attack Speed',
critical_strike_chance = 'Base Critical Strike Chance',
minimum_attack_distance = 'Minimum Attack Distance',
maximum_attack_distance = 'Maximum Attack Distance',
difficulty = 'Act',
resistances = 'Resistances',
part1 = '[[Act 1|1]]-[[Act 5|5]]',
part2 = '[[Act 5|5]]-[[Act 10|10]]',
maps = '[[Act 10|10]]-',
fire = m_game.constants.damage_types.fire.short_upper,
cold = m_game.constants.damage_types.cold.short_upper,
lightning = m_game.constants.damage_types.lightning.short_upper,
chaos = m_game.constants.damage_types.chaos.short_upper,
stat_text = 'Effects from modifiers',
size = 'Object size',
model_size_multiplier = 'Model size multiplier',
tags = 'Internal tags',
metadata_id = 'Metadata id',
monster_type_id = 'Monster type id',
area = 'Area',
monster_level = 'Level',
skills = 'Skills',
life = 'Life',
damage = 'Damage',
aps = 'Attacks per second',
critical_strike_chance_total = 'Critical strike chance',
armour = 'Armour rating',
evasion = 'Evasion rating',
accuracy = 'Accuracy rating',
experience = 'Experience',
summon_life = 'Summon life',
monster_data = 'Monster data',
}
cfg.i18n.intro = {
text_with_name = "'''%s''' is the internal id for the [[%s|%s]] [[monster]]. ",
text_without_name = "'''%s''' is the internal id of an unnamed [[monster]]. ",
}
cfg.i18n.errors = {
invalid_rarity_id = 'The rarity id "%s" is invalid. Acceptable values are "normal", "magic", "rare" and "unique".',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
monster = {
'Template:Monster',
},
}
return cfg