Area cleanup, Minor BST tweaks, Nuke Fixes, Explosion fixes (#3164)

changes:

Ported some timer fixes from /tg/ (timerid overflow fix, invalid deltimer logging)
Removed pointless air alarm elections.
Cleaned up some area code and moved area var definitions into areas.dm.
The nuke now only destroys Zs connected to the Z it detonates on. (Fixes #2552)
The nuke no longer destroys CC.
Nukes now dust mobs.
Cascades now dust all mobs on all non-admin levels.
Fixed a bug where SSexplosives would not honor the is_rec var.
Improved the efficiency of /proc/random_station_area().
Bluespace Bugs can now teleport out again.
Bluespace Technicians can now turn off their x-ray vision without needing to remove their glasses.
Human-types no longer make footstep sounds when lying down, unconscious, or dead.
This commit is contained in:
Lohikar
2017-07-27 10:10:38 -05:00
committed by Erki
parent 8756ee6f68
commit cfb7357c6f
17 changed files with 176 additions and 191 deletions

View File

@@ -156,7 +156,7 @@
bsu()
if("Skrell")
bss()
if("Vaurca")
if("Vaurca Worker")
bsv()
return
@@ -290,10 +290,6 @@
key = null
suicide()
/mob/living/carbon/human/bst/say(var/message)
var/verb = "says in a subdued tone"
..(message, verb)
/mob/living/carbon/human/bst/verb/bstwalk()
set name = "Ruin Everything"
set desc = "Uses bluespace technology to phase through solid matter and move quickly."
@@ -436,6 +432,26 @@
vision_flags = (SEE_TURFS|SEE_OBJS|SEE_MOBS)
see_invisible = SEE_INVISIBLE_NOLIGHTING
canremove = 0
/obj/item/clothing/glasses/sunglasses/bst/verb/toggle_xray(mode in list("X-Ray without Lighting", "X-Ray with Lighting", "Normal"))
set name = "Change Vision Mode"
set desc = "Changes your glasses' vision mode."
set category = "BST"
set src in usr
switch (mode)
if ("X-Ray without Lighting")
vision_flags = (SEE_TURFS|SEE_OBJS|SEE_MOBS)
see_invisible = SEE_INVISIBLE_NOLIGHTING
if ("X-Ray with Lighting")
vision_flags = (SEE_TURFS|SEE_OBJS|SEE_MOBS)
see_invisible = -1
if ("Normal")
vision_flags = 0
see_invisible = -1
usr << "<span class='notice'>\The [src]'s vision mode is now <b>[mode]</b>.</span>"
/* New()
..()
src.hud += new/obj/item/clothing/glasses/hud/security(src)