Module:Shiren 6 Monster Data Cell: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
--
--
-- This module covers a list of monsters in Japanese, their levels, and the amount of experience
-- This module covers a list of monsters in Japanese, their levels, and the amount of experience
-- points they drop present in
-- points they drop present in Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island.
-- Mystery Dungeon: Shiren the Wanderer 6 - Coil Island Exploration Record.
--
--
-- Parameters
-- Parameters

Revision as of 11:12, 28 January 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"] = "", ["lv"] = "", ["exp"] = ""}
	}

	-- Returns the selected monster with the object's specified key value
	return list[args.name][args.getVar]
end

return p