Template:Mod: Difference between revisions
Jump to navigation
Jump to search
(link) |
(TinkerTier is now formatted and stored the same way as Template:item's TinkerTier (outputs what tinker skill it needs)) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=Mods | {{#cargo_declare:_table=Mods | ||
|Type=String | |Type=String | ||
|MinTier=Integer|MaxTier=Integer | |MinTier=Integer|MaxTier=Integer | ||
|ModID=String | |ModID=String | ||
|Value=Float|Rarity=String (allowed values=C,U,R,M) | |Value=Float | ||
|Rarity=String (allowed values=C,U,R,M) | |||
|Tinkerable=Boolean | |Tinkerable=Boolean | ||
|TinkerTier=Integer | |TinkerTier=String | ||
|BitUsed=Integer | |||
|NativeTier=Integer | |NativeTier=Integer | ||
|CanAutoTinker=Boolean | |CanAutoTinker=Boolean | ||
Line 42: | Line 44: | ||
**Energy Cell | **Energy Cell | ||
**Tech Wall)}}[[Category:Cargo Store Templates]] | **Tech Wall)}}[[Category:Cargo Store Templates]] | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 49: | Line 50: | ||
-->{{#cargo_store:_table=Mods | -->{{#cargo_store:_table=Mods | ||
|Type={{{type|}}} | |Type={{{type|}}} | ||
|MinTier={{{mintier|0}}} | |MinTier = {{{mintier|0}}} | ||
|MaxTier={{{maxtier|99}}} | |MaxTier = {{{maxtier|99}}} | ||
|ModID={{{id|}}} | |ModID = {{{id|}}} | ||
|Value={{{value|1.0}}} | |Value = {{{value|1.0}}} | ||
|Rarity={{{rarity|}}} | |Rarity = {{{rarity|}}} | ||
|Tinkerable={{{tinkerable|no}}} | |Tinkerable = {{{tinkerable|no}}} | ||
|TinkerTier={{{tinkertier|}}} | |TinkerTier = {{#ifeq:{{{tinkerable|}}}|yes|{{tinker check|{{{tinkertier|1}}} }} }} | ||
|NativeTier={{{nativetier|}}} | |BitUsed = {{#ifeq:{{{tinkerable|}}}|yes|{{{tinkertier|1}}} }} | ||
|CanAutoTinker={{{canautotinker|yes}}} | |NativeTier = {{{nativetier|}}} | ||
|Description={{qud text|{{{desc|}}} }} | |CanAutoTinker = {{{canautotinker|yes}}} | ||
|Restriction={{{restriction|no restrictions}}} | |Description = {{qud text|{{{desc|}}} }} | ||
|DisplayName={{{title|{{#titleparts:{{PAGENAME}}}} }}} | |Restriction = {{{restriction|no restrictions}}} | ||
|DisplayName = {{{title|{{#titleparts:{{PAGENAME}}}} }}} | |||
}}<!-- | }}<!-- | ||
Revision as of 00:18, 16 August 2020
This template defines the table "Mods". View table. For the tables/ mod groups the mod belongs in, tag the page as the appropriate category. should be the table name but with proper spaces.
title | display name of the mod ingame. | {{Qud text|(displayname with color codes)}}
|
---|---|---|
type | category of the mod (for the query module) | Hierarchy. Choose the most specific category it applies to, it it's in multiple tables, separate each by an comma (,).
Choice of:
|
restriction | any further specifications from type. | strings |
mintier | minimum tier items it can appear on. defaults to 0 | integer |
maxtier | maximum tier items it can appear on. defaults to 99 | integer |
rarity | rarity. | character(C, U, R, M) |
id | the name of the object in Mods.xml. This is MANDATORY and must be unique. | string |
tinkerable | defaults to no | yes/no |
canautotinker | whether the mod can generate on an item created by tinkering, defaults to yes | yes/no |
tinkertier | what tier of complexity this mod adds onto the object | integer |
nativetier | The native tier it spawns in. | integer |
value | value. what this alters the base Commerce of the object by. | float |
desc | description. | string |
Source code Copy/Paste. Delete all blank fields.
{{Mod | title = | type = | id = | rarity = | tinkerable = | canautotinker = | tinkertier = | nativetier = | value = | difficulty = | complexity = | desc = | restriction = }}