Module:Save Surala Monster Data Cell: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
(Created page with "-------------------------------------------------------------------------------- -- -- Module:Save Surala Monster Data Cell -- -- This module covers a list of monsters in Japanese, their levels, and the -- amount of experience points they drop present in -- Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion. -- -- Parameters -- -- name: Insert the monster's English name there. -- getVar: Picks which key the module should return. -- *...")
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
--
--                   Module:Save Surala Monster Data Cell
-- Module:Save Surala Monster Data Cell
--
--
-- This module covers a list of monsters in Japanese, their levels, and the
-- This module covers a list of monsters in Japanese, their levels, and the
-- amount of experience points they drop present in
-- amount of experience points they drop present in
-- Shiren the Wanderer 3: The Sleeping Princess and the Karakuri Mansion.
-- Shiren the Wanderer BS: Save Surala.
--
--
-- Parameters
-- Parameters
Line 17: Line 17:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p = {}
return {
 
["Baby Tengu"] = { ["ja"] = "小僧天狗",  ["lv"] = "", ["exp"] = "3" },
function p.saveSuralaMonsterDataCell(f)
["Bowboy"] = { ["ja"] = "ボウヤー",  ["lv"] = "", ["exp"] = "4" },
-- Gets the arguments from #invoke:Save Surala Monster Data Cell|saveSuralaMonsterDataCell
["Curse Girl"] = { ["ja"] = "ノロージョ",  ["lv"] = "", ["exp"] = "40" },
local args = f.args
["Dark Owl"] = { ["ja"] = "やみふくろう",  ["lv"] = "", ["exp"] = "15" },
 
["Dead Soldier"] = { ["ja"] = "ぼうれい武者",  ["lv"] = "", ["exp"] = "10" },
-- List of every monster's Japanese names, levels, and experience points
["Death Reaper"] = { ["ja"] = "死の使い",  ["lv"] = "", ["exp"] = "30" },
local list = {
["Egg Thing"] = { ["ja"] = "ぴーたん",  ["lv"] = "", ["exp"] = "7" },
[""] = {["ja"] = "",  ["lv"] = "", ["exp"] = ""},
["Evil Soldier"] = { ["ja"] = "鬼面武者",  ["lv"] = "", ["exp"] = "15" },
}
["Field Bandit"] = { ["ja"] = "畠荒らし",  ["lv"] = "", ["exp"] = "12" },
 
["Flying Egg"] = { ["ja"] = "飛びぴーたん",  ["lv"] = "", ["exp"] = "150" },
-- Returns the selected monster with the object's specified key value
["Ghost Radish"] = { ["ja"] = "おばけ大根",  ["lv"] = "", ["exp"] = "8" },
return list[args.name][args.getVar]
["Inferno"] = { ["ja"] = "火炎入道",  ["lv"] = "", ["exp"] = "60" },
end
["Mamel"] = { ["ja"] = "マムル",  ["lv"] = "", ["exp"] = "2" },
 
["Mini Robber"] = { ["ja"] = "豆山賊",  ["lv"] = "", ["exp"] = "5" },
return p
["Pacorepkin"] = { ["ja"] = "パコレプキン",  ["lv"] = "", ["exp"] = "30" },
["Pickpocket"] = { ["ja"] = "ガマラ",  ["lv"] = "", ["exp"] = "5" },
["Rice Changer"] = { ["ja"] = "妖怪にぎり変化",  ["lv"] = "", ["exp"] = "10" },
["Skull Mage"] = { ["ja"] = "ガイコツまどう",  ["lv"] = "", ["exp"] = "15" },
["Snaky"] = { ["ja"] = "ハブーン",  ["lv"] = "", ["exp"] = "10" },
["Soldier Ant"] = { ["ja"] = "兵隊アリ",  ["lv"] = "", ["exp"] = "10" },
["Thiefwalrus"] = { ["ja"] = "ぬすっトド",  ["lv"] = "", ["exp"] = "20" },
[""] = { ["ja"] = "",  ["lv"] = "", ["exp"] = "" }
}

