Module:Character Picker

From Ways of Darkness
Jump to navigation Jump to search

Documentation for this module may be created at Module:Character Picker/doc

require "Module:Generic Random Picker"

local valid_char = {
	"Characters/Stephánus Tavilrond",
	"Characters/Arnélia Gervése",
	"Characters/Gnarog Dougfrál",
	"Characters/Nemezish",
	"Characters/Morthen Orden'Ath Ildor",
	"Characters/Ladislaus Dominus",
	"Characters/Keshuvar Seward",
	"Characters/Ashrám Wegnard",
	"Characters/Dermaglen",
	"Characters/Reyanna Rýger",
	"Characters/Ta'ael Myrth'nddare",
	"Characters/Pirothea Nelvarryl",
	"Characters/Gzaxia Nolánó"
}

local char_picker = RandomPicking(valid_char)

local p={}
function p.main(frame)
	return char_picker.main(frame.args[1])
end
function p.rand(frame)
	return char_picker.rand()
end
function p.loop(frame)
	return char_picker.loop()
end
return p