Module:Shiren 3 Wii Boss Data Cell

MDFW - The Mystery Dungeon Tree of Information.
Revision as of 13:06, 18 February 2023 by Adkuate (talk | contribs) (Created page with "---------------------------------------------------------------------------------------------------- -- -- Module:Shiren 3 Boss Data Cell -- -- This module covers a list of boss in Japanese, their levels, their types, -- and the amount of experience points they drop present in -- Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion. -- -- Parameters -- -- name: Insert the boss' English name there. -- getVar: Picks w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template-info.png Documentation

This template covers a list of boss, their names in Japanese, and their types present in Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion.

In this example, the attribute boss_1 uses this module...

{{#invoke:Shiren 3 Wii Dungeon Bosses table|main
  | boss_1 = Eagle (Johnny)
}}

...and will result in:

ModelBossAttribute
EnglishJapanese
Eagle (Johnny)'s model.Eagle (Johnny)Boss

----------------------------------------------------------------------------------------------------
--
--                                        Module:Shiren 3 Boss Data Cell
--
-- This module covers a list of boss in Japanese, their levels, their types,
-- and the amount of experience points they drop present in
-- Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion.
--
-- Parameters
--
-- name: Insert the boss' English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the boss' Japanese name.
-- * type: Returns the boss' type.
--
----------------------------------------------------------------------------------------------------

p = {}

function p.shiren3BossDataCell(f)
	-- Gets the arguments from #invoke:Shiren 3 Boss Data Cell|shiren3BossDataCell
	local args = f.args

	-- List of every boss' Japanese names and types
	local list = {
		["Centipede"] = {["ja"] = "大ムカデ", ["type"] = "Boss"},
	}

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

return p