[MIRROR] Simplifies Law Logging [MDB IGNORE] (#12116)

* Simplifies Law Logging (#65449)

dragomagol
Member
dragomagol commented 2 days ago
About The Pull Request

This removes the href logs from silicon logging.
Why It's Good For The Game

Current silicon law change logs in silicon.log are really really long. Like excessively long. It makes the logs necessarily difficult to read.
Changelog

cl
admin: Silicon law logs are shorter and easier to read
/cl

* Simplifies Law Logging

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-03-16 01:47:36 +01:00
committed by GitHub
parent e17cc91c66
commit bbef468d32
+1 -1
View File
@@ -80,7 +80,7 @@ AI MODULES
if(owned_borg.connected_ai && owned_borg.lawupdate)
affected_cyborgs += owned_borg
borg_flw += "[ADMIN_LOOKUPFLW(owned_borg)], "
borg_txt += "[ADMIN_LOOKUP(owned_borg)], "
borg_txt += "[owned_borg.name]([owned_borg.key]), "
borg_txt = borg_txt.Join()
GLOB.lawchanges.Add("[time] <B>:</B> [user.name]([user.key]) used [src.name] on [ainame]([aikey]).[law2log ? " The law specified [law2log]" : ""], [length(affected_cyborgs) ? ", impacting synced borgs [borg_txt]" : ""]")