mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
Simple mob port [IDB IGNORE] (#18236)
* first adjustements * few more * construct * next * next set * next * next * next * next * next * . * last non modular set * make it compile * . * . * change that * synx * teamush * override fix * TEAMUSH * adds organ sell element * adds pick color * get rid of these chompcomments * removes chomp comments * Update gaslamp_vr.dm * zipgun * zip and synx * fixes synx * Update topic.dm * move the trash verbs * . * . * . * port * Update rakshasa_trap.dm * Update slug.dm --------- Co-authored-by: C.L. <killer65311@gmail.com> Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -227,11 +227,9 @@ ADMIN_VERB_ONLY_CONTEXT_MENU(show_player_panel, R_HOLDER, "Show Player Panel", m
|
||||
if(!f) body += " | "
|
||||
else f = 0
|
||||
if(L in player.languages)
|
||||
k = span_green(k)
|
||||
body += "<a href='byond://?_src_=holder;[HrefToken()];toglang=\ref[player];lang=[html_encode(k)]'>[k]</a>"
|
||||
body += "<a href='byond://?_src_=holder;[HrefToken()];toglang=\ref[player];lang=[html_encode(k)]'>[span_green(k)]</a>"
|
||||
else
|
||||
k = span_red(k)
|
||||
body += "<a href='byond://?_src_=holder;[HrefToken()];toglang=\ref[player];lang=[html_encode(k)]'>[k]</a>"
|
||||
body += "<a href='byond://?_src_=holder;[HrefToken()];toglang=\ref[player];lang=[html_encode(k)]'>[span_red(k)]</a>"
|
||||
|
||||
body += {"<br>"}
|
||||
|
||||
|
||||
@@ -1868,7 +1868,7 @@
|
||||
to_chat(usr, span_filter_adminlog("Failed to remove language '[lang2toggle]' from \the [M]!"))
|
||||
else
|
||||
if(!M.add_language(lang2toggle))
|
||||
to_chat(usr, span_filter_adminlog("Failed to add language '[lang2toggle]' from \the [M]!"))
|
||||
to_chat(usr, span_filter_adminlog("Failed to add language '[lang2toggle]' to \the [M]!"))
|
||||
|
||||
SSadmin_verbs.dynamic_invoke_verb(usr.client, /datum/admin_verb/show_player_panel, M)
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ ADMIN_VERB(drop_everything, R_ADMIN, "Drop Everything", ADMIN_VERB_NO_DESCRIPTIO
|
||||
if(!M)
|
||||
return
|
||||
|
||||
var/msg = tgui_input_text(usr, "Message:", text("Enter the text you wish to appear to your target:"))
|
||||
var/msg = tgui_input_text(usr, "Message:", text("Enter the text you wish to appear to your target:"), encode = FALSE)
|
||||
if(msg && !(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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user