[READY] Basically, Instant Explosions 2: The Search For More Money: Eternal: A Tail Of Two Kitties: 33 1/3 (#50594)

About The Pull Request

Extools maptick stuff is in the game. Stolen from BeeStation/BeeStation-Hornet#1119, improves performance. Requires ex-tools on the server, though.

Explosions have been refactored to do the actual exploding in a subsystem.

Credit to goon.

Here's some videos!

Why It's Good For The Game
Basically instant max-caps now.
We can now give more of a tick over to the sending of map updates

Changelog

cl Goonstation Coders, Beestation, Extools devs
refactor: Explosions have been heavily optimized.
/cl
This commit is contained in:
Iamgoofball
2020-04-29 15:27:53 -07:00
committed by GitHub
parent 3c84974f82
commit a3aa69701a
69 changed files with 750 additions and 436 deletions

View File

@@ -142,7 +142,13 @@
// Minor explosions are mostly mitigitated by casing.
/obj/machinery/modular_computer/ex_act(severity)
if(cpu)
cpu.ex_act(severity)
switch(severity)
if(EXPLODE_DEVASTATE)
SSexplosions.highobj += cpu
if(EXPLODE_HEAVY)
SSexplosions.medobj += cpu
if(EXPLODE_LIGHT)
SSexplosions.lowobj += cpu
..()
// EMPs are similar to explosions, but don't cause physical damage to the casing. Instead they screw up the components