Sleep Gas Generation: Difference between revisions

578 bytes added ,  20:34, 3 October 2020
updated for mutation patch
(Added an advantages & disadvantages section)
(updated for mutation patch)
Line 1: Line 1:
{{As Of Patch|2.0.199.1}}
__NOTOC__{{As Of Patch|2.0.201.44}}
{{Mutation
{{Mutation
| title = {{PAGENAME}}
| title = {{PAGENAME}}
Line 5: Line 5:
| type = Physical
| type = Physical
| cost = 2
| cost = 2
| id = GasGenerationSleepGas
| id = SleepGasGeneration
| exclusions = Corrosive Gas Generation
| code = bu
| code = bu
| desc = You release a burst of sleep gas around yourself.
| desc = You release a burst of sleep gas around yourself.


Releases gas for (1 + Level / 2) rounds\nCooldown: 35 rounds\n
Releases gas for &C(level based)&y rounds\nCooldown: 35 rounds\n
| realitydistort = no
| realitydistort = no
}}
}}
:<span style="font-size:small;"><i>Note that for easier wiki use, ID has its GasObject constructor appended to it. The ingame id is GasGeneration with constructor="SleepGas".</i></span>
{{name}} is a physical mutation generates [[sleep gas]], which can cause other creatures to fall [[asleep]]. Creatures that have this mutation are also themselves immune to all sleep gas, including sleep gas generated by other hostile creatures. This immunity does not extend beyond gas (it won't prevent other forms of sleep).
{{name}} is a physical mutation that both player characters and non-player characters can use to generate [[gas]] that induces [[asleep]] in the surrounding squares. A secondary effect of having this mutation is that the creature will also become immune to all sleep gas, including those generated by other hostile creatures.


Generating gas must be toggled on in the abilities menu. Upon choosing to generate gas, at the end of each turn, {{favilink|sleep gas}} will generate in the surrounding 8 squares of the generator, excluding cells with [[occluding]] objects such as walls or closed doors. Once toggled on, the ability cannot be turned off until it has finished generating gas for the full number of turns based on the current mutation's level. The density of the gas in each cell is <math>\frac{800}{\text{total cells}}</math>. By default, this would mean a minimum density of 100 sleep gas for each of the surrounding 8 squares. Occluding squares will cause the remaining empty cells to have higher concentrated density of sleep gas, with a maximum density of 800 if only one cell is non occluding.
In order to be affected by sleep gas, a creature must [[Respiration|respire]]. [[Robots]] and holograms do not respire and cannot be affected by sleep gas.


Any creature that is not immune to the effects of sleep gas that enters these gas clouds must make a [[Toughness]] [[save]] of <math>5 + \text{Mutation Level} + \frac{\text{Density}}{10}</math>. If the creature fails this save, they will fall asleep for {{Dice tooltip|4d6}} + Mutation Level.<ref><code>XRL.World.Parts.GasSleep</code></ref>
Generating gas must be toggled on in the abilities menu. Upon choosing to generate gas, at the end of each turn, {{favilink|sleep gas}} will generate in all of the open-air tiles surrounding the generator, excluding cells with [[occluding]] objects such as walls or closed doors. Once toggled on, the ability cannot be turned off until it has finished generating gas for the full number of turns based on the current mutation's level. The density of the gas in each cell is <math>\frac{800}{\text{total cells}}</math>. By default, this would mean a minimum density of 100 sleep gas for each of the surrounding 8 squares. Occluding squares will cause the remaining empty cells to have higher concentrated density of sleep gas, with a maximum density of 800 if only one cell is non occluding.
 
Any creature that is not immune to the effects of sleep gas that enters these gas clouds must make a [[Toughness]] [[save]] of <math>5 + \text{Mutation Level} + \frac{\text{Density}}{10}</math>. Items such as the {{favilink|vinewood sap mask}} or {{favilink|gas mask}} provide a bonus to this Toughness save and reduce the effective density of gas for purposes of the calculation. If the creature fails this save, they will fall asleep for '''{{Dice tooltip|4d6}} + Mutation Level''' rounds.<ref><code>XRL.World.Parts.GasSleep</code></ref>


==Advancement Table==
==Advancement Table==
Due to the difference in save depending on the gas density, three  values will be given: the minimum and maximum values assuming that all 8 surrounding cells are non occluding or all but 1 cell is non occluding respectively, and a base value before the density is calculated. This also assumes that the gas in one cell was generated for only one turn.
Due to the difference in save depending on the gas density, three  values will be given: the minimum and maximum values assuming that all 8 surrounding cells are non occluding or all but 1 cell is non occluding respectively, and a base value before the density is calculated. This also assumes that the gas in one cell was generated for only one turn. If gas is generated for multiple turns, the density can increase to significantly higher levels.
{|class = "wikitable"
{|class = "wikitable"
!Mutation Level
!Mutation Level
Line 28: Line 28:
!Turns Asleep
!Turns Asleep
|-
|-
|1
| 1
|1
| 3
|16-86 (Base: 6)
|16-86 (Base: 6)
|{{Dice tooltip|4d6+1}}
|{{Dice tooltip|4d6+1}}
|-
|-
|2
| 2
|1
| 4
|17-87 (Base: 7)
|17-87 (Base: 7)
|{{Dice tooltip|4d6+2}}
|{{Dice tooltip|4d6+2}}
|-
|-
|3
| 3
|2
| 5
|18-88 (Base: 8)
|18-88 (Base: 8)
|{{Dice tooltip|4d6+3}}
|{{Dice tooltip|4d6+3}}
|-
|-
|4
| 4
|2
| 6
|19-89 (Base: 9)
|19-89 (Base: 9)
|{{Dice tooltip|4d6+4}}
|{{Dice tooltip|4d6+4}}
|-
|-
|5
| 5
|3
| 7
|20-90 (Base: 10)
|20-90 (Base: 10)
|{{Dice tooltip|4d6+5}}
|{{Dice tooltip|4d6+5}}
|-
|-
|6
| 6
|3
| 8
|21-91 (Base: 11)
|21-91 (Base: 11)
|{{Dice tooltip|4d6+6}}
|{{Dice tooltip|4d6+6}}
|-
|-
|7
| 7
|4
| 9
|22-92 (Base: 12)
|22-92 (Base: 12)
|{{Dice tooltip|4d6+7}}
|{{Dice tooltip|4d6+7}}
|-
|-
|8
| 8
|4
| 10
|23-93 (Base: 13)
|23-93 (Base: 13)
|{{Dice tooltip|4d6+8}}
|{{Dice tooltip|4d6+8}}
|-
|-
|9
| 9
|5
| 11
|24-94 (Base: 14)
|24-94 (Base: 14)
|{{Dice tooltip|4d6+9}}
|{{Dice tooltip|4d6+9}}
|-
|-
|10
| 10
|5
| 12
|25-95 (Base: 15)
|25-95 (Base: 15)
|{{Dice tooltip|4d6+10}}
|{{Dice tooltip|4d6+10}}
|}
|}
=== Formulas ===
The following formula is used to determine duration.{{Code Reference|namespace=XRL.World.Parts.Mutation|class=SleepGasGeneration}}
<div style="display:inline-block;font-size:130%;color:#009403;">Level '''+ 2'''</div>


==Advantages & Disadvantages==
==Advantages & Disadvantages==
Line 83: Line 87:
===Advantages===
===Advantages===
* Can serve a defensive purpose as fairly powerful panic button.
* Can serve a defensive purpose as fairly powerful panic button.
* Is quite powerful throughout the entire game, even if left at level 1.
* Can serve an offensive purpose, as [[asleep|sleeping]] enemies suffer a large [[DV]] penalty and attacks against sleeping enemies get a bonus to penetration.
* Can serve an offensive purpose, as [[asleep|sleeping]] enemies suffer a large [[DV]] penalty and attacks against sleeping enemies get a bonus to penetration.
* Grants immunity to {{Favilink|Sleep gas}}.
* Grants immunity to {{Favilink|Sleep gas}}.