* stuff i'll have to fix anyway when n2o gets merged

* everything except the finished reactions

* freon coolant reaction but with bad curve

* miasmic subsumation

* freon production

* nitrogen and diff temp scaling

* uhh meant to change that

* #

* hitting that frezon boof
This commit is contained in:
Kara
2022-07-27 02:55:28 -07:00
committed by GitHub
parent 86089f2213
commit 7a553781cc
24 changed files with 344 additions and 13 deletions

View File

@@ -77,3 +77,15 @@
molarMass: 44
color: 2887E8
reagent: NitrousOxide
- type: gas
id: 8
name: Frezon
specificHeat: 600 # Strongest by far
heatCapacityRatio: 1.33
molarMass: 50
gasOverlaySprite: /Textures/Effects/atmospherics.rsi
gasOverlayState: frezon
gasMolesVisible: 0.6
color: 3a758c
reagent: Frezon

View File

@@ -23,6 +23,54 @@
effects:
- !type:TritiumFireReaction {}
- type: gasReaction
id: FrezonCoolant
priority: 1
minimumTemperature: 23.15
minimumRequirements:
- 0 # oxygen
- 0.01 # nitrogen
- 0 # carbon dioxide
- 0 # plasma
- 0 # tritium
- 0 # vapor
- 0 # miasma
- 0.01 # frezon
effects:
- !type:FrezonCoolantReaction {}
- type: gasReaction
id: FrezonProduction
priority: 2
maximumTemperature: 73.15 # Cold tritium fire, basically.
minimumRequirements:
- 0.01 # oxygen
- 0.01 # nitrogen
- 0 # carbon dioxide
- 0 # plasma
- 0.01 # tritium
- 0 # vapor
- 0 # miasma
- 0 # frezon
effects:
- !type:FrezonProductionReaction {}
- type: gasReaction
id: MiasmicSubsumation
priority: 0
maximumTemperature: 5066.25
minimumRequirements:
- 0 # oxygen
- 0 # nitrogen
- 0 # carbon dioxide
- 0 # plasma
- 0 # tritium
- 0 # vapor
- 0.01 # miasma
- 0.01 # frezon
effects:
- !type:MiasmicSubsumationReaction {}
#- type: gasReaction
# id: WaterVaporPuddle
# priority: 1

View File

@@ -12,7 +12,7 @@
- shader: unshaded
map: ["enum.EffectLayers.Unshaded"]
sprite: Effects/atmospherics.rsi
state: freon_old
state: frezon_old
- type: EffectVisuals
- type: AnimationPlayer

View File

@@ -428,6 +428,44 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
parent: GasCanister
id: FrezonCanister
name: frezon canister
description: A coolant with light hallucinogenic properties. Proceed.
components:
- type: Sprite
layers:
- state: frezon
- type: GasCanister
gasMixture:
volume: 1000
moles:
- 0 # oxygen
- 0 # nitrogen
- 0 # CO2
- 0 # Plasma
- 0 # Tritium
- 0 # Water vapor
- 0 # Miasma
- 1871.71051 # Frezon
temperature: 293.15
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 300
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
FrezonCanisterBroken:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
# Broke Entities
@@ -562,3 +600,12 @@
components:
- type: Sprite
state: redws-1
- type: entity
parent: GasCanisterBrokenBase
id: FrezonCanisterBroken
name: broken frezon canister
noSpawn: true
components:
- type: Sprite
state: frezon-1

View File

@@ -280,3 +280,57 @@
damage:
types:
Poison: 0.25
- type: reagent
id: Frezon
name: reagent-name-frezon
desc: reagent-desc-frezon
physicalDesc: reagent-physical-desc-gaseous
color: "#3a758c"
boilingPoint: -195.8
meltingPoint: -210.0
metabolisms:
Gas:
effects:
- !type:HealthChange
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 0.5
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Cellular: 0.01
- !type:GenericStatusEffect
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1
key: SeeingRainbows
component: SeeingRainbows
type: Add
time: 5
refresh: false
- !type:Drunk
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1
- !type:PopupMessage
type: Local
messages: [ "frezon-lungs-cold" ]
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 0.5
- !type:PopupMessage
type: Local
visualType: Medium
messages: [ "frezon-euphoric" ]
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1