add Fresium, a chillingly complex chemical to prank your friends with (#22527)

* everything

* tweakeroo

* maintspill

* some balancing and tweaking

* adds ice tags and gives it to ice crust

* fix code because im smart im the smart guy yeah that's me

* yeah

* oops

* do you wanna try that again

* conserve matter

* im rather smart
This commit is contained in:
CrigCrag
2023-12-21 00:35:22 -05:00
committed by Debug
parent c2dec59a53
commit 4d98a7db2c
8 changed files with 147 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
fresium-effect-freeze-insides = You feel your insides freezing up!
fresium-effect-frozen = Your legs have completely frozen up!
fresium-effect-slow = Your legs buckle and struggle to move!

View File

@@ -18,3 +18,6 @@ reagent-desc-licoxide = A synthetic battery acid. It looks... electrifying.
reagent-name-razorium = razorium
reagent-desc-razorium = A strange, non-newtonian chemical. It is produced when two conflicting brute medications are combined. When force is applied to it, it temporarily hardens creating millions of tiny, sharp edges. Very painful.
reagent-name-fresium = Fresium
reagent-desc-fresium = A mysterious compound that slows the vibration of atoms and molecules... somehow. In layman's terms, it makes things cold... REALLY cold. Can cause long-lasting movement issues if ingested.

View File

@@ -21,6 +21,8 @@
- type: Clickable
- type: Transform
anchored: true
- type: Tag
tags: [ Ice ]
- type: Physics
- type: Fixtures
fixtures:

View File

@@ -37,6 +37,7 @@
- Pax
- Tricordrazine
- SodiumPolyacrylate
- Fresium
- quantity: 20
weight: 5
reagents:

View File

@@ -205,3 +205,96 @@
- !type:Emote
emote: Scream
probability: 0.3
- type: reagent
id: Fresium
name: reagent-name-fresium
group: Toxins
slippery: true
desc: reagent-desc-fresium
physicalDesc: reagent-physical-desc-frosty
flavor: cold
color: "#b3f1ff"
boilingPoint: 50.0
meltingPoint: 45.0
tileReactions:
- !type:CreateEntityTileReaction
entity: IceCrust
maxOnTileWhitelist:
tags: [ Ice ]
- !type:ExtinguishTileReaction { }
reactiveEffects:
Acidic:
methods: [ Touch ]
effects:
- !type:HealthChange
scaleByQuantity: true
ignoreResistances: false
damage:
types:
Cold: 0.05
- !type:AdjustTemperature
conditions:
- !type:Temperature
min: 160.15
amount: -30000
Extinguish:
methods: [ Touch ]
effects:
- !type:ExtinguishReaction # cold
metabolisms:
Poison:
metabolismRate : 0.45
effects:
- !type:HealthChange
damage:
types:
Cold: 0.01 # slightly nips directly, other cold damage comes from the temp change
Burn: -3 # ghetto burn chem. i don't think anyone would use this intentionally but it's funny
- !type:PopupMessage
conditions:
- !type:ReagentThreshold
reagent: Fresium
max: 35
type: Local
visualType: LargeCaution
messages: [ "fresium-effect-freeze-insides"]
probability: 0.05
- !type:PopupMessage
conditions:
- !type:ReagentThreshold
reagent: Fresium
max: 35
type: Local
visualType: LargeCaution
messages: [ "fresium-effect-slow"]
probability: 0.2
- !type:AdjustTemperature
conditions:
- !type:Temperature
min: 160.15 # not quite enough for cryo, but can speed it up if you wanna take the risk
amount: -10000
- !type:MovespeedModifier
conditions:
- !type:ReagentThreshold
reagent: Fresium
max: 40 # slows when less than 40
walkSpeedModifier: 0.6
sprintSpeedModifier: 0.6
- !type:MovespeedModifier
conditions:
- !type:ReagentThreshold
reagent: Fresium
min: 40 # your legs stop working when above 40
walkSpeedModifier: 0.00
sprintSpeedModifier: 0.00
- !type:PopupMessage
conditions:
- !type:ReagentThreshold
reagent: Fresium
min: 40
type: Local
visualType: LargeCaution
messages: [ "fresium-effect-frozen"]
probability: 0.4

View File

@@ -501,6 +501,9 @@
visualType: Medium
messages: [ "leporazine-effect-temperature-adjusting" ]
probability: 0.2
- !type:AdjustReagent
reagent: Fresium
amount: -5
- type: reagent
id: Barozine

View File

@@ -108,6 +108,44 @@
- !type:CreateEntityReactionEffect
entity: SheetPlastic1
- type: reaction
id: FlashFreezeIce
quantized: true
reactants:
Fresium:
amount: 1
Water:
amount: 1
effects:
- !type:CreateGas
gas: Frezon
products:
Ice: 5
- type: reaction
id: Fresium
priority: 20
maxTemp: 300
reactants:
Frezon:
amount: 3
Plasma:
amount: 1
catalyst: true
Nitrogen:
amount: 2
Cryoxadone:
amount: 0.22
TableSalt:
amount: 0.08
Water:
amount: 1.5
effects:
- !type:CreateGas
gas: Nitrogen
products:
Fresium: 5
- type: reaction
id: FiberBreakdown
requiredMixerCategories:
@@ -121,3 +159,4 @@
products:
Carbon: 3
Sugar: 2

View File

@@ -632,6 +632,9 @@
- type: Tag
id: Hotsauce
- type: Tag
id: Ice
- type: Tag
id: Igniter