User:KingDom: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "=Sandbox= Treatments for Radiation Sickness: {{#cargo_query: tables = Items | fields = Items.identifier, Items.name, Items.icon, Items.description, Items.type, Items.skill, I...")
 
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Sandbox=
=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 (?)
{{Sandbox}}
=Cargo Query Playground=
{{#cargo_query: tables = Items
| fields = Items.name, Items.type, Items.skill, Items.duration, Items.radiationsickness=magnitude, Items.radiationsicknessfail=magnitudefail, Items.radiationsicknesssyringe=magnitudesyringe
| where = Items.radiationsickness < 0
| order by = Items.radiationsickness ASC, Items._pagename
| format = template
| 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>
| named args = yes
| default = None
}}


Treatments for Radiation Sickness:
Treatments for Radiation Sickness:

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".