Template:Legacy Installations Infobox: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 47: | Line 47: | ||
{{!}} style="text-align:right" {{!}} '''Required Item(s)''' | {{!}} style="text-align:right" {{!}} '''Required Item(s)''' | ||
{{!}} {{{uses}}}}} | {{!}} {{{uses}}}}} | ||
|- | |||
{{#if:{{{barrelpos|}}}{{{reload|}}}{{{rotationlimits|}}}{{{hudtint|}}}| | |||
! colspan="2" {{!}} Turret}} | |||
|- | |||
{{#if:{{{barrelpos|}}}| | |||
{{!}} style="text-align:right" {{!}} '''Barrel Offset''' | |||
{{!}} {{{barrelpos}}}}} | |||
|- | |||
{{#if:{{{reload|}}}| | |||
{{!}} style="text-align:right" {{!}} '''Shot Interval''' | |||
{{!}} {{{reload}}} s}} | |||
|- | |||
{{#if:{{{rotationlimits|}}}| | |||
{{!}} style="text-align:right" {{!}} '''Rotation Limits''' | |||
{{!}} {{#replace:{{{rotationlimits}}}|,|°–}}°}} | |||
|- | |||
{{#if:{{{barrelpos|}}}{{{reload|}}}{{{rotationlimits|}}}{{{hudtint|}}}| | |||
{{!}} style="text-align:right" {{!}} '''Has Charge Indicator?''' | |||
{{!}} {{#ifeq:{{lc:{{{showchargeindicator|}}}}}|false|No|Yes}}}} | |||
|- | |||
{{#if:{{{barrelpos|}}}{{{reload|}}}{{{rotationlimits|}}}{{{hudtint|}}}| | |||
{{!}} style="text-align:right" {{!}} '''Has Ammunition Indicator?''' | |||
{{!}} {{#ifeq:{{lc:{{{showprojectileindicator|}}}}}|false|No|Yes}}}} | |||
|- | |||
{{#if:{{{hudtint|}}}|{{#vardefine:hudtint|{{#expr:{{#explode:{{{hudtint}}}|,|0}}*255}},{{#expr:{{#explode:{{{hudtint}}}|,|1}}*255}},{{#expr:{{#explode:{{{hudtint}}}|,|2}}*255}},{{#explode:{{{hudtint}}}|,|3}}}} | |||
{{!}} style="text-align:right" {{!}} '''Hud Tint (RGBA)''' | |||
{{!}} style="background:black;color:rgba({{#var:hudtint}})" {{!}} '''{{#replace:{{{hudtint}}}|,|, }}'''}} | |||
|- | |- | ||
{{#if:{{{doortype|}}}{{{forcingtool|}}}{{{forcingtime|}}}| | {{#if:{{{doortype|}}}{{{forcingtool|}}}{{{forcingtime|}}}| |
Revision as of 07:09, 28 February 2023
Basic
Field | Description | Example | Expected | Default |
---|---|---|---|---|
name | The name of the installation. | Fabricator | String | |
sprite | The sprite of the installation. | Legacy Fabricator.png | File name | Legacy {{{name}}}.png
|
spritesize | The size of the sprite, in px. | x64 | ##, x##, ##x## | x128 |
description | The installation's description. | Fabricates various items. | String |
Technical
Field | Description | Example | Expected | Default |
---|---|---|---|---|
category | The category of the installation. | Alien | Structure, Decorative, Machine, Medical, Weapon, Equipment, Electrical, Material, Alien, Misc | Misc |
tags | The tags of the installation. | alien,weapon | CSV list |
The above documentation is transcluded from Template:Legacy Installations Infobox/doc. (edit | history)