mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
[DOWNSTREAM] Cyrillic Support v2 (#24075)
* cyrillic fixes https://github.com/ss220club/Paradise/commit/cbdad6f11f0e0e16694cdb60f8ccb3d6dd23fe92 * fix: remove control characters * utf-8 support * more fixes * spellbook to utf8 * Update code/modules/research/server.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/research/server.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/paperwork/paper.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/paperwork/folders.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/mob/mob_say_base.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * update formatting * fix ai alerts * fix spaceheater * fix noticeboard --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -239,6 +239,7 @@
|
||||
|
||||
var/html = {"
|
||||
<html>
|
||||
<meta charset="UTF-8">
|
||||
<head>
|
||||
<title>[title]</title>
|
||||
<style>
|
||||
@@ -570,7 +571,7 @@
|
||||
to_chat(usr, "This can only be used on instances of type /mob")
|
||||
return
|
||||
|
||||
var/new_name = reject_bad_name(sanitize(copytext(input(usr, "What would you like to name this mob?", "Input a name", M.real_name) as text|null, 1, MAX_NAME_LEN)), allow_numbers = TRUE)
|
||||
var/new_name = reject_bad_name(sanitize(copytext_char(input(usr, "What would you like to name this mob?", "Input a name", M.real_name) as text|null, 1, MAX_NAME_LEN)), allow_numbers = TRUE)
|
||||
if(!new_name || !M) return
|
||||
|
||||
message_admins("Admin [key_name_admin(usr)] renamed [key_name_admin(M)] to [new_name].")
|
||||
|
||||
+3
-3
@@ -185,7 +185,7 @@
|
||||
if(!recipient)
|
||||
recipient = current
|
||||
var/list/output = list()
|
||||
output.Add("<B>[current.real_name]'s Memories:</B><HR>")
|
||||
output.Add("<meta charset='UTF-8'><b>[current.real_name]'s Memories:</b><hr>")
|
||||
output.Add(memory)
|
||||
|
||||
for(var/datum/antagonist/A in antag_datums)
|
||||
@@ -524,7 +524,7 @@
|
||||
alert("Not before round-start!", "Alert")
|
||||
return
|
||||
|
||||
var/list/out = list("<B>[name]</B>[(current && (current.real_name != name))?" (as [current.real_name])" : ""]")
|
||||
var/list/out = list("<meta charset='UTF-8'><b>[name]</b>[(current && (current.real_name != name))?" (as [current.real_name])" : ""]")
|
||||
out.Add("Mind currently owned by key: [key] [active ? "(synced)" : "(not synced)"]")
|
||||
out.Add("Assigned role: [assigned_role]. <a href='?src=[UID()];role_edit=1'>Edit</a>")
|
||||
out.Add("Factions and special roles:")
|
||||
@@ -762,7 +762,7 @@
|
||||
var/datum/objective/escape/escape_with_identity/O = new_objective
|
||||
O.target_real_name = new_objective.target.current.real_name
|
||||
if("custom")
|
||||
var/expl = sanitize(copytext(input("Custom objective:", "Objective", objective ? objective.explanation_text : "") as text|null,1,MAX_MESSAGE_LEN))
|
||||
var/expl = sanitize(copytext_char(input("Custom objective:", "Objective", objective ? objective.explanation_text : "") as text|null, 1, MAX_MESSAGE_LEN))
|
||||
if(!expl)
|
||||
return
|
||||
new_objective = new /datum/objective
|
||||
|
||||
Reference in New Issue
Block a user