Delta-v/Content.Server/EntityEffects/Effects
Pieter-Jan Briers 843d79be5f
Fire extinguishers can now extinguish items, including when held/worn (#36267)
* Fire extinguishers now put out candles

This did not actually require any changes to flammable or extinguishers directly, the only necessary changes were to make the collision actually work.

Vapor entities (also used for fire extinguishers) now have a collision layer, so they can hit items.

Added a new FlammableSetCollisionWake component to actually enable collision on candles while they are lit, because otherwise CollisionWake on entities gets in the way too.

* Extinguishing items is now relayed to held/worn items

This means held candles get extinguished too.

Involved moving the core logic of ExtinguishReaction into an event so that it can be relayed via the existing hand/inventory relay logic.

* Add helper functions for subscribing to relayed events.

Use these in FlammableSystem

* Make extinguishers work on cigarettes too

A bunch of renaming to make the rest of my code work with SmokableComponent

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2025-04-14 19:00:47 +10:00
..
PlantMetabolism Sedin (#27110) 2024-08-15 10:38:21 +10:00
StatusEffects Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ActivateArtifact.cs dont log missing ArtifactComponent for artifexium (#32073) 2024-09-11 19:06:51 +03:00
AddToSolutionReaction.cs Replace instances of SolutionContainerSystem with SharedSolutionContainerSystem (#30084) 2024-09-02 13:26:04 +02:00
AdjustAlert.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
AdjustReagent.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
AdjustTemperature.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
AreaReactionEffect.cs Entity effects warnings cleanup (#36166) 2025-04-14 13:58:53 +10:00
CauseZombieInfection.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ChemCleanBloodstream.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ChemHealEyeDamage.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ChemVomit.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
CreateEntityReactionEffect.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
CreateGas.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
CureZombieInfection.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
Drunk.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
Electrocute.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
Emote.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
EmpReactionEffect.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ExplosionReactionEffect.cs Juice that makes you go boom (#34730) 2025-01-30 12:34:32 +01:00
ExtinguishReaction.cs Fire extinguishers can now extinguish items, including when held/worn (#36267) 2025-04-14 19:00:47 +10:00
FlammableReaction.cs Make Ignite tryget flammablecomp (#34970) 2025-02-08 11:56:44 +01:00
FlashReactionEffect.cs Add flash reaction effect (#32377) 2024-10-26 00:47:11 +02:00
Glow.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
HealthChange.cs Add ability for +VVEDIT users to scale damage/healing in the game (#35255) 2025-02-18 08:28:42 +01:00
Ignite.cs Make Ignite tryget flammablecomp (#34970) 2025-02-08 11:56:44 +01:00
MakeSentient.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ModifyBleedAmount.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ModifyBloodLevel.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ModifyLungGas.cs Quick warning fixes (#31694) 2024-09-01 04:54:39 +02:00
MovespeedModifier.cs Entity effects warnings cleanup (#36166) 2025-04-14 13:58:53 +10:00
Oxygenate.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
Paralyze.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
PlantChangeStat.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
PlantMutateChemicals.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
PlantMutateGases.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
PlantMutateHarvest.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
PlantSpeciesChange.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
Polymorph.cs Quick warning fixes (#31694) 2024-09-01 04:54:39 +02:00
PopupMessage.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ReduceRotting.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
ResetNarcolepsy.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
SatiateHunger.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
SatiateThirst.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
Slipify.cs Botany Rework Part 1: Mutations (#31163) 2024-09-14 20:12:17 -07:00
SolutionTemperatureEffects.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
WashCreamPieReaction.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00
WearableReaction.cs Turn ReagentEffects into generic EntityEffects (#28168) 2024-06-30 13:43:43 +10:00