Module:Shiren 6 Monster Data Cell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
-- List of every monster's Japanese names, levels, and experience points | -- List of every monster's Japanese names, levels, and experience points | ||
local list = { | local list = { | ||
[""] = {["ja"] = " | [""] = {["ja"] = "", ["exp"] = ""} | ||
} | } | ||
Revision as of 04:24, 20 October 2024
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 Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island.
--
-- 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"] = "", ["exp"] = ""}
}
-- Returns the selected monster with the object's specified key value
return list[args.name][args.getVar]
end
return p