Module:Infobox/ChaoticKarma

From Feed The Beast Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:Infobox/ChaoticKarma/doc

local p = {}

p.docLead = [=[<translate><!--T:14--> This one is for information about ChaoticKarma things.</translate>]=]

local types = {
	event = [=[<translate><!--T:1--> {{L|Event}}</translate>]=],
	perk = [=[<translate><!--T:2--> {{L|Perk}}</translate>]=]
}

local kinds = {
	positive = [=[<translate><!--T:3--> {{L|Karma|Positive}}</translate>]=],
	negative = [=[<translate><!--T:4--> {{L|Karma|Negative}}</translate>]=]
}

p.format = {
	{
		title = [=[<translate><!--T:5--> {{L|ChaoticKarma}} Information</translate>]=],
		{
			{[=[<translate><!--T:10--> Type</translate>]=], {arg="type", type="switch", allowedValues=types, desc=[=[<translate><!--T:6--> The type that this particular thing is.</translate>]=]}},
			{[=[<translate><!--T:11--> Kind of Karma</translate>]=], {arg="kind", type="switch", allowedValues=kinds, desc=[=[<translate><!--T:7--> The kind of karma needed.</translate>]=]}},
			{[=[<translate><!--T:12--> Needed Karma Level</translate>]=], {arg="level", desc=[=[<translate><!--T:8--> The amount of karma needed.</translate>]=]}},
			{[=[<translate><!--T:13--> Event Occurence Chance</translate>]=], {arg="chance", desc=[=[<translate><!--T:9--> The chance of this event happening.</translate>]=]}},
			{[=[<translate><!--T:15--> String ID</translate>]=], {arg="id", desc=[=[<translate><!--T:16--> The string ID for the perk.</translate>]=]}}
		}
	}
}

return p