User:KingDom: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
mNo edit summary |
||
(7 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 | {{#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 6: | Line 19: | ||
| order by = Items.radiationsickness ASC, Items._pagename | | order by = Items.radiationsickness ASC, Items._pagename | ||
| format = template | | format = template | ||
| template = Sandbox | | 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".