mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +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
@@ -517,7 +517,7 @@
|
||||
break
|
||||
|
||||
if(!new_canvas)
|
||||
warning("Couldn't find a canvas to match [w]x[h] of painting")
|
||||
WARNING("Couldn't find a canvas to match [w]x[h] of painting")
|
||||
return
|
||||
|
||||
new_canvas.fill_grid_from_icon(I)
|
||||
@@ -559,7 +559,7 @@
|
||||
return 0
|
||||
if(!fexists("data/persistent/paintings/[persistence_id]/[painting["md5"]].png"))
|
||||
to_chat(usr, span_warning("Chosen painting could not be loaded! Incident was logged, but no action taken at this time"))
|
||||
log_debug("[usr] tried to spawn painting of list id [which_painting] in all_paintings list and associated file could not be found. \n \
|
||||
log_runtime("[usr] tried to spawn painting of list id [which_painting] in all_paintings list and associated file could not be found. \n \
|
||||
Painting was titled [title] by [author_ckey] of [persistence_id]")
|
||||
return 0
|
||||
|
||||
@@ -574,7 +574,7 @@
|
||||
break
|
||||
|
||||
if(!new_canvas)
|
||||
warning("Couldn't find a canvas to match [w]x[h] of painting")
|
||||
WARNING("Couldn't find a canvas to match [w]x[h] of painting")
|
||||
return 0
|
||||
|
||||
new_canvas.fill_grid_from_icon(I)
|
||||
@@ -597,7 +597,7 @@
|
||||
Proceed? It will likely have over 500 entries", "Generate list?", list("Proceed!", "Cancel")) != "Proceed!")
|
||||
return
|
||||
|
||||
log_debug("[usr] generated list of paintings from SSPersistence")
|
||||
// to_chat(world, "[usr] generated list of paintings from SSPersistence")
|
||||
var/list/paintings = list()
|
||||
var/current = 1
|
||||
for(var/entry in SSpersistence.all_paintings)
|
||||
|
||||
Reference in New Issue
Block a user