Module:Shiren 6 Monster Data Cell: Difference between revisions
Jump to navigation
Jump to search
(Created page with "---------------------------------------------------------------------------------------------------- -- -- Module:Shiren 6 Monster Data Cell -- -- This module covers a list of monsters in Japanese, their levels, and the amount of experience -- points they drop present in -- Mystery Dungeon: Shiren the Wanderer 6 - Coil Island Exploration Record. -- -- Parameters -- -- name: Insert the monster's English name there. -- getVar: Picks w...") |
mNo edit summary |
||
Line 20: | Line 20: | ||
function p.shiren6MonsterDataCell(f) | function p.shiren6MonsterDataCell(f) | ||
-- Gets the arguments from #invoke:Shiren 6 Monster Data Cell| | -- Gets the arguments from #invoke:Shiren 6 Monster Data Cell|shiren6MonsterDataCell | ||
local args = f.args | local args = f.args | ||
Revision as of 18:54, 21 September 2023
Documentation for this module may be created at Module:Shiren 6 Monster Data Cell/doc
----------------------------------------------------------------------------------------------------
--
-- Module:Shiren 6 Monster Data Cell
--
-- This module covers a list of monsters in Japanese, their levels, and the amount of experience
-- points they drop present in
-- Mystery Dungeon: Shiren the Wanderer 6 - Coil Island Exploration Record.
--
-- Parameters
--
-- name: Insert the monster's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the monster's Japanese name.
-- * lv: Returns the monster's level.
-- * exp: Returns the monster's experience points.
--
----------------------------------------------------------------------------------------------------
p = {}
function p.shiren6MonsterDataCell(f)
-- Gets the arguments from #invoke:Shiren 6 Monster Data Cell|shiren6MonsterDataCell
local args = f.args
-- List of every monster's Japanese names, levels, and experience points
local list = {
[""] = {["ja"] = "", ["lv"] = "", ["exp"] = ""}
}
-- Returns the selected monster with the object's specified key value
return list[args.name][args.getVar]
end
return p