mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73486c399b
commit
ed79946ade
@@ -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) ))
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user