mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Merge pull request #1188 from sick-trigger/master
Fixes teleporting with an active chamelion projector
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
|
||||
//must succeed in most cases
|
||||
proc/setTeleatom(atom/movable/ateleatom)
|
||||
if(istype(ateleatom, /obj/effect))
|
||||
if(istype(ateleatom, /obj/effect) && !istype(ateleatom, /obj/effect/dummy/chameleon))
|
||||
del(ateleatom)
|
||||
return 0
|
||||
if(istype(ateleatom))
|
||||
|
||||
@@ -130,10 +130,6 @@
|
||||
O.show_message("\red Failure: Cannot authenticate locked on coordinates. Please reinstate coordinate matrix.")
|
||||
return
|
||||
if (istype(M, /atom/movable))
|
||||
if (istype(M, /obj/effect/dummy/chameleon))
|
||||
for(var/mob/C in M)
|
||||
C << "\red The projection field prevents you from entering!"
|
||||
return
|
||||
if(prob(5) && !accurate) //oh dear a problem, put em in deep space
|
||||
do_teleport(M, locate(rand(5, world.maxx - 5), rand(5, world.maxy - 5), 3), 2)
|
||||
else
|
||||
|
||||
@@ -316,6 +316,8 @@
|
||||
icon_plating = "asteroid_dug"
|
||||
icon_state = "asteroid_dug"
|
||||
return
|
||||
else
|
||||
return
|
||||
else
|
||||
..(W,user)
|
||||
if ((istype(W,/obj/item/weapon/pickaxe/drill)))
|
||||
@@ -337,6 +339,9 @@
|
||||
dug = 1
|
||||
icon_plating = "asteroid_dug"
|
||||
icon_state = "asteroid_dug"
|
||||
return
|
||||
else
|
||||
return
|
||||
else
|
||||
..(W,user)
|
||||
|
||||
@@ -359,6 +364,9 @@
|
||||
dug = 1
|
||||
icon_plating = "asteroid_dug"
|
||||
icon_state = "asteroid_dug"
|
||||
return
|
||||
else
|
||||
return
|
||||
else
|
||||
..(W,user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user