Module:Torneko 1 Monster Data Cell

MDFW - The Mystery Dungeon Tree of Information.
Revision as of 11:13, 28 January 2024 by Adkuate (talk | contribs) (Created page with "---------------------------------------------------------------------------------------------------- -- -- Module:Torneko 1 Monster Data Cell -- -- This module covers a list of monsters in Japanese, their levels, and the amount of experience -- points they drop present in Torneko's Great Adventure: Mystery Dungeon. -- -- Parameters -- -- name: Insert the monster's English name there. -- getVar: Picks which key the module should retu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

----------------------------------------------------------------------------------------------------
--
--                                        Module:Torneko 1 Monster Data Cell
--
-- This module covers a list of monsters in Japanese, their levels, and the amount of experience
-- points they drop present in Torneko's Great Adventure: 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.shiren6MonsterDataCell(f)
	-- Gets the arguments from #invoke:Torneko 1 Monster Data Cell|torneko1MonsterDataCell
	local args = f.args

	-- List of every monster's Japanese names 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