fish-station/Content.Server/GameObjects/Components
Daniel Castro Razo cc4669244d
Fixes to explosionhelper (#2819)
* Revert "Make handheld explosives affect tiles (#2806)"

This reverts commit 005e142949.

* Fixes tiles being destroyed under walls by an explosion

* Extra imports removed

* Handles explosion in space and different grids

This handle explosions across different grids, and tiles are still protected if there is an entity airtight and currently blocking air on top of them that survived the explosion.

* Some bug fixes

- The way tiles were being protected was silly.
- Big explosions cause a lot of objects to trigger multiple events and at the same time they are destroyed.
- Explosions spawning inside containers like closets work now.

* Range bug fixes

* Explosive

The explosion works even if the entity exploding is inside multiple 'layers' of containers like.
bomb -> survival box -> tool box -> closet

* Explosions are different now

Explosion can't jump over walls now.
Explosions work like rays now, if an explosion breaks a wall it can scatter inside the room.
If entities are behind impassable entities that survive the blast  they are left unscathed.

* Little fix

* Remove the extra lookup of tiles

* Another small change

* Restore the second lookup

I thought this was extra, but this protects the tile under it if there is an Impassable entity on top. None wants anchored girders on top of lattice/space

* Changing order of conditions

IsBlockedTurf is cheaper to run than InRangeUnobstructed.

* Yep
2021-01-02 19:03:10 +01:00
..
Access Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
ActionBlocking Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Actor Traitor (#2566) 2020-12-01 17:05:19 +01:00
AI Nanotransen > Nanotrasen 2020-12-05 21:48:11 +01:00
Arcade Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Atmos Fixes remaining renamed chems (#2889) 2021-01-02 18:05:32 +11:00
BarSign Add a test that puts all components on an entity and checks for no exceptions (#1815) 2020-08-22 22:29:20 +02:00
Body Remove wireless surgery (#2785) 2020-12-20 04:31:39 +01:00
Botany Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Buckle Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Cargo Fixes the audio and icon (#2854) 2020-12-28 04:32:48 +11:00
Chemistry Fixes remaining renamed chems (#2889) 2021-01-02 18:05:32 +11:00
Command Shuttle called/recalled announcements and sounds. 2021-01-01 16:34:54 +01:00
Construction Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
ContainerExt Objectives (#2459) 2020-11-22 18:38:07 +11:00
Conveyor Conveyor Belt appearance when power is off (#2762) 2020-12-18 18:31:58 +11:00
Damage Drinking glasses now break. 2020-12-21 13:22:16 +01:00
Destructible Separate destructible component threshold into behaviors (#2818) 2020-12-23 13:34:57 +01:00
Disposal Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Doors Canisters [ Continuation of clement-or #2544 ] (#2628) 2020-12-08 20:45:24 +01:00
Explosion Fixes to explosionhelper (#2819) 2021-01-02 19:03:10 +01:00
Fluids Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Gravity Damage rework (#2525) 2020-12-07 14:52:55 +01:00
GUI Add EffectBlockerExtensions 2020-12-20 04:31:04 +01:00
Headset Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Instruments Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Interactable Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Items Fixes to explosionhelper (#2819) 2021-01-02 19:03:10 +01:00
Kitchen Rerun of "Add Reagent Grinder/Juicer" (#2570) 2020-11-26 23:53:42 +11:00
MachineLinking Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Markers Updated serializer data fields (#2702) 2020-12-04 11:06:53 +01:00
Medical Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Metabolism Add alert for low oxygen. 2020-12-23 23:46:01 +01:00
Mining Typo, redundant string interpolation, namespaces and imports cleanup (#2068) 2020-09-13 14:23:52 +02:00
Mobs Ghost on mind shutdown fixes, no more ghost stacking at bar. 2021-01-01 16:11:17 +01:00
Morgue Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Movement Clothing and pronoun fields (#2689) 2020-12-24 14:42:40 +01:00
NodeContainer Removes some linq from power (#2875) 2021-01-02 02:04:10 +01:00
Nutrition Fixes remaining renamed chems (#2889) 2021-01-02 18:05:32 +11:00
Observer Fix issues with .NET 5. 2020-11-11 00:46:13 +01:00
PA Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Paper Mortician's Menagerie (#2391) 2020-10-28 23:51:43 +01:00
PDA Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Pointing Make ExplosionHelper methods extensions (#2373) 2020-10-25 12:11:23 +01:00
Portal Async Interface IAfterInteract() (#2735) 2020-12-17 18:45:04 +11:00
Power Removes some linq from power (#2875) 2021-01-02 02:04:10 +01:00
Projectiles Fixes to explosionhelper (#2819) 2021-01-02 19:03:10 +01:00
Pulling Migrate pulling logic into SharedPullableComponent from PullController (#2627) 2020-11-27 00:48:10 +11:00
Radio Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Recycling nullableeeeeeeeeeee 2021-01-01 18:17:38 +01:00
Research Tweaks volume of material per sheet in lathes. (#2852) 2020-12-27 19:22:50 +11:00
Rotatable Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Singularity Singularity testing map & "startsingularityengine" admin command (#2752) 2020-12-17 18:20:57 +11:00
Sound Adds a semitone shifting AudioHelper (#2608) 2020-11-25 21:23:03 +11:00
Stack Add UsedImplicitly to visualizers and entity systems (#2592) 2020-12-08 11:56:10 +01:00
StationEvents Refactors radiation (#2009) 2020-09-21 01:49:40 +02:00
Strap Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Suspicion Damage rework (#2525) 2020-12-07 14:52:55 +01:00
Temperature Alerts System and UI (#2529) 2020-11-10 15:22:19 +11:00
Timing Expose UseDelay to ViewVars (#2609) 2020-11-23 02:00:06 +11:00
TraitorDeathMatch Traitor Deathmatch (#2719) 2020-12-13 16:00:49 +01:00
Trigger/TimerTrigger Add UsedImplicitly to visualizers and entity systems (#2592) 2020-12-08 11:56:10 +01:00
Utensil Async Interface IAfterInteract() (#2735) 2020-12-17 18:45:04 +11:00
VendingMachines Adds popups and sounds to the vending machine deny (#2715) 2020-12-08 17:42:43 +11:00
Weapon Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
AnchorableComponent.cs Replace MaybeNullWhen(false) with NotNullWhen(true) 2020-12-20 04:14:41 +01:00
AtmosPlaqueComponent.cs Fix some build warnings (#2226) 2020-10-11 16:42:53 +02:00
CleanableComponent.cs Crayons (#2132) 2020-10-13 13:40:05 +02:00
ComputerComponent.cs Saltern now has computer boards serialized 2020-10-11 13:59:00 +02:00
ConfigurationComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
CrayonComponent.cs Async Interface IAfterInteract() (#2735) 2020-12-17 18:45:04 +11:00
DoAfterComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
ExtinguisherCabinetComponent.cs Replace every usage of GridCoordinates with EntityCoordinates (#2021) 2020-09-06 16:11:53 +02:00
ExtinguisherCabinetFilledComponent.cs Typo, redundant string interpolation, namespaces and imports cleanup (#2068) 2020-09-13 14:23:52 +02:00
LightBehaviourComponent.cs Typo, redundant string interpolation, namespaces and imports cleanup (#2068) 2020-09-13 14:23:52 +02:00
MagicMirrorComponent.cs Toggles for handheld interactables. (#2049) 2020-09-13 14:03:22 +02:00
PlaceableSurfaceComponent.cs (Smaller) Construction PR - (IC Construction) (#2575) 2020-11-20 15:58:06 +01:00
PottedPlantHideComponent.cs Refactor drag and drop to use a shared interface (#2012) 2020-10-14 15:24:07 +02:00
RandomPottedPlantComponent.cs add complete strings that aren't defined in content files to allow them to be mapped (#1105) 2020-06-12 04:15:10 +02:00
RandomSpriteColorComponent.cs Commit (#1541) 2020-07-30 03:22:26 +02:00
RandomSpriteStateComponent.cs Prettier window breaking (#2368) 2020-10-29 20:42:11 +01:00
StressTestMovementComponent.cs Adds movement stress test component. 2020-06-30 18:34:42 +02:00
WindowComponent.cs Damage rework (#2525) 2020-12-07 14:52:55 +01:00
WiresComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00