Template:Legacy Items Infobox: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
{{!}} colspan="2" style="text-align:center" {{!}} ''{{{description}}}''}} | {{!}} colspan="2" style="text-align:center" {{!}} ''{{{description}}}''}} | ||
|- | |- | ||
{{# | ! colspan="2" {{!}} General | ||
|- | |||
| style="text-align:right" | '''Interaction Threshold''' | |||
| {{#expr:{{{pickdistance|100}}}/100}} meter{{#ifeq:{{{pickdistance|100}}}|100||s}} | |||
|- | |- | ||
{{#if:{{{price|}}}| | {{#if:{{{price|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Price''' | {{!}} style="text-align:right" {{!}} '''Price''' | ||
{{!}} {{{price}}} | {{!}} {{{price}}} mark{{#ifeq:{{{price}}}|1||s}}}} | ||
|- | |- | ||
{{#if:{{{cargocontainer|}}}| | {{#if:{{{cargocontainer|}}}| | ||
Line 72: | Line 74: | ||
{{#if:{{{explosionrange|}}}| | {{#if:{{{explosionrange|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Explosion Range''' | {{!}} style="text-align:right" {{!}} '''Explosion Range''' | ||
{{!}} {{#expr:{{{explosionrange}}}/100}} | {{!}} {{#expr:{{{explosionrange}}}/100}} meter{{#ifeq:{{{explosionrange}}}|100||s}}}} | ||
|- | |- | ||
{{#if:{{{beamrange|}}}| | {{#if:{{{beamrange|}}}| | ||
Line 87: | Line 89: | ||
{{#if:{{{beamrange|}}}| | {{#if:{{{beamrange|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Beam Range''' | {{!}} style="text-align:right" {{!}} '''Beam Range''' | ||
{{!}} {{#expr:{{{beamrange}}}/100}} | {{!}} {{#expr:{{{beamrange}}}/100}} meter{{#ifeq:{{{beamrange}}}|100||s}}}} | ||
|- | |- | ||
{{#if:{{{itemslots|}}}{{{containableitems|}}}{{{containabletags|}}}{{{waterproof|}}}| | {{#if:{{{itemslots|}}}{{{containableitems|}}}{{{containabletags|}}}{{{waterproof|}}}| | ||
Line 118: | Line 120: | ||
| medical = [[File:Job Icon Medical Doctor.png|32px]] [[Skills (Legacy)#Medical|Medical]] | | medical = [[File:Job Icon Medical Doctor.png|32px]] [[Skills (Legacy)#Medical|Medical]] | ||
| mechanical = [[File:Job Icon Mechanic.png|32px]] [[Skills (Legacy)#Mechanical Engineering|Mechanical Engineering]] | | mechanical = [[File:Job Icon Mechanic.png|32px]] [[Skills (Legacy)#Mechanical Engineering|Mechanical Engineering]] | ||
| electrical = [[File:Job Icon Engineer.png|32px]] [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]]}} {{#explode:{{{fabricatorskill}}}| |1}}<br>}}{{{fabricatormaterials}}}<br>[[File:Time.png|32px]] {{{fabricatortime}}} | | electrical = [[File:Job Icon Engineer.png|32px]] [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]]}} {{#explode:{{{fabricatorskill}}}| |1}}<br>}}{{{fabricatormaterials}}}<br>[[File:Time.png|32px]] {{{fabricatortime}}} second{{#ifeq:{{{fabricatortime}}}|1||s}}}} | ||
|- | |- | ||
{{#if:{{{medicalfabricatortime|}}}| | {{#if:{{{medicalfabricatortime|}}}| | ||
Line 127: | Line 129: | ||
| medical = [[File:Job Icon Medical Doctor.png|32px]] [[Skills (Legacy)#Medical|Medical]] | | medical = [[File:Job Icon Medical Doctor.png|32px]] [[Skills (Legacy)#Medical|Medical]] | ||
| mechanical = [[File:Job Icon Mechanic.png|32px]] [[Skills (Legacy)#Mechanical Engineering|Mechanical Engineering]] | | mechanical = [[File:Job Icon Mechanic.png|32px]] [[Skills (Legacy)#Mechanical Engineering|Mechanical Engineering]] | ||
| electrical = [[File:Job Icon Engineer.png|32px]] [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]]}} {{#explode:{{{medicalfabricatorskill}}}| |1}}<br>}}{{{medicalfabricatormaterials}}}<br>[[File:Time.png|32px]] {{{medicalfabricatortime}}} | | electrical = [[File:Job Icon Engineer.png|32px]] [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]]}} {{#explode:{{{medicalfabricatorskill}}}| |1}}<br>}}{{{medicalfabricatormaterials}}}<br>[[File:Time.png|32px]] {{{medicalfabricatortime}}} second{{#ifeq:{{{medicalfabricatortime}}}|1||s}}}} | ||
|- | |- | ||
{{#if:{{{deconstructortime|}}}| | {{#if:{{{deconstructortime|}}}| | ||
{{!}} style="text-align:right" {{!}} '''[[Deconstructor (Legacy)|Deconstructor]]''' | {{!}} style="text-align:right" {{!}} '''[[Deconstructor (Legacy)|Deconstructor]]''' | ||
{{!}} [[File:Time.png|32px]] {{{deconstructortime}}} | {{!}} [[File:Time.png|32px]] {{{deconstructortime}}} second{{#ifeq:{{{deconstructortime}}}|1||s}}{{#if:{{{deconstructormaterials|}}}|<br>{{{deconstructormaterials}}}}}}} | ||
|- | |- | ||
! colspan="2" | Technical | ! colspan="2" | Technical |
Revision as of 14:56, 9 November 2022
Basic
Field | Description | Example | Expected | Default |
---|---|---|---|---|
name | The name of the item. | Thermal Artifact | String | |
icon | The icon of the item. | Legacy Wrench.png | File name | Legacy {{{name}}}.png
|
iconsize | The size of the icon, in px. | x64 | ##, x##, ##x## | x128 |
description | The item's description. | Good for repairing electrical items. | String |
General
Field | Description | Example | Expected | Default |
---|---|---|---|---|
price | The selling & buying price of the item. | 500 | Number | |
usedby | Other items/installations that use this item as ammunition. | {{lhl|Railgun Loader|32}} |
{{lhl|[Item/Installation Name]|32}} |
|
ammunition | Other item(s) that are required by this item to function. | {{lhl|Revolver Round|32}} |
{{lhl|[Item Name]|32}} |
|
impacttolerance | The required speed before OnImpact type status effects are triggered. | 8 | Number |
Crafting
Field | Description | Example | Expected | Default |
---|---|---|---|---|
fabricatorskill | The required skill and level to craft the item quickly. | Mechanical 20 | Helm ##, Weapons ##, Medical ##, Electrical ##, Mechanical ## | |
fabricatormaterials | The required materials to craft the item. | {{lhl|Steel Bar|32}} |
{{lhl|[Item Name]|32}} |
|
fabricatortime | The required time (in seconds) to craft the item. | 40 | Number | |
medicalfabricatorskill | The required skill and level to craft the item quickly. | Medical 20 | Helm ##, Weapons ##, Medical ##, Electrical ##, Mechanical ## | |
medicalfabricatormaterials | The required materials to craft the item. | {{lhl|Iron Powder|32}} |
{{lhl|[Item Name]|32}} |
|
medicalfabricatortime | The required time (in seconds) to craft the item. | 40 | Number | |
deconstructormaterials | The output materials gained from deconstructing the item. | {{lhl|Iron Powder|32}} |
{{lhl|[Item Name]|32}} |
|
deconstructortime | The required time (in seconds) to deconstruct the item. | 40 | Number |
Repair Tool
Field | Description | Example | Expected | Default |
---|---|---|---|---|
structurefixamount | The amount of hitpoints repaired per second for structures. | 2.0 | Number | |
limbfixamount | The amount of hitpoints healed per second for limbs. | -5.0 | Number | |
beamrange | The range of the repair tool's beam. | 600 | Number |
Technical
Field | Description | Example | Expected | Default |
---|---|---|---|---|
category | The category of the item. | Alien | Structure, Decorative, Machine, Medical, Weapon, Equipment, Electrical, Material, Alien, Misc | Misc |
tags | The tags of the item. | alien,weapon | CSV list |
The above documentation is transcluded from Template:Legacy Items Infobox/doc. (edit | history)