From fbf3396e4c5b270be51b60e456b119de4a89db2c Mon Sep 17 00:00:00 2001 From: Cael_Aislinn Date: Sun, 21 Oct 2012 02:51:30 +1000 Subject: [PATCH] map compile fixes, added a surprise to the teleporter Signed-off-by: Cael_Aislinn --- code/game/machinery/teleporter.dm | 21 ++++++++++++++++----- maps/tgstation.2.0.9.1.dmm | 8 ++++---- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/code/game/machinery/teleporter.dm b/code/game/machinery/teleporter.dm index 031e6f2907..fe75c463b4 100644 --- a/code/game/machinery/teleporter.dm +++ b/code/game/machinery/teleporter.dm @@ -33,16 +33,27 @@ if(istype(L, /obj/effect/landmark/) && istype(L.loc, /turf)) - src.locked = L - one_time_use = 1 - usr << "You insert the coordinates into the machine." usr << "A message flashes across the screen reminding the traveller that the nuclear authentication disk is to remain on the station at all times." user.drop_item() del(I) - for(var/mob/O in hearers(src, null)) - O.show_message("\blue Locked In", 2) + if(C.data == "Clown Land") + //whoops + for(var/mob/O in hearers(src, null)) + O.show_message("\red Incoming bluespace portal detected, unable to lock in.", 2) + + for(var/obj/machinery/teleport/hub/H in range(1)) + var/amount = rand(2,5) + for(var/i=0;i