fish-station/Content.Server
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
..
Actions Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Administration Adds promotehost command to make bootstrapping admin privileges easier. 2020-12-23 17:08:34 +01:00
AI Add ActionBlockerExtensions 2020-12-20 04:26:21 +01:00
Alert/Click Actions System + UI (#2710) 2020-12-13 23:28:20 +01:00
Atmos Remove AggressiveInlining abuse from TileAtmosphere.cs. 2020-12-22 18:31:02 +01:00
Botany Botany (#2357) 2020-10-26 23:19:46 +01:00
Cargo Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Chat Shuttle called/recalled announcements and sounds. 2021-01-01 16:34:54 +01:00
Chemistry This is the part where I realize I forgot to fix these as part of sandboxing. 2020-11-27 01:01:56 +01:00
Commands Add command to enable the lobby, restart the round and set a preset (#2786) 2020-12-20 04:48:13 +01:00
Construction Upgradeable machines. (#2675) 2020-12-03 22:49:00 +01:00
Database Fix integration tests race condition. 2020-12-30 01:18:39 +01:00
DeviceNetwork Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Eui Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Explosions Fixes to explosionhelper (#2819) 2021-01-02 19:03:10 +01:00
GameObjects Fixes to explosionhelper (#2819) 2021-01-02 19:03:10 +01:00
GameTicking Clothing and pronoun fields (#2689) 2020-12-24 14:42:40 +01:00
GlobalVerbs Damage rework (#2525) 2020-12-07 14:52:55 +01:00
Interfaces Shuttle called/recalled announcements and sounds. 2021-01-01 16:34:54 +01:00
Jobs Fix namespaces and optimize imports (#1651) 2020-08-13 14:40:27 +02:00
Mobs Reorganize commands into the Commands folder (#2679) 2020-12-03 13:40:47 +11:00
Objectives Damage rework (#2525) 2020-12-07 14:52:55 +01:00
PDA Fixes uplink account creation failing if you have any non-antag role. 2020-12-15 11:29:11 +01:00
Players ConGroups are gone. Long live admin flags in content. 2020-10-30 16:06:48 +01:00
Preferences Clean up stale preferences data on load at the server. 2020-12-20 16:13:45 +01:00
Prototypes Traitor (#2566) 2020-12-01 17:05:19 +01:00
Sandbox Improve "give AA ID". 2020-09-29 16:05:29 +02:00
StationEvents Gets rid of my bad event (#2846) 2020-12-27 02:51:24 +01:00
Throw Fixes to explosionhelper (#2819) 2021-01-02 19:03:10 +01:00
Utility Replace MapIndices with Vector2i (#2228) 2020-10-11 15:21:21 +02:00
app.config Updates submodule (#56) 2018-04-12 23:56:43 +02:00
AssemblyInfo.cs Fix exception in ReagentPrototype caused by IMetabolizable (#451) 2019-11-23 21:55:31 +01:00
ConnectionManager.cs Holy crap auth works (#2099) 2020-09-29 14:26:00 +02:00
Content.Server.csproj More nullas as errors (#2611) 2020-12-09 23:28:24 +11:00
EntryPoint.cs Actions System + UI (#2710) 2020-12-13 23:28:20 +01:00
IgnoredComponents.cs Objectives (#2459) 2020-11-22 18:38:07 +11:00
MoMMILink.cs Update submodule, statushost changes, fix missing projects to sln 2020-12-21 04:14:36 +01:00
Program.cs Content.{Client,Server} are now Exes that can be ran. 2020-01-22 20:17:32 +01:00
ServerContentIoC.cs Actions System + UI (#2710) 2020-12-13 23:28:20 +01:00
ServerModuleTestingCallbacks.cs Improve integration testing 2019-06-29 01:58:16 +02:00
ServerNotifyManager.cs Reorganize commands into the Commands folder (#2679) 2020-12-03 13:40:47 +11:00
StatusShell.cs Rename toolbox references from ss14 to robust 2019-04-15 21:11:38 -06:00