]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Move entity effects definitions to shared (#35614)
authorpathetic meowmeow <uhhadd@gmail.com>
Fri, 23 May 2025 16:32:22 +0000 (12:32 -0400)
committerGitHub <noreply@github.com>
Fri, 23 May 2025 16:32:22 +0000 (12:32 -0400)
commitbf41de18aa07dca253975e15c1722a1813742f5b
treea5e10af38be116df399aaa9faed8bd65badb5d23
parent7ba81173bd5e2feb91bdeacaf13f356631e4ea71
Move entity effects definitions to shared (#35614)

* Move entity effects to shared

* relocate spawning to server

* Generic version of EntityEffect for just raising event.

* genericise everything

* oops forgot to push you

* some condensation

* finish rebas

* unwhite the space

* oops forgot nuke

* bad rebase fix

* useless annotations begone

---------

Co-authored-by: EmoGarbage404 <retron404@gmail.com>
132 files changed:
Content.Server/Body/Systems/BloodstreamSystem.cs
Content.Server/Body/Systems/RespiratorSystem.cs
Content.Server/Botany/SeedPrototype.cs
Content.Server/EntityEffects/EffectConditions/BreathingCondition.cs [deleted file]
Content.Server/EntityEffects/EffectConditions/OrganType.cs [deleted file]
Content.Server/EntityEffects/Effects/AdjustTemperature.cs [deleted file]
Content.Server/EntityEffects/Effects/AreaReactionEffect.cs [deleted file]
Content.Server/EntityEffects/Effects/CauseZombieInfection.cs [deleted file]
Content.Server/EntityEffects/Effects/ChemCleanBloodstream.cs [deleted file]
Content.Server/EntityEffects/Effects/ChemVomit.cs [deleted file]
Content.Server/EntityEffects/Effects/CreateEntityReactionEffect.cs [deleted file]
Content.Server/EntityEffects/Effects/CreateGas.cs [deleted file]
Content.Server/EntityEffects/Effects/CureZombieInfection.cs [deleted file]
Content.Server/EntityEffects/Effects/EmpReactionEffect.cs [deleted file]
Content.Server/EntityEffects/Effects/FlammableReaction.cs [deleted file]
Content.Server/EntityEffects/Effects/FlashReactionEffect.cs [deleted file]
Content.Server/EntityEffects/Effects/Ignite.cs [deleted file]
Content.Server/EntityEffects/Effects/MakeSentient.cs [deleted file]
Content.Server/EntityEffects/Effects/ModifyBleedAmount.cs [deleted file]
Content.Server/EntityEffects/Effects/ModifyBloodLevel.cs [deleted file]
Content.Server/EntityEffects/Effects/ModifyLungGas.cs [deleted file]
Content.Server/EntityEffects/Effects/Oxygenate.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantChangeStat.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustHealth.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustMutationLevel.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustMutationMod.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustNutrition.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustPests.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustPotency.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustToxins.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustWater.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustWeeds.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAffectGrowth.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantCryoxadone.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantDestroySeeds.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantDiethylamine.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantPhalanximine.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/PlantRestoreSeeds.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMetabolism/RobustHarvest.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMutateChemicals.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMutateGases.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantMutateHarvest.cs [deleted file]
Content.Server/EntityEffects/Effects/PlantSpeciesChange.cs [deleted file]
Content.Server/EntityEffects/Effects/ReduceRotting.cs [deleted file]
Content.Server/EntityEffects/Effects/ResetNarcolepsy.cs [deleted file]
Content.Server/EntityEffects/Effects/SatiateHunger.cs [deleted file]
Content.Server/EntityEffects/EntityEffectSystem.cs [new file with mode: 0644]
Content.Server/Fluids/EntitySystems/SmokeSystem.cs
Content.Server/Nutrition/EntitySystems/DrinkSystem.cs
Content.Shared/Chemistry/Reaction/ReactionPrototype.cs
Content.Shared/Chemistry/Reagent/ReagentPrototype.cs
Content.Shared/EntityEffects/EffectConditions/BodyTemperature.cs [moved from Content.Server/EntityEffects/EffectConditions/BodyTemperature.cs with 52% similarity]
Content.Shared/EntityEffects/EffectConditions/BreathingCondition.cs [new file with mode: 0644]
Content.Shared/EntityEffects/EffectConditions/HasTagCondition.cs [moved from Content.Server/EntityEffects/EffectConditions/HasTagCondition.cs with 86% similarity]
Content.Shared/EntityEffects/EffectConditions/InternalsCondition.cs [moved from Content.Server/EntityEffects/EffectConditions/InternalsCondition.cs with 100% similarity]
Content.Shared/EntityEffects/EffectConditions/JobCondition.cs [moved from Content.Server/EntityEffects/EffectConditions/JobCondition.cs with 95% similarity]
Content.Shared/EntityEffects/EffectConditions/MobStateCondition.cs [moved from Content.Server/EntityEffects/EffectConditions/MobStateCondition.cs with 88% similarity]
Content.Shared/EntityEffects/EffectConditions/OrganType.cs [new file with mode: 0644]
Content.Shared/EntityEffects/EffectConditions/ReagentThreshold.cs [moved from Content.Server/EntityEffects/EffectConditions/ReagentThreshold.cs with 95% similarity]
Content.Shared/EntityEffects/EffectConditions/SolutionTemperature.cs [moved from Content.Server/EntityEffects/EffectConditions/SolutionTemperature.cs with 92% similarity]
Content.Shared/EntityEffects/EffectConditions/TotalDamage.cs [moved from Content.Server/EntityEffects/EffectConditions/TotalDamage.cs with 94% similarity]
Content.Shared/EntityEffects/EffectConditions/TotalHunger.cs [moved from Content.Server/EntityEffects/EffectConditions/TotalHunger.cs with 94% similarity]
Content.Shared/EntityEffects/Effects/AddToSolutionReaction.cs [moved from Content.Server/EntityEffects/Effects/AddToSolutionReaction.cs with 91% similarity]
Content.Shared/EntityEffects/Effects/AdjustAlert.cs [moved from Content.Server/EntityEffects/Effects/AdjustAlert.cs with 95% similarity]
Content.Shared/EntityEffects/Effects/AdjustReagent.cs [moved from Content.Server/EntityEffects/Effects/AdjustReagent.cs with 96% similarity]
Content.Shared/EntityEffects/Effects/AdjustTemperature.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/AreaReactionEffect.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ArtifactUnlock.cs [moved from Content.Server/EntityEffects/Effects/ArtifactUnlock.cs with 84% similarity]
Content.Shared/EntityEffects/Effects/CauseZombieInfection.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ChemCleanBloodstream.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ChemHealEyeDamage.cs [moved from Content.Server/EntityEffects/Effects/ChemHealEyeDamage.cs with 87% similarity]
Content.Shared/EntityEffects/Effects/ChemVomit.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/CreateEntityReactionEffect.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/CreateGas.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/CureZombieInfection.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/Drunk.cs [moved from Content.Server/EntityEffects/Effects/Drunk.cs with 91% similarity]
Content.Shared/EntityEffects/Effects/Electrocute.cs [moved from Content.Server/EntityEffects/Effects/Electrocute.cs with 78% similarity]
Content.Shared/EntityEffects/Effects/Emote.cs [moved from Content.Server/EntityEffects/Effects/Emote.cs with 70% similarity]
Content.Shared/EntityEffects/Effects/EmpReactionEffect.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/EvenHealthChange.cs [moved from Content.Server/EntityEffects/Effects/EvenHealthChange.cs with 98% similarity]
Content.Shared/EntityEffects/Effects/ExplosionReactionEffect.cs [moved from Content.Server/EntityEffects/Effects/ExplosionReactionEffect.cs with 74% similarity]
Content.Shared/EntityEffects/Effects/ExtinguishReaction.cs [moved from Content.Server/EntityEffects/Effects/ExtinguishReaction.cs with 88% similarity]
Content.Shared/EntityEffects/Effects/FlammableReaction.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/FlashReactionEffect.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/Glow.cs [moved from Content.Server/EntityEffects/Effects/Glow.cs with 96% similarity]
Content.Shared/EntityEffects/Effects/HealthChange.cs [moved from Content.Server/EntityEffects/Effects/HealthChange.cs with 98% similarity]
Content.Shared/EntityEffects/Effects/Ignite.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/MakeSentient.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ModifyBleedAmount.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ModifyBloodLevel.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ModifyLungGas.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/MovespeedModifier.cs [moved from Content.Server/EntityEffects/Effects/MovespeedModifier.cs with 97% similarity]
Content.Shared/EntityEffects/Effects/Oxygenate.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/Paralyze.cs [moved from Content.Server/EntityEffects/Effects/Paralyze.cs with 79% similarity]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustAttribute.cs [moved from Content.Server/EntityEffects/Effects/PlantMetabolism/PlantAdjustAttribute.cs with 51% similarity]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustHealth.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustMutationLevel.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustMutationMod.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustNutrition.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustPests.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustPotency.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustToxins.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustWater.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAdjustWeeds.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantAffectGrowth.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantChangeStat.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantCryoxadone.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantDestroySeeds.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantDiethylamine.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantPhalanximine.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/PlantRestoreSeeds.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMetabolism/RobustHarvest.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMutateChemicals.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMutateGases.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantMutateHarvest.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/PlantSpeciesChange.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/Polymorph.cs [moved from Content.Server/EntityEffects/Effects/Polymorph.cs with 55% similarity]
Content.Shared/EntityEffects/Effects/PopupMessage.cs [moved from Content.Server/EntityEffects/Effects/PopupMessage.cs with 95% similarity]
Content.Shared/EntityEffects/Effects/ReduceRotting.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/ResetNarcolepsy.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/SatiateHunger.cs [new file with mode: 0644]
Content.Shared/EntityEffects/Effects/SatiateThirst.cs [moved from Content.Server/EntityEffects/Effects/SatiateThirst.cs with 93% similarity]
Content.Shared/EntityEffects/Effects/Slipify.cs [moved from Content.Server/EntityEffects/Effects/Slipify.cs with 95% similarity]
Content.Shared/EntityEffects/Effects/SolutionTemperatureEffects.cs [moved from Content.Server/EntityEffects/Effects/SolutionTemperatureEffects.cs with 98% similarity]
Content.Shared/EntityEffects/Effects/StatusEffects/GenericStatusEffect.cs [moved from Content.Server/EntityEffects/Effects/StatusEffects/GenericStatusEffect.cs with 94% similarity]
Content.Shared/EntityEffects/Effects/StatusEffects/Jitter.cs [moved from Content.Server/EntityEffects/Effects/StatusEffects/Jitter.cs with 92% similarity]
Content.Shared/EntityEffects/Effects/WashCreamPieReaction.cs [moved from Content.Server/EntityEffects/Effects/WashCreamPieReaction.cs with 67% similarity]
Content.Shared/EntityEffects/Effects/WearableReaction.cs [moved from Content.Server/EntityEffects/Effects/WearableReaction.cs with 94% similarity]
Content.Shared/EntityEffects/EntityEffect.cs
Content.Shared/EntityEffects/EntityEffectCondition.cs
Content.Shared/EntityEffects/EventEntityEffect.cs [new file with mode: 0644]
Content.Shared/EntityEffects/EventEntityEffectCondition.cs [new file with mode: 0644]