This commit is contained in:
KorPhaeron
2016-01-05 13:56:26 -06:00
parent f9f12f6447
commit e2b09f5604
+9 -9
View File
@@ -132,15 +132,15 @@ var/obj/machinery/gateway/centerstation/the_gateway = null
//okay, here's the good teleporting stuff
/obj/machinery/gateway/centerstation/Bumped(atom/movable/AM)
if(!ready)
if(!ready)
return
if(!active)
if(!active)
return
if(!awaygate || qdeleted(awaygate))
if(!awaygate || qdeleted(awaygate))
return
if(awaygate.calibrated)
AM.loc = get_step(awaygate.loc, SOUTH)
AM.forceMove(get_step(awaygate.loc, SOUTH))
AM.dir = SOUTH
if (ismob(AM))
var/mob/M = AM
@@ -150,7 +150,7 @@ var/obj/machinery/gateway/centerstation/the_gateway = null
else
var/obj/effect/landmark/dest = pick(awaydestinations)
if(dest)
AM.loc = dest.loc
AM.forceMove(get_turf(dest))
AM.dir = SOUTH
use_power(5000)
return
@@ -240,18 +240,18 @@ var/obj/machinery/gateway/centerstation/the_gateway = null
/obj/machinery/gateway/centeraway/Bumped(atom/movable/AM)
if(!ready)
if(!ready)
return
if(!active)
if(!active)
return
if(!stationgate || qdeleted(stationgate))
if(!stationgate || qdeleted(stationgate))
return
if(istype(AM, /mob/living/carbon))
for(var/obj/item/weapon/implant/exile/E in AM)//Checking that there is an exile implant in the contents
if(E.imp_in == AM)//Checking that it's actually implanted vs just in their pocket
AM << "\black The station gate has detected your exile implant and is blocking your entry."
return
AM.loc = get_step(stationgate.loc, SOUTH)
AM.forceMove(get_step(stationgate.loc, SOUTH))
AM.dir = SOUTH
if (ismob(AM))
var/mob/M = AM