up ports a bunch of TGS commands (#17961)

* up ports a bunch of TGS commands

* .

* needing this

* ...

* Update datacore.dm

* fix that

* at least stack that

* rework all user name handling

* urg

* urg

* .

* .

* .

* up port this

* make this clearer

* .

* .

* .

* fix that

* .

* add returns

* player ticket chat

* this

* .

* .

* umm

* adjust messages

* clean smitecode up

* .

* ummm

* .

* command filter
This commit is contained in:
Kashargul
2025-07-12 12:08:14 +02:00
committed by GitHub
parent 26517b7122
commit fe5556d2dc
28 changed files with 651 additions and 226 deletions
+4 -1
View File
@@ -199,8 +199,11 @@ var/list/runechat_image_cache = list()
// Translate any existing messages upwards, apply exponential decay factors to timers
message_loc = target.runechat_holder(src)
if(!owned_by)
qdel(src)
return
RegisterSignal(message_loc, COMSIG_PARENT_QDELETING, PROC_REF(qdel_self))
if(owned_by && owned_by.seen_messages)
if(owned_by.seen_messages)
var/idx = 1
var/combined_height = approx_lines
for(var/datum/chatmessage/m as anything in owned_by.seen_messages[message_loc])
+2 -1
View File
@@ -17,7 +17,7 @@
var/static/list/locked = list()
/datum/datacore/proc/get_manifest(monochrome, OOC)
/datum/datacore/proc/get_manifest(monochrome, OOC,var/snowflake = FALSE)
var/list/heads = new()
var/list/sec = new()
var/list/eng = new()
@@ -40,6 +40,7 @@
.manifest tr.alt td {[monochrome?"border-top-width: 2px":"background-color: [OOC?"#373737; color:white":"#DEF"]"]}
</style></head>
<table class="manifest" width='350px'>
[snowflake?"<tr><th colspan=3 style = \"background-color: #026e6a\"><b>Online players:</b> [TGS_CLIENT_COUNT]</th></tr><tr><th colspan=3 style = \"background-color: #027a76\"><b>Crew members:</b> [GLOB.data_core.general.len]</th></tr><tr class='head'>":""]
<tr class='head'><th>Name</th><th>Rank</th><th>Activity</th></tr>
"}
var/even = 0