mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[Semi-Modular] Ghost Cafe (#3592)
* wip * more progress * weh * Fixes spawners * Adds missing objects, mass replaces in the .dmm * WIP * Screm * map compile error * Bugfixes * ID * no mechs * Linter, indestructible pool, typo * why * Fixes issue maybe * deletes jukebox * Removed combat area on request Co-authored-by: Ranged <nickvanderkroon@gmail.com>
This commit is contained in:
@@ -308,6 +308,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(stat == DEAD)
|
||||
ghostize(TRUE)
|
||||
return TRUE
|
||||
// SKYRAT EDIT ADDITION -- Free Ghost Cafe Ghosting
|
||||
if(HAS_TRAIT(src, TRAIT_FREE_GHOST))
|
||||
ghostize(TRUE) // Can return with TRUE
|
||||
return TRUE
|
||||
// SKYRAT EDIT ADDITION END
|
||||
var/response = alert(src, "Are you -sure- you want to ghost?\n(You are alive. If you ghost whilst still alive you may not play again this round! You can't change your mind so choose wisely!!)","Are you sure you want to ghost?","Ghost","Stay in body")
|
||||
if(response != "Ghost")
|
||||
return FALSE//didn't want to ghost after-all
|
||||
|
||||
Reference in New Issue
Block a user