User:KingDom: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Sandbox=
=Sandbox=


{{Sandbox
Creating Afflictions_table template for use as substitute for [[Afflictions#DataTable]]
| name = Radiation Sickness
 
| limb = No
Afflictions_table will query table Afflictions for use as rows.
| scaled = Yes
These rows will query table Items (and potentially Creatures) for affliction in-/decreasing values.
| evolution = Stays
 
| causes = {{str|Radiotoxin|+40||| - }} <span style="cursor:help;" title="Total affliction strength change if used with the Syringe Gun; only specified when it differs from the 'failure' values"><span style="color:#a23dd1;">'''(+20)*'''</span></span>
Sandbox = Afflictions_table
| range1 = 25 - 50
Sandbox/row = Affliction_table/row
| effect1 = [[File:Affliction Burn.png|16px]] +0.09 Burn per second
Sandbox/row/ext = Afflictions_table/row/ext (?)
| range2 = 50 - 75
 
| effect2 = [[File:Affliction Burn.png|16px]] +0.12 Burn per second<br>[[File:Affliction Nausea.png|16px]] +0.05 Nausea per second
{{Sandbox}}
| range3 = 75 - 100
 
| effect3 = [[File:Affliction Burn.png|16px]] +0.24 Burn per second<br>[[File:Affliction Nausea.png|16px]] +0.1 Nausea per second
| range4 = 100 - 125
| effect4 = [[File:Affliction Burn.png|16px]] +0.40 Burn per second<br>[[File:Affliction Nausea.png|16px]] +0.2 Nausea per second
| range5 = 125 - 150
| effect5 = [[File:Affliction Burn.png|16px]] +0.56 Burn per second<br>[[File:Affliction Nausea.png|16px]] +0.4 Nausea per second
| range6 = 150 - 175
| effect6 = [[File:Affliction Burn.png|16px]] +0.72 Burn per second<br>[[File:Affliction Nausea.png|16px]] +0.6 Nausea per second
| range7 = 175 - 200
| effect7 = [[File:Affliction Burn.png|16px]] +0.88 Burn per second<br>[[File:Affliction Nausea.png|16px]] +0.8 Nausea per second
}}


=Cargo Query Playground=
{{#cargo_query: tables = Items
{{#cargo_query: tables = Items
| fields = Items.name, Items.type, Items.skill, Items.duration, Items.radiationsickness=magnitude, Items.radiationsicknessfail=magnitudefail, Items.radiationsicknesssyringe=magnitudesyringe
| fields = Items.name, Items.type, Items.skill, Items.duration, Items.radiationsickness=magnitude, Items.radiationsicknessfail=magnitudefail, Items.radiationsicknesssyringe=magnitudesyringe
Line 28: Line 19:
| order by = Items.radiationsickness ASC, Items._pagename
| order by = Items.radiationsickness ASC, Items._pagename
| format = template
| format = template
| template = Sandbox/row
| template = Sandbox/row/ext
| delimiter = <br>
| named args = yes
| default = None
}}
 
{{#cargo_query: tables = Items
| fields = Items.name, Items.type, Items.skill, Items.duration, Items.burn=magnitude, Items.burnfail=magnitudefail, Items.burnsyringe=magnitudesyringe
| where = Items.burn > 0
| order by = Items.burn ASC, Items._pagename
| format = template
| template = Sandbox/row/ext
| delimiter = <br>
| delimiter = <br>
| named args = yes
| named args = yes

Latest revision as of 00:30, 9 January 2022

Sandbox

Creating Afflictions_table template for use as substitute for Afflictions#DataTable

Afflictions_table will query table Afflictions for use as rows. These rows will query table Items (and potentially Creatures) for affliction in-/decreasing values.

Sandbox = Afflictions_table Sandbox/row = Affliction_table/row Sandbox/row/ext = Afflictions_table/row/ext (?)

Weapon Stats Ammunition Stats Notes
Weapon Name RPS Ammunition Afflictions Penetration
Error: No field named "type" found for the database table "Items".


Cargo Query Playground

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".

Treatments for Radiation Sickness:

Error: No field named "type" found for the database table "Items".

Causes of Radiation Sickness:

Error: No field named "type" found for the database table "Items".