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
+1 -1
View File
@@ -89,7 +89,7 @@
var/obj/effect/overmap/visitable/ship/landable/champagne/newship = new(start_loc, shuttle_name, shuttle_name)
// It automatically registers itself with SSshuttles
log_debug("Created new ship [newship] for shuttle [shuttle] at landmark [starting_landmark]")
log_world("Created new ship [newship] for shuttle [shuttle] at landmark [starting_landmark]")
return shuttle
//
+1 -1
View File
@@ -18,7 +18,7 @@ GLOBAL_DATUM_INIT(overmap_event_handler, /decl/overmap_event_handler, new)
break
var/overmap_event_type = pick(subtypesof(/datum/overmap_event))
var/datum/overmap_event/datum_spawn = new overmap_event_type
log_debug("Generating cloud of [datum_spawn.count] [datum_spawn] overmap event hazards")
log_game("Generating cloud of [datum_spawn.count] [datum_spawn] overmap event hazards")
var/list/event_turfs = acquire_event_turfs(datum_spawn.count, datum_spawn.radius, candidate_turfs, datum_spawn.continuous)
candidate_turfs -= event_turfs
+1 -1
View File
@@ -59,7 +59,7 @@
launched = TRUE
var/obj/effect/overmap/visitable/S = get_overmap_sector(z)
if(!S)
error("Distress button hit on z[z] but that's not an overmap sector...")
log_mapping("## ERROR Distress button hit on z[z] but that's not an overmap sector...")
return
S.distress(user)
//Kind of pricey, but this is a one-time thing that can't be reused, so I'm not too worried.
+1 -1
View File
@@ -155,6 +155,6 @@
if(D.pulling)
D.pulling.forceMove(dest)
else
to_world("CANARY: Could not move [A] to [nx], [ny], [nz]: [dest ? "[dest]" : "null"]")
to_chat(world, "CANARY: Could not move [A] to [nx], [ny], [nz]: [dest ? "[dest]" : "null"]")
M.cleanup()