mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
I did a stupid
This commit is contained in:
@@ -7,15 +7,15 @@
|
||||
unacidable = 1//Can't destroy energy portals.
|
||||
var/failchance = 0
|
||||
anchored = 1
|
||||
var/obj/structure/portal/target
|
||||
var/obj/structure/portal_subtle/target
|
||||
|
||||
/obj/structure/portal/Destroy()
|
||||
/obj/structure/portal_subtle/Destroy()
|
||||
if(target)
|
||||
target.target = null
|
||||
target = null
|
||||
return ..()
|
||||
|
||||
/obj/structure/portal/Bumped(mob/M as mob|obj)
|
||||
/obj/structure/portal_subtle/Bumped(mob/M as mob|obj)
|
||||
if(istype(M,/mob) && !(istype(M,/mob/living)))
|
||||
return //do not send ghosts, zshadows, ai eyes, etc
|
||||
spawn(0)
|
||||
@@ -23,7 +23,7 @@
|
||||
return
|
||||
return
|
||||
|
||||
/obj/structure/portal/Crossed(AM as mob|obj)
|
||||
/obj/structure/portal_subtle/Crossed(AM as mob|obj)
|
||||
if(istype(AM,/mob) && !(istype(AM,/mob/living)))
|
||||
return //do not send ghosts, zshadows, ai eyes, etc
|
||||
spawn(0)
|
||||
@@ -31,7 +31,7 @@
|
||||
return
|
||||
return
|
||||
|
||||
/obj/structure/portal/attack_hand(mob/user as mob)
|
||||
/obj/structure/portal_subtle/attack_hand(mob/user as mob)
|
||||
if(istype(user) && !(istype(user,/mob/living)))
|
||||
return //do not send ghosts, zshadows, ai eyes, etc
|
||||
spawn(0)
|
||||
@@ -39,7 +39,7 @@
|
||||
return
|
||||
return
|
||||
|
||||
/obj/structure/portal/proc/teleport(atom/movable/M as mob|obj)
|
||||
/obj/structure/portal_subtle/proc/teleport(atom/movable/M as mob|obj)
|
||||
if(istype(M, /obj/effect)) //sparks don't teleport
|
||||
return
|
||||
if (M.anchored&&istype(M, /obj/mecha))
|
||||
|
||||
Reference in New Issue
Block a user