Module:Torneko 1 Trap Data Cell: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
(Created page with "-------------------------------------------------------------------------------- -- -- Module:Torneko 1 Trap Data Cell -- -- This module covers a list of traps in Japanese present in -- Torneko's Great Adventure: Mystery Dungeon. -- -- Parameters -- -- name: Insert the trap's English name there. -- -------------------------------------------------------------------------------- p = {} function p.torneko1TrapDataCell(f) -- Gets the arguments from #invoke:Torneko 1...")
 
No edit summary
 
Line 12: Line 12:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p = {}
return {
 
["Acid Trap"] = { ["ja"] = "硫酸" },
function p.torneko1TrapDataCell(f)
["Arrow Trap"] = { ["ja"] = "矢" },
-- Gets the arguments from #invoke:Torneko 1 Trap Data Cell|torneko1TrapDataCell
["Bear Trap"] = { ["ja"] = "トラばさみ" },
local args = f.args
["Gas Trap"] = { ["ja"] = "睡眠ガス" },
 
["Mine Trap"] = { ["ja"] = "地雷" },
-- List of every trap's Japanese names
["Pitfall Trap"] = { ["ja"] = "落とし穴" },
local list = {
["Poison Arrow Trap"] = { ["ja"] = "毒矢" },
["Acid Trap"] = "硫酸",
["Rock Trap"] = { ["ja"] = "石ころ" },
["Arrow Trap"] = "矢",
["Warp Pad"] = { ["ja"] = "ワープゾーン" }
["Bear Trap"] = "トラばさみ",
}
["Gas Trap"] = "睡眠ガス",
["Mine Trap"] = "地雷",
["Pitfall Trap"] = "落とし穴",
["Poison Arrow Trap"] = "毒矢",
["Rock Trap"] = "石ころ",
["Warp Pad"] = "ワープゾーン"
}
 
-- Returns the selected trap's Japanese name
return list[args.name]
end
 
return p

Latest revision as of 21:17, 15 July 2024

Documentation for this module may be created at Module:Torneko 1 Trap Data Cell/doc

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

return {
	["Acid Trap"] = { ["ja"] = "硫酸" },
	["Arrow Trap"] = { ["ja"] = "矢" },
	["Bear Trap"] = { ["ja"] = "トラばさみ" },
	["Gas Trap"] = { ["ja"] = "睡眠ガス" },
	["Mine Trap"] = { ["ja"] = "地雷" },
	["Pitfall Trap"] = { ["ja"] = "落とし穴" },
	["Poison Arrow Trap"] = { ["ja"] = "毒矢" },
	["Rock Trap"] = { ["ja"] = "石ころ" },
	["Warp Pad"] = { ["ja"] = "ワープゾーン" }
}