mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 08:04:22 +01:00
Attempt to prevent players joining with neither OOC notes nor flavour
-> Added a check on the "Default" robot flavour text for players joining as robot. Default is overwritten by module specific text, but anyone setting those specific ones up most likely has a default one anyway. -> Added a check for OOC notes texts for ghosts trying to activate a ghost pod or getting ghost even popups. -> Mouses and drones have not been included for either as some players prefer to play them sneakily. Can be discussed.
This commit is contained in:
@@ -73,6 +73,10 @@
|
||||
reset_ghostpod()
|
||||
return
|
||||
|
||||
//No OOC notes
|
||||
if (not_has_ooc_text(M))
|
||||
return
|
||||
|
||||
while(finalized == "No" && M.client)
|
||||
choice = tgui_input_list(M, "What type of predator do you want to play as?", "Maintpred Choice", possible_mobs)
|
||||
if(!choice) //We probably pushed the cancel button on the mob selection. Let's just put the ghost pod back in the list.
|
||||
@@ -122,6 +126,11 @@
|
||||
|
||||
/obj/structure/ghost_pod/ghost_activated/morphspawn/create_occupant(var/mob/M)
|
||||
..()
|
||||
|
||||
//No OOC notes
|
||||
if (not_has_ooc_text(M))
|
||||
return
|
||||
|
||||
var/mob/living/simple_mob/vore/morph/newMorph = new /mob/living/simple_mob/vore/morph(get_turf(src))
|
||||
if(M.mind)
|
||||
M.mind.transfer_to(newMorph)
|
||||
|
||||
@@ -90,6 +90,11 @@
|
||||
if(jobban_isbanned(user, "GhostRoles"))
|
||||
to_chat(user, "<span class='warning'>You cannot inhabit this creature because you are banned from playing ghost roles.</span>")
|
||||
return
|
||||
|
||||
//No OOC notes
|
||||
if (not_has_ooc_text(user))
|
||||
return
|
||||
|
||||
//VOREStation Add End
|
||||
if(used)
|
||||
to_chat(user, "<span class='warning'>Another spirit appears to have gotten to \the [src] before you. Sorry.</span>")
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
to_chat(user, "<span class='warning'>You cannot inhabit this creature because you are banned from playing ghost roles.</span>")
|
||||
return
|
||||
|
||||
//No OOC notes
|
||||
if (not_has_ooc_text(user))
|
||||
return
|
||||
|
||||
if(!remains_active || busy)
|
||||
return
|
||||
|
||||
@@ -51,4 +55,4 @@
|
||||
/obj/structure/ghost_pod/ghost_activated/Initialize(var/mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
ghostpod_startup(spawn_active)
|
||||
ghostpod_startup(spawn_active)
|
||||
|
||||
Reference in New Issue
Block a user