Module:Shiren 3 Wii Trap Data Cell

MDFW - The Mystery Dungeon Tree of Information.
Revision as of 19:39, 24 November 2022 by Adkuate (talk | contribs)
Jump to navigation Jump to search
Template-info.png Documentation

This template covers a list of traps and their names in Japanese present in Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion for use only in table Templates such as Module:Shiren 3 Wii Dungeon Traps table.

In this example, the attribute {{{trap_n|}}} uses this module...

{{#invoke:Shiren 3 Wii Dungeon Traps table|main
  | trap_1  = Acid Rain Trap
  | floor_1 = 2
}}

...and will result in:

ModelTrapFloor(s)
EnglishJapanese
Acid Rain Trap's sprite.Acid Rain Trap[Research required]

----------------------------------------------------------------------------------------------------
--
--                                        Module:Shiren 3 Trap Data Cell
--
-- This module covers a list of traps in Japanese present in
-- Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion.
--
-- Parameters
--
-- name: Insert the trap's English name there.
--
----------------------------------------------------------------------------------------------------

p = {}

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

	-- List of every trap's Japanese names
	local list = {
		["Acid Rain Trap"] = "ケロケロ雨のワナ",
		["Acid Storm Trap"] = "大ケロケロ雨のワナ",
		["Aggressor Trap"] = "イカリのワナ",
		["Berserker Trap"] = "大興奮のワナ",
		["Blinding Trap"] = "目つぶしのワナ",
		["Boulder Trap"] = "落石のワナ",
		["Cave In Trap"] = "大落石のワナ",
		["Claymore Trap"] = "大型地雷のワナ",
		["Curse Trap"] = "呪いのワナ",
		["Dream Gas Trap"] = "大幻覚ガスのワナ",
		["Fool's Trap"] = "割り合わずのワナ",
		["Hallucinator Trap"] = "幻覚ガスのワナ",
		["Hunger Trap"] = "空腹のワナ",
		["Immobilize Trap"] = "カゲぬいのワナ",
		["Iron Ball Trap"] = "鉄球のワナ",
		["Knockback Trap"] = "吹き飛ばしのワナ",
		["Landmine Trap"] = "地雷のワナ",
		["Monster Cure Trap"] = "魔物活性化のワナ",
		["Neutralizer Trap"] = "装備封印のワナ",
		["One Way Trap"] = "吹き永ばしのワナ",
		["Pitfall Trap"] = "落し穴のワナ",
		["Poison Arrow Trap"] = "毒矢のワナ",
		["Riceball Trap"] = "おにぎりのワナ",
		["Rotten Trap"] = "デロデロのワナ",
		["Sleep Gas Trap"] = "大睡眠ガスのワナ",
		["Slowness Trap"] = "鈍足のワナ",
		["Slumber Trap"] = "睡眠ガスのワナ",
		["Spinning Trap"] = "回転板のワナ",
		["Spring Trap"] = "バネのワナ",
		["Stairway Trap"] = "階段のワナ",
		["Stumble Trap"] = "転び石のワナ",
		["Summon Trap"] = "召喚のワナ",
		["Transmogrifier"] = "モンスターのワナ",
		["Trap Multiplier"] = "罠増えのワナ",
		["Unequip Trap"] = "装備はずし",
		["Weaken Trap"] = "弱体化のワナ",
		["Wooden Arrow Trap"] = "木の矢のワナ",
		["Spike Floor"] = "トゲ床",
		["Ice Floor"] = "氷の床",
		["Frozen Waterway"] = "凍った水路",
		["Oil Floor"] = "油の床",
		["Crows Feathers"] = "カラスの羽",
		["Anti-Scroll Square"] = "巻物封じの床",
		["Anti-Staff Square"] = "杖封じの床",
		["Anti-Projectile Square"] = "投てき封じの床",
		["Blue Metal Pole"] = "青い鉄柱",
		["Red Metal Pole"] = "赤い鉄柱"
	}

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

return p