mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 05:07:51 +01:00
[MIRROR] JSON Logging Refactor (#11623)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Selis
Kashargul
parent
272afa33c8
commit
5a62077f2c
@@ -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
|
||||
|
||||
//
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -56,7 +56,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.
|
||||
|
||||
@@ -155,6 +155,6 @@
|
||||
if(D.pulling)
|
||||
D.pulling.forceMove(dest)
|
||||
else
|
||||
log_debug("CANARY: Could not move [A] to [nx], [ny], [nz]: [dest ? "[dest]" : "null"]") //CHOMPEdit - changed to log_debug
|
||||
to_chat(world, "CANARY: Could not move [A] to [nx], [ny], [nz]: [dest ? "[dest]" : "null"]")
|
||||
|
||||
M.cleanup()
|
||||
|
||||
Reference in New Issue
Block a user