mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user