JSON Logging Refactor (#18252)

* First pass

* fixes

* more fixes

* num2hex length changes

* pass 2

* fixed warning

* looc log fix

* .

* update tgui

* .

* .

* .

* .

* perttier

* cleanup

* .

* .

* fix token

* no

* .

* .

* .

* ,

* modsay eventsay

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2025-09-11 17:28:20 +02:00
committed by GitHub
co-authored by Kashargul
parent 67fa43bd5a
commit b0f0f4685f
403 changed files with 4013 additions and 2309 deletions
@@ -31,7 +31,7 @@
total_so_far += amt
reagents.add_reagent(string, amt)
if(total_so_far > volume)
warning("[src]([src.type]) starts with more reagents than it has total volume")
WARNING("[src]([src.type]) starts with more reagents than it has total volume")
starts_with = null // it should gc, since it's just strings and numbers
/obj/item/reagent_containers/attack_self(mob/user as mob)
@@ -44,14 +44,11 @@
user.setClickCooldown(4)
if(reagents.has_reagent(REAGENT_ID_SACID))
message_admins("[key_name_admin(user)] fired sulphuric acid from \a [src].")
log_game("[key_name(user)] fired sulphuric acid from \a [src].")
log_and_message_admins("fired sulphuric acid from \a [src].", user)
if(reagents.has_reagent(REAGENT_ID_PACID))
message_admins("[key_name_admin(user)] fired Polyacid from \a [src].")
log_game("[key_name(user)] fired Polyacid from \a [src].")
log_and_message_admins("fired Polyacid from \a [src].", user)
if(reagents.has_reagent(REAGENT_ID_LUBE))
message_admins("[key_name_admin(user)] fired Space lube from \a [src].")
log_game("[key_name(user)] fired Space lube from \a [src].")
log_and_message_admins("fired Space lube from \a [src].", user)
return
/obj/item/reagent_containers/spray/proc/Spray_at(atom/A as mob|obj, mob/user, proximity)