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