Ashwalker Update (#15466)
* Ashwalker Update * Update generic_positive_events.dm * Update ashwalker.dm * fixing newlines * Update code/modules/antagonists/_common/antag_datum.dm Co-authored-by: Putnam3145 <putnam3145@gmail.com> * literally 1984 * unlimiting spawns * Create antag_datum.dm.bak * Revert "Create antag_datum.dm.bak" This reverts commit d91e1f4c4d9c86bc4a275ef19f45e8927dd93cae. Co-authored-by: Putnam3145 <putnam3145@gmail.com>
This commit is contained in:
@@ -33,6 +33,10 @@
|
||||
var/ghost_usable = TRUE
|
||||
var/skip_reentry_check = FALSE //Skips the ghost role blacklist time for people who ghost/suicide/cryo
|
||||
|
||||
///override this to add special spawn conditions to a ghost role
|
||||
/obj/effect/mob_spawn/proc/allow_spawn(mob/user, silent = FALSE)
|
||||
return TRUE
|
||||
|
||||
//ATTACK GHOST IGNORING PARENT RETURN VALUE
|
||||
/obj/effect/mob_spawn/attack_ghost(mob/user, latejoinercalling)
|
||||
if(!SSticker.HasRoundStarted() || !loc || !ghost_usable)
|
||||
@@ -43,6 +47,8 @@
|
||||
if(jobban_isbanned(user, banType))
|
||||
to_chat(user, "<span class='warning'>You are jobanned!</span>")
|
||||
return
|
||||
if(!allow_spawn(user, silent = FALSE))
|
||||
return
|
||||
if(QDELETED(src) || QDELETED(user))
|
||||
return
|
||||
if(isobserver(user))
|
||||
|
||||
Reference in New Issue
Block a user