mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 13:17:03 +01:00
to_chat replacing stream operator
This commit is contained in:
@@ -26,12 +26,12 @@ proc/populate_ghost_traps()
|
||||
if(!istype(candidate) || !candidate.client || !candidate.ckey)
|
||||
return 0
|
||||
if(!candidate.MayRespawn())
|
||||
candidate << "You have made use of the AntagHUD and hence cannot enter play as \a [object]."
|
||||
to_chat(candidate, "You have made use of the AntagHUD and hence cannot enter play as \a [object].")
|
||||
return 0
|
||||
if(islist(ban_checks))
|
||||
for(var/bantype in ban_checks)
|
||||
if(jobban_isbanned(candidate, "[bantype]"))
|
||||
candidate << "You are banned from one or more required roles and hence cannot enter play as \a [object]."
|
||||
to_chat(candidate, "You are banned from one or more required roles and hence cannot enter play as \a [object].")
|
||||
return 0
|
||||
return 1
|
||||
|
||||
@@ -49,7 +49,7 @@ proc/populate_ghost_traps()
|
||||
if(pref_check && !(O.client.prefs.be_special & pref_check))
|
||||
continue
|
||||
if(O.client)
|
||||
O << "[request_string]<a href='?src=\ref[src];candidate=\ref[O];target=\ref[target]'>Click here</a> if you wish to play as this option."
|
||||
to_chat(O, "[request_string]<a href='?src=\ref[src];candidate=\ref[O];target=\ref[target]'>Click here</a> if you wish to play as this option.")
|
||||
|
||||
// Handles a response to request_player().
|
||||
/datum/ghosttrap/Topic(href, href_list)
|
||||
@@ -78,10 +78,10 @@ proc/populate_ghost_traps()
|
||||
|
||||
// Fluff!
|
||||
/datum/ghosttrap/proc/welcome_candidate(var/mob/target)
|
||||
target << "<b>You are a positronic brain, brought into existence on [station_name()].</b>"
|
||||
target << "<b>As a synthetic intelligence, you answer to all crewmembers, as well as the AI.</b>"
|
||||
target << "<b>Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm.</b>"
|
||||
target << "<b>Use say #b to speak to other artificial intelligences.</b>"
|
||||
to_chat(target, "<b>You are a positronic brain, brought into existence on [station_name()].</b>")
|
||||
to_chat(target, "<b>As a synthetic intelligence, you answer to all crewmembers, as well as the AI.</b>")
|
||||
to_chat(target, "<b>Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm.</b>")
|
||||
to_chat(target, "<b>Use say #b to speak to other artificial intelligences.</b>")
|
||||
var/turf/T = get_turf(target)
|
||||
T.visible_message("<span class='notice'>\The [src] chimes quietly.</span>")
|
||||
var/obj/item/device/mmi/digital/posibrain/P = target.loc
|
||||
@@ -107,8 +107,8 @@ proc/populate_ghost_traps()
|
||||
ghost_trap_role = "Plant"
|
||||
|
||||
/datum/ghosttrap/plant/welcome_candidate(var/mob/target)
|
||||
target << "<span class='alium'><B>You awaken slowly, stirring into sluggish motion as the air caresses you.</B></span>"
|
||||
to_chat(target, "<span class='alium'><B>You awaken slowly, stirring into sluggish motion as the air caresses you.</B></span>")
|
||||
// This is a hack, replace with some kind of species blurb proc.
|
||||
if(istype(target,/mob/living/carbon/alien/diona))
|
||||
target << "<B>You are \a [target], one of a race of drifting interstellar plantlike creatures that sometimes share their seeds with human traders.</B>"
|
||||
target << "<B>Too much darkness will send you into shock and starve you, but light will help you heal.</B>"
|
||||
to_chat(target, "<B>You are \a [target], one of a race of drifting interstellar plantlike creatures that sometimes share their seeds with human traders.</B>")
|
||||
to_chat(target, "<B>Too much darkness will send you into shock and starve you, but light will help you heal.</B>")
|
||||
Reference in New Issue
Block a user