Difference between revisions of "Module:Grid/Aliases"

From Industrial-Craft-Wiki
Jump to: navigation, search
m (Added Iron -> Iron Ingot)
m (Added some more things)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
['Machine']="Basic Machine Casing",
 
['Machine']="Basic Machine Casing",
 
['Advanced Machine']="Advanced Machine Casing",
 
['Advanced Machine']="Advanced Machine Casing",
['Iron']="Iron Ingot"
+
--['Iron']="Iron Ingot",
 +
['Some random scrap']="Scrap",
 +
['FreqTrans']="Frequency Transmitter",
 +
['MFE Unit']="MFE",
 +
['MFS Unit']="MFSU"
 
}
 
}
 
return aliases
 
return aliases

Latest revision as of 16:44, 24 March 2015

Template-info.png Documentation

The alias list for Module:Grid, all ['name'] grids will have the tooltip that it equals.

Example

Output=Machine

would turn into:

Output=[Basic Machine Casing]Machine

It should be noted however, this only changes how they look, the actual code is left unchanged.

The above documentation is transcluded from Module:Grid/Aliases/doc. (edit | history)


local aliases = {
	['Machine']="Basic Machine Casing",
	['Advanced Machine']="Advanced Machine Casing",
	--['Iron']="Iron Ingot",
	['Some random scrap']="Scrap",
	['FreqTrans']="Frequency Transmitter",
	['MFE Unit']="MFE",
	['MFS Unit']="MFSU"
}
return aliases