Module:Shiren 1 DS Trap Data Cell: Difference between revisions
Jump to navigation
Jump to search
(Created page with "---------------------------------------------------------------------------------------------------- -- -- Module:Shiren 1 Trap Data Cel...") |
mNo edit summary |
||
Line 13: | Line 13: | ||
p = {} | p = {} | ||
function p. | function p.shiren1TrapDataCell(f) | ||
-- Gets the arguments from #invoke:Shiren 1 Trap Data Cell|shiren1TrapDataCell | -- Gets the arguments from #invoke:Shiren 1 Trap Data Cell|shiren1TrapDataCell | ||
local args = f.args | local args = f.args |
Revision as of 18:00, 17 November 2022
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:
Sprite | Trap | Floors | |
---|---|---|---|
English | Japanese | ||
![]() | Wood Arrow Trap | 5 |
----------------------------------------------------------------------------------------------------
--
-- 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"] = "転び石のワナ",
["Summon Trap"] = "召喚スイッチのワナ",
["Unequip Trap"] = "装備はずしのワナ",
["Wood Arrow Trap"] = "木の矢のワナ"
}
-- Returns the selected trap's Japanese name
return list[args.name]
end
return p