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/doc

local p = {}

p.docLead = [=[<translate><!--T:62--> This one is for Steve's Carts information.</translate>]=]

local addontype = {
	crop = [=[{{L|Crop (Steve's Carts)|<translate><!--T:1--> Crop</translate>}}]=],
	entitydetector = [=[{{L|Entity Detector (Steve's Carts)|<translate><!--T:2--> Entity Detector</translate>}}]=],
	projectile = [=[{{L|Projectile (Steve's Carts)|<translate><!--T:3--> Projectile</translate>}}]=],
        tree = [=[{{L|Tree (Steve's Carts)|<translate><!--T:61--> Tree</translate>}}]=]
}

local moduletype = {
	addon = [=[{{L|Addon (Steve's Carts)|<translate><!--T:4--> Addon</translate>}}]=],
	attachment = [=[{{L|Attachment (Steve's Carts)|<translate><!--T:5--> Attachment</translate>}}]=],
	engine = [=[{{L|Engine (Steve's Carts)|<translate><!--T:6--> Engine</translate>}}]=],
	storage = [=[{{L|Storage (Steve's Carts)|<translate><!--T:7--> Storage</translate>}}]=],
	liquidstorage = [=[{{L|Storage (Steve's Carts)|<translate><!--T:8--> Liquid Storage</translate>}}]=],
	itemstorage = [=[{{L|Storage (Steve's Carts)|<translate><!--T:9--> Item Storage</translate>}}]=],
	tool = [=[{{L|Tool (Steve's Carts)|<translate><!--T:10--> Tool</translate>}}]=]
}

local tooltype = {
	drill = [=[{{L|Drill (Steve's Carts)|<translate><!--T:11--> Drill</translate>}}]=],
	farmer = [=[{{L|Farmer (Steve's Carts)|<translate><!--T:12--> Farmer</translate>}}]=],
	woodcutter = [=[{{L|Wood Cutter (Steve's Carts)|<translate><!--T:13--> Wood Cutter</translate>}}]=]
}

local enginetype = {
	coal = [=[<translate><!--T:14--> Coal</translate>]=],
	solar = [=[<translate><!--T:15--> Solar</translate>]=],
	thermal = [=[<translate><!--T:16--> Thermal</translate>]=]
}

p.format = {
	{
		title = [=[<translate><!--T:17--> {{L|Steve's Carts}} Properties</translate>]=],
		{
                        {[=['''<translate><!--T:59--> Compatible Hulls</translate>''']=]},
			{{arg="modularcost", nodoc=true, type="templateCall", template="Compatible Hulls"}},
		},
		{
			{[=[<translate><!--T:18--> Addon type</translate>]=], {arg="addontype", type="switch", allowedValues=addontype, desc=[=[<translate><!--T:19--> The addon type.</translate>]=]}},
			{[=[<translate><!--T:20--> Module type</translate>]=], {arg="moduletype", type="switch", allowedValues=moduletype, desc=[=[<translate><!--T:21--> The module type.</translate>]=]}},
			{[=[<translate><!--T:22--> Modular cost</translate>]=], {arg="modularcost", desc = [=[<translate><!--T:23--> The modular cost for this module.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:24--> Modular cap</translate>]=], {arg="modularcap", desc=[=[<translate><!--T:25--> The modular capacity (max modularcost) on a cart.</translate>]=]}},
			{[=[<translate><!--T:26--> Complexity cap</translate>]=], {arg="modularcomplexitycap", desc=[=[<translate><!--T:27--> The modular complexity capacity (max modularcost) on a module for a cart.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:28--> Max engines</translate>]=], {arg="maxengines", desc=[=[<translate><!--T:29--> The maximum amount of engines that can be put on a hull.</translate>]=]}},
			{[=[<translate><!--T:30--> Max addons</translate>]=], {arg="maxaddons", desc=[=[<translate><!--T:31--> The maximum amount of addons that can be put on a hull.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:32--> Construction time</translate>]=], {arg="constructiontime", desc=[=[<translate><!--T:33--> 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.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:34--> Tool type</translate>]=], {arg="tooltype", type="switch", allowedValues=tooltype, desc=[=[<translate><!--T:35--> The tool type.</translate>]=]}},
			{[=[<translate><!--T:36--> Repair with</translate>]=], {arg="repairwith", desc=[=[<translate><!--T:37--> The item you need to repair this tool.</translate>]=]}, {arg="durabilityperitem", desc=[=[<translate><!--T:60--> The durability each '''repairwith''' gives</translate>]=], style="color:#666", prefix="<br />(+", units=")"}}
		},
		{
			{[=[<translate><!--T:38--> Drill mining speed</translate>]=], {arg="drillminingspeed", desc=[=[<translate><!--T:39--> The mining speed of the drill module. Add ''only'' to drills.</translate>]=]}},
			{[=[<translate><!--T:40--> Tunnel size</translate>]=], {arg="tunnelsize", desc=[=[<translate><!--T:41--> The tunnel size for this drill in dimensions (3x3, 5x5,..).</translate>]=]}},
			{[=[<translate><!--T:42--> Effect radius</translate>]=], {arg="effectradius", units=[=[<translate><!--T:43--> blocks</translate>]=], desc = [=[<translate><!--T:63--> The amount of blocks out this module will have an effect on things. Used for farmer modules.</translate>]=]}},
			{[=[<translate><!--T:44--> Drop multiplier</translate>]=], {arg="dropmultiplier", units=[=[<translate><!--T:45--> %</translate>]=], desc = [=[<translate><!--T:64--> The chance saplings/apples will drop from trees. Used for wood cutter modules.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:46--> Engine type</translate>]=], {arg="enginetype", type="switch", allowedValues=enginetype, desc=[=[<translate><!--T:47--> The type of the engine.</translate>]=]}},
			{[=[<translate><!--T:48--> Fuel efficiency</translate>]=], {arg="fuelefficiency", units=[=[<translate><!--T:49--> %</translate>]=], desc = [=[<translate><!--T:65--> The fuel efficiency multiplier in percentage of the engine. Add only to Steve's Carts engines.</translate>]=]}},
			{[=[<translate><!--T:50--> Fuel consumption</translate>]=], {arg="fuelconsumption", units=[=[<translate><!--T:51--> / tick</translate>]=], desc = [=[<translate><!--T:66--> The fuel consumption in units per tick.</translate>]=]}},
			{[=[<translate><!--T:52--> Fuel slots</translate>]=], {arg="fuelslots", desc=[=[<translate><!--T:53--> The item capacity for fuel of the engine. Add ''only'' to Steve's Carts engines.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:54--> Coolant/Water ratio</translate>]=], {arg="coolantwaterratio", desc=[=[<translate><!--T:55--> The coolant to water ratio of the thermal engine. Add ''only'' to Steve's Carts thermal engines.</translate>]=]}},
			{[=[<translate><!--T:56--> Power/Lava ratio</translate>]=], {arg="powerlavaratio", desc=[=[<translate><!--T:57--> The amount of power (in u/t) gained from lava. Add ''only'' to Steve's Carts thermal engines.</translate>]=]}}
		}
	}
}

p.examples = {
	{[=[<translate>
<!--T:58-->
{{infobox Steve's Carts
|moduletype=engine
|modularcost=43
|constructiontime=3 hour 45 min 9 sec
|tooltype=drill
|drillmininglevel=3
|tunnelsize=5x5
}}
</translate>]=]
	}
}

return p