mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
More fixes
This commit is contained in:
@@ -515,6 +515,12 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
if(new_character.mind)
|
||||
new_character.mind.loaded_from_ckey = picked_ckey
|
||||
new_character.mind.loaded_from_slot = picked_slot
|
||||
|
||||
for(var/lang in picked_client.prefs.alternate_languages)
|
||||
var/datum/language/chosen_language = GLOB.all_languages[lang]
|
||||
if(chosen_language)
|
||||
if(is_lang_whitelisted(src,chosen_language) || (new_character.species && (chosen_language.name in new_character.species.secondary_langs)))
|
||||
new_character.add_language(lang)
|
||||
//VOREStation Add End
|
||||
|
||||
//If desired, apply equipment.
|
||||
|
||||
@@ -71,4 +71,29 @@
|
||||
|
||||
feedback_add_details("admin_verb","SCAM") //heh
|
||||
|
||||
return new_mob
|
||||
return new_mob
|
||||
|
||||
/client/proc/cmd_admin_z_narrate() // Allows administrators to fluff events a little easier -- TLE
|
||||
set category = "Special Verbs"
|
||||
set name = "Z Narrate"
|
||||
set desc = "Narrates to your Z level."
|
||||
|
||||
if (!holder)
|
||||
return
|
||||
|
||||
var/msg = input("Message:", text("Enter the text you wish to appear to everyone:")) as text
|
||||
if(!(msg[1] == "<" && msg[length(msg)] == ">")) //You can use HTML but only if the whole thing is HTML. Tries to prevent admin 'accidents'.
|
||||
msg = sanitize(msg)
|
||||
|
||||
if (!msg)
|
||||
return
|
||||
|
||||
var/pos_z = get_z(src.mob)
|
||||
if (!pos_z)
|
||||
return
|
||||
for(var/mob/M in player_list)
|
||||
if(M.z == pos_z)
|
||||
to_chat(M, msg)
|
||||
log_admin("ZNarrate: [key_name(usr)] : [msg]")
|
||||
message_admins("<font color='blue'><B> ZNarrate: [key_name_admin(usr)] : [msg]<BR></B></font>", 1)
|
||||
feedback_add_details("admin_verb","GLNA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
Reference in New Issue
Block a user