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
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
--
--                                       Module:Shiren 1 Trap Data Cell
-- Module:Shiren 1 DS Trap Data Cell
--
--
-- This module covers a list of traps in Japanese present in Mystery Dungeon: Shiren the Wanderer.
-- This module covers a list of traps in Japanese present in
-- Mystery Dungeon: Shiren the Wanderer.
--
--
-- Parameters
-- Parameters
Line 9: Line 10:
-- name: Insert the trap's English name there.
-- name: Insert the trap's English name there.
--
--
----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------


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

Latest revision as of 20:08, 12 October 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 Trap木の矢のワナ5

--------------------------------------------------------------------------------
--
--						Module:Shiren 1 DS 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.
--
--------------------------------------------------------------------------------

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