Module:Rescue Team DX Trap Data Cell

MDFW - The Mystery Dungeon Tree of Information.
Revision as of 23:15, 9 February 2024 by Adkuate (talk | contribs)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Rescue Team DX Trap Data Cell/doc

--------------------------------------------------------------------------------
--
--						Module:Rescue Team DX Trap Data Cell
--
-- This module covers a list of traps in Japanese present in
-- Pokémon Mystery Dungeon: Rescue Team DX.
--
-- Parameters
--
-- name: Insert the trap's English name there.
--
--------------------------------------------------------------------------------

p = {}

function p.rescueTeamDXTrapDataCell(f)
	-- Gets the arguments from #invoke:Rescue Team DX Trap Data Cell|rescueTeamDXTrapDataCell
	local args = f.args

	-- List of every trap's Japanese names
	local list = {
		["Apple Trap"] = "リンゴのワナ",
		["Big Blast Trap"] = "だいばくはのワナ",
		["Blast Trap"] = "ばくはのワナ",
		["Grimy Trap"] = "ベトベタのワナ",
		["Grudge Trap"] = "おんねんのワナ",
		["Gust Trap"] = "とっぷうのワナ",
		["Hunger Trap"] = "はらへりのワナ",
		["Mud Trap"] = "どろのワナ",
		["Poison Trap"] = "どくばりのワナ",
		["Pokémon Trap"] = "ポケモンのワナ",
		["PP Leech Trap"] = "わざへりのワナ",
		["Random Trap"] = "ゆびふりのワナ",
		["Seal Trap"] = "ふういんのワナ",
		["Slow Trap"] = "どんそくのワナ",
		["Slumber Trap"] = "すいみんのワナ",
		["Sparkling Floor"] = "キラキラゆか",
		["Spikes"] = "まきびし",
		["Spiky Trap"] = "トゲトゲのワナ",
		["Spin Trap"] = "ぐるぐるのワナ",
		["Stealth Rock"] = "ステルスロック",
		["Sticky Trap"] = "くっつきのワナ",
		["Summon Trap"] = "よびよせのワナ",
		["Toxic Spikes"] = "どくびし",
		["Training Switch"] = "たんれんスイッチ",
		["Trip Trap"] = "ころばせのワナ",
		["Warp Trap"] = "ワープのワナ",
		["Wonder Tile"] = "ふしぎなゆか"
	}

	-- Returns the selected trap's Japanese name
	return list[args.name]
end

return p