This commit is contained in:
Rane
2022-07-27 00:46:24 -04:00
committed by GitHub
parent 963ddd507b
commit 1c8bdaf7c4
53 changed files with 698 additions and 36 deletions

View File

@@ -111,6 +111,7 @@
- SlowedDown
- Stutter
- Electrocution
- ForcedSleep
- type: Body
template: AnimalTemplate
preset: AnimalPreset
@@ -177,6 +178,7 @@
- SlowedDown
- Stutter
- Electrocution
- ForcedSleep
- type: ThermalRegulator
metabolismHeat: 800
radiatedHeat: 100

View File

@@ -81,6 +81,7 @@
- SlurredSpeech
- PressureImmunity
- Muted
- ForcedSleep
- type: DiseaseCarrier
- type: Blindable
# Other

View File

@@ -161,6 +161,25 @@
- Back
- suitStorage
- type: entity
parent: GasTankBase
id: NitrousOxideTank
name: nitrous oxide tank
description: Contains a mixture of air and nitrous oxide. Make sure you don't refill it with pure N2O.
components:
- type: Sprite
sprite: Objects/Tanks/anesthetic.rsi
- type: GasTank
outputPressure: 101.325
air:
volume: 70
temperature: 293.15
- type: Clothing
sprite: Objects/Tanks/anesthetic.rsi
Slots:
- Back
- suitStorage
- type: entity
parent: GasTankBase
id: PlasmaTank

View File

@@ -90,3 +90,23 @@
components:
- type: GasMiner
spawnGas: WaterVapor
- type: entity
name: Miasma gas miner
parent: GasMinerBase
id: GasMinerMiasma
placement:
mode: SnapgridCenter
components:
- type: GasMiner
spawnGas: Miasma
- type: entity
name: Nitrous Oxide gas miner
parent: GasMinerBase
id: GasMinerNitrousOxide
placement:
mode: SnapgridCenter
components:
- type: GasMiner
spawnGas: NitrousOxide

View File

@@ -360,7 +360,7 @@
components:
- type: Sprite
layers:
- state: redws
- state: greenys
- type: GasCanister
gasMixture:
volume: 1000
@@ -390,6 +390,44 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
parent: GasCanister
id: NitrousOxideCanister
name: nitrous oxide canister
components:
- type: Sprite
layers:
- state: redws
- type: GasCanister
gasMixture:
volume: 1000
moles:
- 0 # oxygen
- 0 # nitrogen
- 0 # CO2
- 0 # Plasma
- 0 # Tritium
- 0 # Water vapor
- 0 # Miasma
- 1871.71051 # N2O
temperature: 293.15
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 300
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
NitrousOxideCanisterBroken:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
# Broke Entities
@@ -512,6 +550,15 @@
id: MiasmaCanisterBroken
name: broken miasma canister
noSpawn: true
components:
- type: Sprite
state: greenys-1
- type: entity
parent: GasCanisterBrokenBase
id: NitrousOxideCanisterBroken
name: broken nitrous oxide canister
noSpawn: true
components:
- type: Sprite
state: redws-1

View File

@@ -27,6 +27,7 @@
Tritium: danger
WaterVapor: danger
Miasma: danger
NitrousOxide: danger
- type: AtmosAlarmable
alarmedBy: ["AirAlarm"]
- type: AtmosDevice