Forcefully deprecate meteor_hit()

meteor_hit() is a textbook example of snowflake. What you have here is a
proc linked to a single entity (the small meteor) which shouldn't even
have it (ever since I reworked meteors, small meteors explode) that is
present in FIFTY. FUCKING. FILES.

Since an explosion more than clearly does the damage we want done on
meteor impact, it is more than logical to remove it and lighten our code
of obsolete and obscuranting procs

For the handful of times where it isn't possible to straight up remove
it (immovable rod, dust, small meteor), the code was quickly patched by
making it fire ex_act(2), given that small meteors perform
explosion(src.loc, -1, 1, 3, 4, 0)

Doing it quick and dirty because otherwise it's going to cause conflicts
everywhere
This commit is contained in:
dylanstrategie
2015-06-29 16:16:03 +02:00
parent 03383f1fc0
commit 8f1132f443
50 changed files with 26 additions and 369 deletions

View File

@@ -227,10 +227,6 @@ Manual Tracking Direction:"}
stat |= BROKEN
update_icon()
/obj/machinery/power/solar/control/meteorhit()
broken()
return
/obj/machinery/power/solar/control/ex_act(severity)
switch(severity)
if(1.0)

View File

@@ -132,12 +132,6 @@
if(health > 1)
health = 1 //Only holding up on shards and scrap
/obj/machinery/power/solar/panel/meteorhit()
if(stat & !BROKEN)
broken()
else
kill()
/obj/machinery/power/solar/panel/ex_act(severity)
switch(severity)
if(1.0)