[MIRROR] some istype to macros (#9802)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-05 15:01:49 -07:00
committed by GitHub
parent 73486c399b
commit ed79946ade
409 changed files with 750 additions and 751 deletions

View File

@@ -412,7 +412,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set category = "Ghost.Game"
set desc = "Teleport to a location."
if(!istype(usr, /mob/observer/dead))
if(!isobserver(usr))
to_chat(usr, span_filter_notice("Not when you're not dead!"))
return
@@ -425,7 +425,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!A)
return
if(!istype(usr, /mob/observer/dead))
if(!isobserver(usr))
to_chat(usr, "Not when you're not dead!")
return
@@ -437,7 +437,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set category = "Ghost.Game"
set desc = "Follow and haunt a mob."
if(!istype(usr, /mob/observer/dead))
if(!isobserver(usr))
to_chat(usr, "Not when you're not dead!")
return
@@ -452,7 +452,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!M)
return
if(!istype(usr, /mob/observer/dead))
if(!isobserver(usr))
to_chat(usr, "Not when you're not dead!")
return
@@ -629,7 +629,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set desc = "Teleport to a mob"
set popup_menu = FALSE
if(!istype(usr, /mob/observer/dead)) //Make sure they're an observer!
if(!isobserver(usr)) //Make sure they're an observer!
return
var/list/possible_mobs = jumpable_mobs()
@@ -665,7 +665,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set name = "Analyze Air"
set category = "Ghost.Game"
if(!istype(usr, /mob/observer/dead)) return
if(!isobserver(usr)) return
// Shamelessly copied from the Gas Analyzers
if (!( istype(usr.loc, /turf) ))

View File

@@ -110,7 +110,7 @@
set desc = "Find an active ghost pod"
set popup_menu = FALSE
if(!istype(usr, /mob/observer/dead)) //Make sure they're an observer!
if(!isobserver(usr)) //Make sure they're an observer!
return
var/input = tgui_input_list(usr, "Select a ghost pod:", "Ghost Jump", observe_list_format(active_ghost_pods))
@@ -137,7 +137,7 @@
set desc = "Find a Auto Resleever"
set popup_menu = FALSE
if(!istype(usr, /mob/observer/dead)) //Make sure they're an observer!
if(!isobserver(usr)) //Make sure they're an observer!
return
var/list/ar = list()