Adds new different reaction types. (#2114)

* Adds new different reaction types.
- Adds touch, injection and ingestion reactions for entities.
- Adds tile reactions.
- Removes GasSprayerComponent in favor of SprayComponent.
- Gives fire extinguishers a safety.
- Gives spray puffs a sprite.
- Improved spray and fire extinguisher in general.
- Fire extinguisher now ACTUALLY puts out fires. Amazing, eh?
- Fire extinguisher sprays three 'clouds' at once.
- Spraying flammable chemicals at fire makes them worse. Whoops!
- Gives spray and fire extinguisher their classic sounds.
- Most chemicals now don't make puddles. Too bad!
- Space lube now makes a very slippery puddle. Honk.
- Spraying water (or using a fire extinguisher) on existing puddles makes them bigger.

* Fix solution tests

* food base now has solution container with noexamine caps
This commit is contained in:
Víctor Aguilera Puerto
2020-09-21 17:51:07 +02:00
committed by GitHub
parent 37d6ca556f
commit 69059eac80
51 changed files with 1006 additions and 471 deletions

View File

@@ -28,6 +28,9 @@
metabolism:
- !type:DefaultDrink
rate: 1
tileReactions:
- !type:ExtinguishTileReaction {}
- !type:SpillIfPuddlePresentTileReaction {}
- type: reagent
id: chem.Ice
@@ -46,6 +49,9 @@
color: "#7e009e"
boilingPoint: -127.3 # Random values picked between the actual values for CO2 and O2
meltingPoint: -186.4
tileReactions:
- !type:FlammableTileReaction
temperatureMultiplier: 1.5
- type: reagent
id: chem.Ethanol
@@ -55,6 +61,9 @@
color: "#b05b3c"
boilingPoint: 78.2
meltingPoint: -114.1
tileReactions:
- !type:FlammableTileReaction
temperatureMultiplier: 1.35
- type: reagent
id: chem.Glucose
@@ -118,6 +127,7 @@
color: "#c8ff69"
boilingPoint: 147.0 # Made this up, loosely based on bleach
meltingPoint: -11.0
# You should probably add a tile reaction here that tries to clean the tile.
- type: reagent
id: chem.SpaceLube
@@ -127,6 +137,11 @@
color: "#77b58e"
boilingPoint: 290.0 # Glycerin
meltingPoint: 18.2
tileReactions:
- !type:SpillTileReaction
paralyzeTime: 3
launchForwardsMultiplier: 2
requiredSlipSpeed: 1
- type: reagent
id: chem.TableSalt
@@ -145,6 +160,9 @@
color: "#757245"
boilingPoint: 2977.0 # Aluminum oxide
meltingPoint: 2030.0
tileReactions:
- !type:FlammableTileReaction
temperatureMultiplier: 1.35
- type: reagent
id: chem.UnstableMutagen
@@ -163,3 +181,5 @@
color: "#a76b1c"
boilingPoint: -84.7 # Acetylene. Close enough.
meltingPoint: -80.7
tileReactions:
- !type:FlammableTileReaction