Module:Sandbox

MDFW - The Mystery Dungeon Tree of Information.
Revision as of 21:14, 3 October 2022 by Adkuate (talk | contribs)
Jump to navigation Jump to search



----------------------------------------------------------------------------------------------------
--
--                                        Module:Sandbox
--
-- Here you can set anything you want in this sandbox, as long as it uses the language Lua.
-- Do not forget to add {{#invoke:Sandbox|<function name>}} in your template.
-- [[Category:Sandbox]]
----------------------------------------------------------------------------------------------------

p = {}

function p.pick(f)
	local args = f.args
	--local list = {
	--	["Bulbasaur"]	= { ["ja"] = "フシギダネ",		["type1"] = "Grass" },
	--	["Ivysaur"]		= { ["ja"] = "フシギソウ",		["type1"] = "Grass" },
	--	["Venusaur"]	= { ["ja"] = "フシギバナ",		["type1"] = "Grass",	["type2"] = "Poison" }
	--}
	--
	--for i, v in pairs(list) do
	--	for j, w in pairs(v) do
	--		if args.name == i and args.getVar == j then
	--			return list[i][j]
	--		end
	--	end
	--end
	return args.name .. " / " .. args.getVar

end

return p