Module:Shiren 1 DS Trap Data Cell: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 43: Line 43:
["Stairway Trap"] = "階段のワナ",
["Stairway Trap"] = "階段のワナ",
["Stumble Trap"] = "転び石のワナ",
["Stumble Trap"] = "転び石のワナ",
["Summon Trap"] = "召喚スイッチのワナ",
["Summons Trap"] = "召喚スイッチのワナ",
["Unequip Trap"] = "装備はずしのワナ",
["Unequip Trap"] = "装備はずしのワナ",
["Wood Arrow Trap"] = "木の矢のワナ"
["Wood Arrow Trap"] = "木の矢のワナ"

Revision as of 22:15, 24 June 2024

Template-info.png Documentation

This template covers a list of traps and their names in Japanese present in Mystery Dungeon: Shiren the Wanderer for use only in table Templates.

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

{{#invoke:Shiren 1 DS Dungeon Traps table|main
  | trap_1   = Wood Arrow Trap
  | floors_1 = 5
}}

...and will result in:

SpriteTrapFloors
EnglishJapanese
Wood Arrow Trap's sprite.Wood Arrow Trap5

----------------------------------------------------------------------------------------------------
--
--                                        Module:Shiren 1 Trap Data Cell
--
-- This module covers a list of traps in Japanese present in Mystery Dungeon: Shiren the Wanderer.
--
-- Parameters
--
-- name: Insert the trap's English name there.
--
----------------------------------------------------------------------------------------------------

p = {}

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

	-- List of every trap's Japanese names
	local list = {
		["Alarm Trap"] = "警報スイッチのワナ",
		["Big Landmine Trap"] = "大型地雷のワナ",
		["Boulder Trap"] = "落石スイッチのワナ",
		["Curse Trap"] = "呪いのワナ",
		["Dream Gas Trap"] = "幻覚ガス",
		["Hunger Trap"] = "空腹スイッチのワナ",
		["Immobilization Trap"] = "カゲぬいのワナ",
		["Iron Arrow Trap"] = "鉄の矢のワナ",
		["Knockback Trap"] = "ふき飛ばし",
		["Landmine Trap"] = "地雷のワナ",
		["Log Trap"] = "丸太のワナ",
		["Multiplication Trap"] = "罠増え",
		["One-Way Trap"] = "一方通行",
		["Pitfall Trap"] = "落し穴のワナ",
		["Poison Dart Trap"] = "毒矢のワナ",
		["Riceball Trap"] = "おにぎり",
		["Rotten Trap"] = "デロデロのワナ",
		["Rusty Trap"] = "サビのワナ",
		["Sleeping Gas Trap"] = "睡眠ガス",
		["Slowness Trap"] = "鈍足スイッチ",
		["Spinning Trap"] = "回転板のワナ",
		["Spring Trap"] = "バネのワナ",
		["Stairway Trap"] = "階段のワナ",
		["Stumble Trap"] = "転び石のワナ",
		["Summons Trap"] = "召喚スイッチのワナ",
		["Unequip Trap"] = "装備はずしのワナ",
		["Wood Arrow Trap"] = "木の矢のワナ"
	}

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

return p