Module:Rescue Team DX Move Data Cell: Difference between revisions
Jump to navigation
Jump to search
(Created page with "-------------------------------------------------------------------------------- -- -- Module:Rescue Team DX Move Data Cell -- -- This module covers a list of moves in Japanese and their types present in -- Pokémon Mystery Dungeon: Rescue Team DX. -- -- Parameters -- -- name: Insert the move's English name there. -- getVar: Picks which key the module should return. -- * ja: Returns the move's Japanese name. -- * type: Returns the move's type. -- ----...") |
mNo edit summary |
||
Line 23: | Line 23: | ||
-- List of every moves' Japanese names and their types | -- List of every moves' Japanese names and their types | ||
local list = { | local list = { | ||
[""] = { ["ja"] = "", ["type"] = "" } | [""] = { ["ja"] = "", ["type"] = "" }, | ||
["Tackle"] = { ["ja"] = "", ["type"] = "Normal" } | |||
} | } | ||
Revision as of 22:04, 10 October 2023
Documentation for this module may be created at Module:Rescue Team DX Move Data Cell/doc
--------------------------------------------------------------------------------
--
-- Module:Rescue Team DX Move Data Cell
--
-- This module covers a list of moves in Japanese and their types present in
-- Pokémon Mystery Dungeon: Rescue Team DX.
--
-- Parameters
--
-- name: Insert the move's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the move's Japanese name.
-- * type: Returns the move's type.
--
--------------------------------------------------------------------------------
p = {}
function p.rescueTeamDXMoveDataCell(f)
-- Gets the arguments from #invoke:Rescue Team DX Move Data Cell|rescueTeamDXMoveDataCell
local args = f.args
-- List of every moves' Japanese names and their types
local list = {
[""] = { ["ja"] = "", ["type"] = "" },
["Tackle"] = { ["ja"] = "", ["type"] = "Normal" }
}
-- Returns the selected move with the object's specified key value
return list[args.name][args.getVar]
end
return p