mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Attempts to make it possible to vore belly spawn without an annoucement
This commit is contained in:
@@ -687,6 +687,9 @@ var/global/datum/controller/occupations/job_master
|
||||
var/backup = alert(C, "Do you want a mind backup?", "Confirm", "Yes", "No")
|
||||
if(backup == "Yes")
|
||||
backup = 1
|
||||
var/announcement = alert(C, "Do you want your arrival to be announced?", "Confirm", "Yes", "No")
|
||||
if(announcement == "Yes")
|
||||
announcement = 1
|
||||
vore_spawn_gut = input(C, "Choose a Belly.", "Belly Spawnpoint") as null|anything in available_bellies
|
||||
if(!vore_spawn_gut)
|
||||
return
|
||||
@@ -737,7 +740,8 @@ var/global/datum/controller/occupations/job_master
|
||||
if(spawnpos && istype(spawnpos) && spawnpos.turfs.len)
|
||||
if(spawnpos.check_job_spawning(rank))
|
||||
.["turf"] = spawnpos.get_spawn_position()
|
||||
.["msg"] = spawnpos.msg
|
||||
if(announcement)
|
||||
.["msg"] = spawnpos.msg
|
||||
.["channel"] = spawnpos.announce_channel
|
||||
else
|
||||
if(fail_deadly)
|
||||
@@ -746,11 +750,13 @@ var/global/datum/controller/occupations/job_master
|
||||
to_chat(C, "Your chosen spawnpoint ([spawnpos.display_name]) is unavailable for your chosen job. Spawning you at the Arrivals shuttle instead.")
|
||||
var/spawning = pick(latejoin)
|
||||
.["turf"] = get_turf(spawning)
|
||||
.["msg"] = "will arrive at the station shortly"
|
||||
if(announcement)
|
||||
.["msg"] = "will arrive at the station shortly"
|
||||
else if(!fail_deadly)
|
||||
var/spawning = pick(latejoin)
|
||||
.["turf"] = get_turf(spawning)
|
||||
.["msg"] = "has arrived on the station"
|
||||
if(announcement)
|
||||
.["msg"] = "has arrived on the station"
|
||||
|
||||
/datum/controller/occupations/proc/m_backup_client(var/client/C) //Same as m_backup, but takes a client entry. Used for vore late joining.
|
||||
if(!ishuman(C.mob))
|
||||
|
||||
Reference in New Issue
Block a user