Module:Etrian 1 Monster Data Cell
Jump to navigation
Jump to search
This template covers a list of monsters, their names in Japanese and the amount of experience points they drop present in Etrian Mystery Dungeon for use only in table Templates such as Module:Etrian 1 Dungeon Monsters table.
In this example, the attribute {{{monster_n|}}} uses this module...
{{#invoke:Etrian 1 Dungeon Monsters table|main | monster_1 = Woodfly | floor_1 = 2 }}
...and will result in:
Model | Monsters | Experience | Floors | |
---|---|---|---|---|
English | Japanese | |||
![]() | Woodfly | 2 |
--------------------------------------------------------------------------------
--
-- Module:Etrian 1 Monster Data Cell
--
-- This module covers a list of monsters in Japanese and the amount of
-- experience points they drop present in Etrian Mystery Dungeon.
--
-- Parameters
--
-- name: Insert the monster's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the monster's Japanese name.
-- * exp: Returns the monster's experience points.
--
--------------------------------------------------------------------------------
p = {}
function p.etrian1MonsterDataCell(f)
-- Gets the arguments from #invoke:Etrian 1 Monster Data Cell|etrian1MonsterDataCell
local args = f.args
-- List of every monster's Japanese names and experience points
local list = {
["Woodfly"] = {["ja"] = "", ["exp"] = ""},
}
-- Returns the selected monster with the object's specified key value
return list[args.name][args.getVar]
end
return p