Module:Infobox/Steve's Carts

From Feed The Beast Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:Infobox/Steve's Carts/en/doc

local p = {}

p.docLead = [=[This one is for Steve's Carts information.]=]

local addontype = {
	crop = [=[{{L|Crop (Steve's Carts)|Crop}}]=],
	entitydetector = [=[{{L|Entity Detector (Steve's Carts)|Entity Detector}}]=],
	projectile = [=[{{L|Projectile (Steve's Carts)|Projectile}}]=],
        tree = [=[{{L|Tree (Steve's Carts)|Tree}}]=]
}

local moduletype = {
	addon = [=[{{L|Addon (Steve's Carts)|Addon}}]=],
	attachment = [=[{{L|Attachment (Steve's Carts)|Attachment}}]=],
	engine = [=[{{L|Engine (Steve's Carts)|Engine}}]=],
	storage = [=[{{L|Storage (Steve's Carts)|Storage}}]=],
	liquidstorage = [=[{{L|Storage (Steve's Carts)|Liquid Storage}}]=],
	itemstorage = [=[{{L|Storage (Steve's Carts)|Item Storage}}]=],
	tool = [=[{{L|Tool (Steve's Carts)|Tool}}]=]
}

local tooltype = {
	drill = [=[{{L|Drill (Steve's Carts)|Drill}}]=],
	farmer = [=[{{L|Farmer (Steve's Carts)|Farmer}}]=],
	woodcutter = [=[{{L|Wood Cutter (Steve's Carts)|Wood Cutter}}]=]
}

local enginetype = {
	coal = [=[Coal]=],
	solar = [=[Solar]=],
	thermal = [=[Thermal]=]
}

p.format = {
	{
		title = [=[{{L|Steve's Carts}} Properties]=],
		{
                        {[=['''Compatible Hulls''']=]},
			{{arg="modularcost", nodoc=true, type="templateCall", template="Compatible Hulls"}},
		},
		{
			{[=[Addon type]=], {arg="addontype", type="switch", allowedValues=addontype, desc=[=[The addon type.]=]}},
			{[=[Module type]=], {arg="moduletype", type="switch", allowedValues=moduletype, desc=[=[The module type.]=]}},
			{[=[Modular cost]=], {arg="modularcost", desc = [=[The modular cost for this module.]=]}}
		},
		{
			{[=[Modular cap]=], {arg="modularcap", desc=[=[The modular capacity (max modularcost) on a cart.]=]}},
			{[=[Complexity cap]=], {arg="modularcomplexitycap", desc=[=[The modular complexity capacity (max modularcost) on a module for a cart.]=]}}
		},
		{
			{[=[Max engines]=], {arg="maxengines", desc=[=[The maximum amount of engines that can be put on a hull.]=]}},
			{[=[Max addons]=], {arg="maxaddons", desc=[=[The maximum amount of addons that can be put on a hull.]=]}}
		},
		{
			{[=[Construction time]=], {arg="constructiontime", desc=[=[The time this module takes to construct, like the following example: "88 hour 88 min 88 sec", where 88 is the time in hours/minutes/seconds.]=]}}
		},
		{
			{[=[Tool type]=], {arg="tooltype", type="switch", allowedValues=tooltype, desc=[=[The tool type.]=]}},
			{[=[Repair with]=], {arg="repairwith", desc=[=[The item you need to repair this tool.]=]}, {arg="durabilityperitem", desc=[=[The durability each '''repairwith''' gives]=], style="color:#666", prefix="<br />(+", units=")"}}
		},
		{
			{[=[Drill mining speed]=], {arg="drillminingspeed", desc=[=[The mining speed of the drill module. Add ''only'' to drills.]=]}},
			{[=[Tunnel size]=], {arg="tunnelsize", desc=[=[The tunnel size for this drill in dimensions (3x3, 5x5,..).]=]}},
			{[=[Effect radius]=], {arg="effectradius", units=[=[blocks]=], desc = [=[The amount of blocks out this module will have an effect on things. Used for farmer modules.]=]}},
			{[=[Drop multiplier]=], {arg="dropmultiplier", units=[=[%]=], desc = [=[The chance saplings/apples will drop from trees. Used for wood cutter modules.]=]}}
		},
		{
			{[=[Engine type]=], {arg="enginetype", type="switch", allowedValues=enginetype, desc=[=[The type of the engine.]=]}},
			{[=[Fuel efficiency]=], {arg="fuelefficiency", units=[=[%]=], desc = [=[The fuel efficiency multiplier in percentage of the engine. Add only to Steve's Carts engines.]=]}},
			{[=[Fuel consumption]=], {arg="fuelconsumption", units=[=[/ tick]=], desc = [=[The fuel consumption in units per tick.]=]}},
			{[=[Fuel slots]=], {arg="fuelslots", desc=[=[The item capacity for fuel of the engine. Add ''only'' to Steve's Carts engines.]=]}}
		},
		{
			{[=[Coolant/Water ratio]=], {arg="coolantwaterratio", desc=[=[The coolant to water ratio of the thermal engine. Add ''only'' to Steve's Carts thermal engines.]=]}},
			{[=[Power/Lava ratio]=], {arg="powerlavaratio", desc=[=[The amount of power (in u/t) gained from lava. Add ''only'' to Steve's Carts thermal engines.]=]}}
		}
	}
}

p.examples = {
	{[=[{{infobox Steve's Carts
|moduletype=engine
|modularcost=43
|constructiontime=3 hour 45 min 9 sec
|tooltype=drill
|drillmininglevel=3
|tunnelsize=5x5
}}]=]
	}
}

return p