Add Runtime Station (#3350)

Ports Runtime Station from /tg/, a debugging map meant to speed up boot time during development.
Also adds RTGs, a low-output (< 10 kW) upgradable buildable infinite power source, and allows placement of cables on catwalks.
This commit is contained in:
Lohikar
2017-08-29 12:39:35 -05:00
committed by GitHub
parent ceab73c63e
commit 4ed82ce486
12 changed files with 4331 additions and 27 deletions
+6 -1
View File
@@ -24,9 +24,14 @@
/obj/proc/buckle_mob(mob/living/M)
if(!can_buckle || !istype(M) || (M.loc != loc) || M.buckled || M.pinned.len || (buckle_require_restraints && !M.restrained()))
if(!can_buckle || !istype(M) || M.buckled || M.pinned.len || (buckle_require_restraints && !M.restrained()))
return 0
if ((M.loc != loc) && !(density && get_dist(src, M) <= 1))
return 0
if (M.loc != loc)
M.forceMove(loc)
M.buckled = src
M.facing_dir = null
M.set_dir(buckle_dir ? buckle_dir : dir)