Template:Autofill tag/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
(account for amount only)
Line 2: Line 2:
<includeonly><onlyinclude>{{#vardefine:c#|c{{#ifeq:{{{c1tag}}}|{{{1}}}|1|{{#ifeq:{{{c2tag}}}|{{{1}}}|2|{{#ifeq:{{{c3tag}}}|{{{1}}}|3|{{#ifeq:{{{c4tag}}}|{{{1}}}|4|{{#ifeq:{{{c5tag}}}|{{{1}}}|5|{{#ifeq:{{{c6tag}}}|{{{1}}}|6|{{#ifeq:{{{c7tag}}}|{{{1}}}|7|{{#ifeq:{{{c8tag}}}|{{{1}}}|8|{{#ifeq:{{{c9tag}}}|{{{1}}}|9|{{#ifeq:{{{c10tag}}}|{{{1}}}|10|{{#ifeq:{{{c11tag}}}|{{{1}}}|11|{{#ifeq:{{{c12tag}}}|{{{1}}}|12|{{#ifeq:{{{c13tag}}}|{{{1}}}|13|{{#ifeq:{{{c14tag}}}|{{{1}}}|14|{{#ifeq:{{{c15tag}}}|{{{1}}}|15|{{#ifeq:{{{c16tag}}}|{{{1}}}|16|{{#ifeq:{{{c17tag}}}|{{{1}}}|17|{{#ifeq:{{{c18tag}}}|{{{1}}}|18|{{#ifeq:{{{c19tag}}}|{{{1}}}|19}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
<includeonly><onlyinclude>{{#vardefine:c#|c{{#ifeq:{{{c1tag}}}|{{{1}}}|1|{{#ifeq:{{{c2tag}}}|{{{1}}}|2|{{#ifeq:{{{c3tag}}}|{{{1}}}|3|{{#ifeq:{{{c4tag}}}|{{{1}}}|4|{{#ifeq:{{{c5tag}}}|{{{1}}}|5|{{#ifeq:{{{c6tag}}}|{{{1}}}|6|{{#ifeq:{{{c7tag}}}|{{{1}}}|7|{{#ifeq:{{{c8tag}}}|{{{1}}}|8|{{#ifeq:{{{c9tag}}}|{{{1}}}|9|{{#ifeq:{{{c10tag}}}|{{{1}}}|10|{{#ifeq:{{{c11tag}}}|{{{1}}}|11|{{#ifeq:{{{c12tag}}}|{{{1}}}|12|{{#ifeq:{{{c13tag}}}|{{{1}}}|13|{{#ifeq:{{{c14tag}}}|{{{1}}}|14|{{#ifeq:{{{c15tag}}}|{{{1}}}|15|{{#ifeq:{{{c16tag}}}|{{{1}}}|16|{{#ifeq:{{{c17tag}}}|{{{1}}}|17|{{#ifeq:{{{c18tag}}}|{{{1}}}|18|{{#ifeq:{{{c19tag}}}|{{{1}}}|19}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
| {{#cargo_query:table=Items|fields=_pageName,identifier,name,icon|where=identifier{{=}}"{{{item}}}"|format=template|template=HyperlinkCargo|named args=yes|default=[[{{{item}}}]]}}
| {{#cargo_query:table=Items|fields=_pageName,identifier,name,icon|where=identifier{{=}}"{{{item}}}"|format=template|template=HyperlinkCargo|named args=yes|default=[[{{{item}}}]]}}
| align=center | {{#switch:{{{{{#var:c#}}notcampaign}}}|1=False|0=True}}
| align=center | {{#switch:{{{ {{#var:c#}}notcampaign }}}|1=False|0=True}}
| align=center | {{#ifexpr: {{{{{#var:c#}}minamount}}}+{{{{{#var:c#}}maxamount}}}+{{{{{#var:c#}}amount}}}>0 | {{#ifeq: {{{{{#var:c#}}minamount}}} | 1 | {{#ifeq: {{{{{#var:c#}}maxamount}}} | 1 | 1 | {{{{{#var:c#}}minamount}}} - {{{{{#var:c#}}maxamount}}} }} | {{{{{#var:c#}}minamount}}} - {{{{{#var:c#}}maxamount}}} }} | 0 }}
| align=center | {{#ifexpr: {{{ {{#var:c#}}minamount }}}+{{{ {{#var:c#}}maxamount}}}+{{{ {{#var:c#}}amount}}}>0 | {{#ifeq: {{{ {{#var:c#}}minamount}}} | 1 | {{#ifeq: {{{ {{#var:c#}}maxamount}}} | 1 | 1 | {{#ifexpr: {{{ {{#var:c#}}amount }}}>0|{{{ {{#var:c#}}amount }}}|{{{ {{#var:c#}}minamount }}} - {{{ {{#var:c#}}maxamount }}} }} }} |{{#ifexpr: {{{ {{#var:c#}}amount }}}>0|{{{ {{#var:c#}}amount }}}|{{{ {{#var:c#}}minamount }}} - {{{ {{#var:c#}}maxamount }}} }} }} | 0 }}
| align=center | {{#if:{{{{{#var:c#}}spawnprobability|}}}|{{#expr:{{{{{#var:c#}}spawnprobability}}}*100}}%}}</onlyinclude></includeonly>
| align=center | {{#if:{{{ {{#var:c#}}spawnprobability|}}}|{{#expr:{{{ {{#var:c#}}spawnprobability}}}*100}}%}}</onlyinclude></includeonly>

Revision as of 16:15, 2 July 2022

Documentation

engcab

Item Campaign Spawn Amount Probability
Abs Component False 1 0%
Acos Component False 1 0%
Adder Component False 1 0%
Alarm Buzzer False 1 0%
??? False 1 0%
And Component False 1 0%
Artifact Transport Case False 1 0%
Asin Component False 1 0%
Atan Component False 1 0%
Backpack False 1 0%
Black Wire False 1 100%
Blue Wire False 1 100%
Brown Wire False 1 100%
Button False 1 0%
Ceil Component False 1 0%
Circuit Box False 1 0%
Color Component False 1 0%
Concatenation Component False 1 0%
Cos Component False 1 0%
Crowbar False 1 0%
Dementonite Crowbar False 1 0%
Hardened Crowbar False 1 0%
Delay Component False 1 0%
Divide Component False 1 0%
Electrician's Goggles False 1 0%
Emergency Siren False 1 0%
Equals Component False 1 0%
Fire Extinguisher False 1 0%
Factorial Component False 1 0%
Fixfoam Grenade False 1 0%
Floor Component False 1 0%
FPGA Circuit False 1 0%
Fulgurium Battery Cell False 1 0%
Greater Component False 1 0%
Green Wire False 1 100%
Handheld Electrical Monitor False 1 0%
Logbook False 1 0%
Heavy Wrench False 1 0%
Incendium Fuel Tank False 1 0%
Lever False 1 0%
Light Component Light Component False 1 0%
Light Component False 1 0%
lightcomponentround False 1 0%
Memory Component False 1 0%
Modulo Component False 1 0%
Motion Detector False 1 0%
Multiply Component False 1 0%
Not Component False 1 0%
Orange Wire False 1 100%
Or Component False 1 0%
Oscillator Component False 1 0%
Oxygen Detector False 1 0%
Plasma Cutter False 1 0%
Portable Pump False 1 0%
Exponentiation Component False 1 0%
Radio Jammer False 1 0%
Reactor PDA False 1 0%
Red Wire False 1 100%
RegEx Find Component False 1 0%
Relay Component False 1 0%
Repair Pack False 1 0%
Round Component False 1 0%
Safety Harness False 1 0%
Screwdriver False 1 0%
Dementonite Screwdriver False 1 0%
Hardened Screwdriver False 1 0%
Signal Check Component False 1 0%
Sin Component False 1 0%
Smoke Detector False 1 0%
Sprayer False 1 0%
Square Root Component False 1 0%
Subtract Component False 1 0%
Switch False 1 0%
Tan Component False 1 0%
Terminal False 1 0%
Text Display False 1 0%
Thermal Goggles False 1 0%
Toolbelt False 1 0%
Water Detector False 1 0%
Welding Fuel Tank False 4 - 6 100%
Welding Tool False 1 100%
Wifi Component False 1 0%
Wire False 1 0%
Wrench False 1 0%
Dementonite Wrench False 1 0%
Hardened Wrench False 1 0%
Xor Component False 1 0%