mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Lifts ghost body restrictions on becoming space hobo (#31072)
* Lifts ghost body restrictions on becoming space hobo * Patching out pre roundstart issue Co-authored-by: kanef <kanef9x@protonmail.com>
This commit is contained in:
@@ -522,9 +522,6 @@
|
|||||||
/mob/dead/observer/verb/become_hobo()
|
/mob/dead/observer/verb/become_hobo()
|
||||||
set name = "Become Space Hobo"
|
set name = "Become Space Hobo"
|
||||||
set category = "Ghost"
|
set category = "Ghost"
|
||||||
if(!(mind && mind.current && can_reenter_corpse) || (mind.current.key && copytext(mind.current.key,1,2)!="@"))
|
|
||||||
to_chat(src, "<span class='warning'>You must have had presence on this plane to become this.</span>")
|
|
||||||
return
|
|
||||||
if(!config.respawn_as_hobo)
|
if(!config.respawn_as_hobo)
|
||||||
to_chat(src, "<span class='warning'>Respawning as Space Hobo is disabled.</span>")
|
to_chat(src, "<span class='warning'>Respawning as Space Hobo is disabled.</span>")
|
||||||
return
|
return
|
||||||
@@ -537,6 +534,9 @@
|
|||||||
if(hoboamount == hobostart.len)
|
if(hoboamount == hobostart.len)
|
||||||
to_chat(src, "<span class='warning'>The world has enough of these as is.</span>")
|
to_chat(src, "<span class='warning'>The world has enough of these as is.</span>")
|
||||||
return
|
return
|
||||||
|
if(!world.has_round_started())
|
||||||
|
to_chat(src, "<span class='warning'>The game has not started yet.</span>")
|
||||||
|
return
|
||||||
|
|
||||||
var/response = alert(src, "Are you -sure- you want to become a space hobo?","Are you sure you want to ramble?","Yeah!","Nope!")
|
var/response = alert(src, "Are you -sure- you want to become a space hobo?","Are you sure you want to ramble?","Yeah!","Nope!")
|
||||||
if(response != "Yeah!")
|
if(response != "Yeah!")
|
||||||
|
|||||||
Reference in New Issue
Block a user