Defoliant: Difference between revisions

5,203 bytes added ,  23:13, 13 November 2020
no edit summary
imported>Trashmonks
(Updated by egocarib with game version 2.0.201.48 using QBE v1.0rc2)
No edit summary
Line 15: Line 15:
}}
}}
<!-- END QBE -->
<!-- END QBE -->
{{No Description}}
{{tocright}}{{name}} is a type of [[gas]] that is a damaging to plants and to objects composed of plant matter. {{name}} can seep through walls and other occluding objects.


It can also damage worn equipment (such as a {{favilink|vine-weave tunic}}), but does not affect items held in the inventory.
== Sources ==
Common sources of {{name}}, with their level and density, include:{{Code Reference|namespace=XRL.World.Parts|class=Gas}}
{| class="wikitable"
! Source
! Gas Level
! Gas Density
! Reference
|-
| {{favilink|defoliant pump}}
| 1
|{{dice tooltip|4d10}} in each cell that a pump projectile passes through<br>{{dice tooltip|8d10}} in each cell where a projectile hits a solid target<br>5 projectiles fired per shot, gas emissions from each projectile stack
| {{Code Reference|class=GasOnEntering}}{{Code Reference|class=GasOnHit}}
|-
| {{favilink|billowing conch of the Aji}}
| 5
| 800 per turn, divided evenly into non-solid adjacent squares
| {{Code Reference|namespace=XRL.World.Parts|class=AjiConch}}
|-
| {{favilink|defoliant grenade mk I}}
| 1
| 200
| <ref name="GasGrenade"><code>XRL.World.Parts.GasGrenade</code></ref><ref name="ObjectBlueprints"><code>ObjectBlueprints.xml</code></ref>
|-
| {{favilink|defoliant grenade mk II}}
| 1
| 400
| <ref name="GasGrenade" /><ref name="ObjectBlueprints" />
|-
| {{favilink|defoliant grenade mk III}}
| 1
| 800
| <ref name="GasGrenade" /><ref name="ObjectBlueprints" />
|-
| {{favilink|vents with moss particulate}}
| 1
| {{dice tooltip|1d60+40}}
| {{Code Reference|namespace=XRL.World.Parts|class=WalltrapGas}}
|}
== Damage ==
The damage done by defoliant depends on the target.<ref name="GasDamaging"><code>XRL.World.Parts.GasDamaging</code></ref> For a more detailed breakdown of the types of targets listed here, refer to the Objects Affected section below.
* Defoliant deals damage to [[Photosynthetic Skin|photosynthetic creatures]] and to ''mutated plants''. ''Mutated plants'' more or less encompasses all plants that are combat-capable and have faction associations.
* Defoliant deals significantly increased damage to all other plants, generally meaning any sessile plants that are not capable of combat and do not have faction associations.
* Defoliant deals significantly increased damage to objects composed of plant matter.
* Defoliant deals '''''no''''' damage to anything else.
The following damage formulas are used to calculate defoliant damage:<ref name="GasDamaging" />
{| class="wikitable"
| style="border-top:1px solid transparent;border-left:1px solid transparent" |
! Formula
! Notes
|-
! Photosynthetic creatures and mutated plants
| {{simple formula | ( Density * GasLevel ) / 200 }}
| (rounded up)
|-
! Sessile plants and plant-matter objects
| {{simple formula | ( 0.75 * GasLevel + 0.25 ) * Density }}
| (rounded up)
|}
In theory, this means that a typical cloud of defoliant gas (~100 density) will deal approximately:
* '''<u>1 damage per turn</u>''' to mutated plants.
* '''<u>100 damage per turn</u>''' to sessile plants or objects composed of plant matter.
In practice, gas damage is highly variable due to a significant amount of randomization involved in gas behavior. Gas is constantly moving between cells, dissipating over time, merging with other gas, and being affected by random calculations in the game engine. Its density, which is the main predictor of damage, is always changing. For more information about the mechanics of gas behavior, visit the [[Gas]] page.
The density of defoliant can get significantly higher than 100 if several sources of it are combined, such as multiple {{favilink|defoliant grenade mk III|plural}} or successive shots from a {{favilink|defoliant pump}}. Because defoliant can seep through walls, however, it will not be contained by enclosed rooms or tight hallways - it will continue to spread and dissipate after it is released.
The following table indicates how much damage defoliant of a certain level will do per round, depending on gas level and density.
== Objects Affected ==
<div style="display:flex;flex-wrap:wrap;">
<div style="margin-right: 2.5em;">
=== Mutated Plants ===
<div style="min-width:280px;color:var(--qud-color-k);font-weight:bold;">(Normal Damage)</div>
{{#cargo_query:tables=ExtraInfo
|fields=CONCAT('{{(}}favilink{{!}}',_pageName,'{{)}}')
|where=Info LIKE "%Mutated plant,,,%"
|format=ul
}}
</div>
<div style="margin-right: 2.5em;">
=== Sessile Plants ===
<div style="min-width:280px;color:var(--qud-color-k);font-weight:bold;">(Significant Damage)</div>
{{#cargo_query:tables=GeneralData
|fields=CONCAT('{{(}}favilink{{!}}',_pageName,'{{)}}')
|where=Categories='Plants' AND _pageNamespace='0'
|format=ul
}}
</div>
<div style="margin-right: 2.5em;">
=== Objects Composed of Plant Matter ===
<div style="min-width:280px;color:var(--qud-color-k);font-weight:bold;">(Significant Damage)</div>
* {{favilink|glowpad corpse}}
* {{favilink|grassy yurtmat}}
* {{favilink|leafy helm}}
* {{favilink|leafy vest}}
* {{favilink|plant matter}}
* {{favilink|seed spitter}}
* {{favilink|sower's seed}}
* {{favilink|tangled mudroot}}
* {{favilink|thistle pitcher}}
* {{favilink|urberry}}
* {{favilink|vine-weave tunic}}
</div>
</div>
{{references|2.0.201.49}}
[[Category:Gases]]
[[Category:Gases]]