Latest revision as of 00:48, 14 July 2024

Template-info.png Documentation

This template covers a list of monsters, their names in Japanese, their levels, and the amount of experience points they drop present in Shiren the Wanderer BS: Save Surala for use only in modules such as Module:Save Surala Dungeon Monsters table.

In this example, the attribute {{{monster|}}} uses this module...

{{#invoke:Save Surala Dungeon Monsters table|main
  | monster_1 = Mamel
  | floors_1  = 2
}}

...and will result in:

SpriteMonsterExperienceFloors
EnglishJapanese
Mamel's sprite.Mamelマムル22

--------------------------------------------------------------------------------
--
--					Module:Save Surala Monster Data Cell
--
-- This module covers a list of monsters in Japanese, their levels, and the
-- amount of experience points they drop present in
-- Shiren the Wanderer BS: Save Surala.
--
-- Parameters
--
-- name: Insert the monster's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the monster's Japanese name.
-- * lv: Returns the monster's level.
-- * exp: Returns the monster's experience points.
--
--------------------------------------------------------------------------------

return {
	["Baby Tengu"] = { ["ja"] = "小僧天狗",  ["lv"] = "", ["exp"] = "3" },
	["Bowboy"] = { ["ja"] = "ボウヤー",  ["lv"] = "", ["exp"] = "4" },
	["Curse Girl"] = { ["ja"] = "ノロージョ",  ["lv"] = "", ["exp"] = "40" },
	["Dark Owl"] = { ["ja"] = "やみふくろう",  ["lv"] = "", ["exp"] = "15" },
	["Dead Soldier"] = { ["ja"] = "ぼうれい武者",  ["lv"] = "", ["exp"] = "10" },
	["Death Reaper"] = { ["ja"] = "死の使い",  ["lv"] = "", ["exp"] = "30" },
	["Egg Thing"] = { ["ja"] = "ぴーたん",  ["lv"] = "", ["exp"] = "7" },
	["Evil Soldier"] = { ["ja"] = "鬼面武者",  ["lv"] = "", ["exp"] = "15" },
	["Field Bandit"] = { ["ja"] = "畠荒らし",  ["lv"] = "", ["exp"] = "12" },
	["Flying Egg"] = { ["ja"] = "飛びぴーたん",  ["lv"] = "", ["exp"] = "150" },
	["Ghost Radish"] = { ["ja"] = "おばけ大根",  ["lv"] = "", ["exp"] = "8" },
	["Inferno"] = { ["ja"] = "火炎入道",  ["lv"] = "", ["exp"] = "60" },
	["Mamel"] = { ["ja"] = "マムル",  ["lv"] = "", ["exp"] = "2" },
	["Mini Robber"] = { ["ja"] = "豆山賊",  ["lv"] = "", ["exp"] = "5" },
	["Pacorepkin"] = { ["ja"] = "パコレプキン",  ["lv"] = "", ["exp"] = "30" },
	["Pickpocket"] = { ["ja"] = "ガマラ",  ["lv"] = "", ["exp"] = "5" },
	["Rice Changer"] = { ["ja"] = "妖怪にぎり変化",  ["lv"] = "", ["exp"] = "10" },
	["Skull Mage"] = { ["ja"] = "ガイコツまどう",  ["lv"] = "", ["exp"] = "15" },
	["Snaky"] = { ["ja"] = "ハブーン",  ["lv"] = "", ["exp"] = "10" },
	["Soldier Ant"] = { ["ja"] = "兵隊アリ",  ["lv"] = "", ["exp"] = "10" },
	["Thiefwalrus"] = { ["ja"] = "ぬすっトド",  ["lv"] = "", ["exp"] = "20" },
	[""] = { ["ja"] = "",  ["lv"] = "", ["exp"] = "" }
}