Module:Rescue Team Boss 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 60: Line 60:
["Shiftry"] = { ["ja"] = "ダーテング", ["type1"] = "Grass", ["type2"] = "Dark", ["move1"] = "Harden", ["move2"] = "Nature Power", ["move3"] = "Growth", ["move4"] = "Pound", ["recruit"] = "-30.0%" },
["Shiftry"] = { ["ja"] = "ダーテング", ["type1"] = "Grass", ["type2"] = "Dark", ["move1"] = "Harden", ["move2"] = "Nature Power", ["move3"] = "Growth", ["move4"] = "Pound", ["recruit"] = "-30.0%" },
["Graveler"] = { ["ja"] = "コノハナ", ["type1"] = "Rock", ["type2"] = "Ground", ["move1"] = "Rock Throw", ["move2"] = "Tackle", ["move3"] = "Mud Sport", ["move4"] = "Selfdestruct", ["recruit"] = "-19.0%" },
["Graveler"] = { ["ja"] = "コノハナ", ["type1"] = "Rock", ["type2"] = "Ground", ["move1"] = "Rock Throw", ["move2"] = "Tackle", ["move3"] = "Mud Sport", ["move4"] = "Selfdestruct", ["recruit"] = "-19.0%" },
["Golem"] = { ["ja"] = "ダーテング", ["type1"] = "Rock", ["type2"] = "Ground", ["move1"] = "Defense Curl", ["move2"] = "Mud Sport", ["move3"] = "Tackle", ["move4"] = "Rock Throw", ["recruit"] = "-30.0%" }
["Golem"] = { ["ja"] = "ダーテング", ["type1"] = "Rock", ["type2"] = "Ground", ["move1"] = "Defense Curl", ["move2"] = "Mud Sport", ["move3"] = "Tackle", ["move4"] = "Rock Throw", ["recruit"] = "-30.0%" },
["Blastoise"] = { ["ja"] = "カメックス", ["type1"] = "Water", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-33.9%" },
["Feraligatr"] = { ["ja"] = "オーダイル", ["type1"] = "Water", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "",["recruit"] = "-33.9%" },
["Swampert"] = { ["ja"] = "ラグラージ", ["type1"] = "Water", ["type2"] = "Ground", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-33.9%" },
["Tentacruel"] = { ["ja"] = "ドククラゲ", ["type1"] = "Water", ["type2"] = "Poison", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-30.0%" },
["Octillery"] = { ["ja"] = "オクタン", ["type1"] = "Water", ["type2"] = "Poison", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-30.0%" },
["Cradily"] = { ["ja"] = "ユレイドル", ["type1"] = "Water", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-30.0%" }
}
}



Revision as of 17:42, 26 August 2023

Documentation for this module may be created at Module:Rescue Team Boss Data Cell/doc

--------------------------------------------------------------------------------
--
--                     Module:Rescue Team Boss Data Cell
--
-- This module covers a list of bosses in Japanese, their types and their moves
-- present in Pokémon Mystery Dungeon: Rescue Team.
--
-- Parameters
--
-- name: Insert the Pokémon's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the Pokémon's Japanese name.
-- * type1: Returns the Pokémon's first type.
-- * type2: Returns the Pokémon's second type.
-- * move<n>: Returns the Pokémon's numbered move (up to 9).
-- * recruit: Returns the Pokémon's recruit chance.
--
--------------------------------------------------------------------------------

p = {}

function p.rescueTeamBossDataCell(f)
	-- Gets the arguments from #invoke:Rescue Team Boss Data Cell|rescueTeamBossDataCell
	local args = f.args

	-- List of every boss's Japanese names, types, moves, and recruit chances
	local list = {
		-- Main story
		["Skarmory"] = { ["ja"] = "エアームド", ["type1"] = "Steel", ["type2"] = "Flying", ["move1"] = "Sand-Attack", ["move2"] = "Peck", ["move3"] = "Leer" },
		["Gengar"] = { ["ja"] = "ゲンガー", ["type1"] = "Ghost", ["type2"] = "Poison", ["move1"] = "Curse", ["move2"] = "Lick", ["move3"] = "Spite", ["move4"] = "Hypnosis" },
		["Ekans"] = { ["ja"] = "アーボ", ["type1"] = "Poison", ["move1"] = "Bite", ["move2"] = "Wrap", ["move3"] = "Leer", ["move4"] = "Poison Sting" },
		["Medicham"] = { ["ja"] = "チャーレム", ["type1"] = "Fighting", ["type2"] = "Psychic", ["move1"] = "Ice Punch", ["move2"] = "Thunderpunch", ["move3"] = "Detect", ["move4"] = "Confusion" },
		["Zapdos"] = { ["ja"] = "サンダー", ["type1"] = "Electric", ["type2"] = "Flying", ["move1"] = "Agility", ["move2"] = "Peck", ["move3"] = "Thundershock", ["move4"] = "Thunder Wave" },
		["Mankey Gang"] = { ["ja"] = "マンキー", ["type1"] = "Fighting", ["move1"] = "Karate Chop", ["move2"] = "Low Kick", ["move3"] = "Leer", ["move4"] = "Scratch" },
		["Moltres"] = { ["ja"] = "ファイヤー", ["type1"] = "Fire", ["type2"] = "Flying", ["move1"] = "Agility", ["move2"] = "Wing Attack", ["move3"] = "Ember", ["move4"] = "Fire Spin" },
		["Articuno"] = { ["ja"] = "フリーザー", ["type1"] = "Ice", ["type2"] = "Flying", ["move1"] = "Gust", ["move2"] = "Agility", ["move3"] = "Powder Snow", ["move4"] = "Mist" },
		["Groudon"] = { ["ja"] = "グラードン", ["type1"] = "Ground", ["move1"] = "Slash", ["move2"] = "Ancientpower", ["move3"] = "Scary Face", ["move4"] = "Mud Shot" },
		["Rayquaza"] = { ["ja"] = "レックウザ", ["type1"] = "Dragon", ["type2"] = "Flying", ["move1"] = "Crunch", ["move2"] = "Ancientpower", ["move3"] = "Scary Face", ["move4"] = "Twister", ["move5"] = "Dragon Claw", ["move6"] = "Dragon Dance" },
		-- Post-credits
		["Zapdos (boss - post-credits)"] = { ["ja"] = "サンダー", ["type1"] = "Electric", ["type2"] = "Flying", ["move1"] = "Thundershock", ["move2"] = "Detect", ["move3"] = "Drill Peck", ["move4"] = "Thunder", ["recruit"] = "30.0%" },
		["Moltres (boss - post-credits)"] = { ["ja"] = "ファイヤー", ["type1"] = "Fire", ["type2"] = "Flying", ["move1"] = "Flamethrower", ["move2"] = "Agility", ["move3"] = "Endure", ["move4"] = "Wing Attack", ["move5"] = "Ember", ["move6"] = "Fire Spin", ["recruit"] = "30.0%" },
		["Articuno (boss - post-credits)"] = { ["ja"] = "フリーザー", ["type1"] = "Ice", ["type2"] = "Flying", ["move1"] = "Gust", ["move2"] = "Agility", ["move3"] = "Mind Reader", ["move4"] = "Powder Snow", ["move5"] = "Mist", ["move6"] = "Ice Beam", ["recruit"] = "30.0%" },
		["Groudon (boss - post-credits)"] = { ["ja"] = "グラードン", ["type1"] = "Ground", ["move1"] = "Slash", ["move2"] = "Ancientpower", ["move3"] = "Scary Face", ["move4"] = "Earthquake", ["move5"] = "Bulk Up", ["move6"] = "Mud Shot", ["recruit"] = "-10.0%" },
		["Rayquaza (boss - post-credits)"] = { ["ja"] = "レックウザ", ["type1"] = "Dragon", ["type2"] = "Flying", ["move1"] = "Crunch", ["move2"] = "Ancientpower", ["move3"] = "Scary Face", ["move4"] = "Fly", ["move5"] = "Twister", ["move6"] = "Dragon Claw", ["move7"] = "Dragon Dance", ["recruit"] = "-10.0%" },
		["Deoxys"] = { ["ja"] = "デオキシス", ["type1"] = "Psychic", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-10.0%" },
		["Entei"] = { ["ja"] = "エンテイ", ["type1"] = "Fire", ["move1"] = "Bite", ["move2"] = "Leer", ["move3"] = "Ember", ["move4"] = "Stomp", ["move5"] = "Roar", ["move6"] = "Fire Spin", ["recruit"] = "0.1%" },
		["Ho-Oh"] = { ["ja"] = "ホウオ", ["type1"] = "Fire", ["type2"] = "Flying", ["move1"] = "Gust", ["move2"] = "Recover", ["move3"] = "Safeguard", ["move4"] = "Fire Blast", ["move5"] = "Whirlwind", ["recruit"] = "99.9%" },
		["Jirachi"] = { ["ja"] = "ジラーチ", ["type1"] = "Steel", ["type2"] = "Psychic", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "99.9%" },
		["Kyogre"] = { ["ja"] = "カイオーガ	", ["type1"] = "Water", ["move1"] = "Ancientpower", ["move2"] = "Scary Face", ["move3"] = "Body Slam", ["move4"] = "Water Pulse", ["recruit"] = "50.0%" },
		["Latios"] = { ["ja"] = "ラティオス	", ["type1"] = "Dragon", ["type2"] = "Psychic", ["move1"] = "Memento", ["move2"] = "Psywave", ["move3"] = "Safeguard", ["move4"] = "Helping Hand", ["move5"] = "Protect", ["move6"] = "Refresh", ["move7"] = "Dragonbreath", ["recruit"] = "100%" },
		["Lugia"] = { ["ja"] = "ルギア", ["type1"] = "Psychic", ["type2"] = "Flying", ["move1"] = "Gust", ["move2"] = "Safeguard", ["move3"] = "Amnesia", ["move4"] = "Whirlwind", ["recruit"] = "99.9%" },
		["Mewtwo"] = { ["ja"] = "ミュウツー", ["type1"] = "Psychic", ["move1"] = "Disable", ["move2"] = "Mist", ["move3"] = "Swift", ["move4"] = "Confusion", ["move5"] = "Barrier", ["recruit"] = "99.9%" },
		["Raikou"] = { ["ja"] = "ライコウ", ["type1"] = "Electric", ["move1"] = "Bite", ["move2"] = "Spark", ["move3"] = "Thundershock", ["move4"] = "Quick Attack", ["move5"] = "Leer", ["move6"] = "Roar", ["recruit"] = "0.1%" },
		["Regice"] = { ["ja"] = "レジアイス", ["type1"] = "Ice", ["move1"] = "Icy Wind", ["move2"] = "Explosion", ["move3"] = "Curse", ["recruit"] = "0.1%" },
		["Regirock"] = { ["ja"] = "レジロック", ["type1"] = "Rock", ["move1"] = "Rock Throw", ["move2"] = "Explosion", ["move3"] = "Curse", ["recruit"] = "0.1%" },
		["Registeel"] = { ["ja"] = "レジスチル", ["type1"] = "Steel", ["move1"] = "Explosion", ["move2"] = "Curse", ["move3"] = "Superpower", ["move4"] = "Metal Claw", ["recruit"] = "0.1%" },
		["Suicune"] = { ["ja"] = "スイクン", ["type1"] = "Water", ["move1"] = "Rain Dance", ["move2"] = "Aurora Beam", ["move3"] = "Gust", ["move4"] = "Bite", ["move5"] = "Leer", ["move6"] = "Bubblebeam", ["recruit"] = "0.1%" },
		-- Dojo
		["Nuzleaf"] = { ["ja"] = "コノハナ", ["type1"] = "Grass", ["type2"] = "Dark", ["move1"] = "Pound", ["move2"] = "Growth", ["move3"] = "Harden", ["recruit"] = "-19.0%" },
		["Shiftry"] = { ["ja"] = "ダーテング", ["type1"] = "Grass", ["type2"] = "Dark", ["move1"] = "Harden", ["move2"] = "Nature Power", ["move3"] = "Growth", ["move4"] = "Pound", ["recruit"] = "-30.0%" },
		["Graveler"] = { ["ja"] = "コノハナ", ["type1"] = "Rock", ["type2"] = "Ground", ["move1"] = "Rock Throw", ["move2"] = "Tackle", ["move3"] = "Mud Sport", ["move4"] = "Selfdestruct", ["recruit"] = "-19.0%" },
		["Golem"] = { ["ja"] = "ダーテング", ["type1"] = "Rock", ["type2"] = "Ground", ["move1"] = "Defense Curl", ["move2"] = "Mud Sport", ["move3"] = "Tackle", ["move4"] = "Rock Throw", ["recruit"] = "-30.0%" },
		["Blastoise"] = { ["ja"] = "カメックス", ["type1"] = "Water", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-33.9%" },
		["Feraligatr"] = { ["ja"] = "オーダイル", ["type1"] = "Water", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "",["recruit"] = "-33.9%" },
		["Swampert"] = { ["ja"] = "ラグラージ", ["type1"] = "Water", ["type2"] = "Ground", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-33.9%" },
		["Tentacruel"] = { ["ja"] = "ドククラゲ", ["type1"] = "Water", ["type2"] = "Poison", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-30.0%" },
		["Octillery"] = { ["ja"] = "オクタン", ["type1"] = "Water", ["type2"] = "Poison", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-30.0%" },
		["Cradily"] = { ["ja"] = "ユレイドル", ["type1"] = "Water", ["move1"] = "", ["move2"] = "", ["move3"] = "", ["move4"] = "", ["recruit"] = "-30.0%" }
	}

	-- Returns the selected boss with the object's specified key value
	return list[args.name][args.getVar]
end

return p