Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed May 27, 2024
1 parent 1116c3a commit a6aa56e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/game/machinery/ARES/ARES_interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@
return FALSE
link.change_iff(new_iff)
playsound(src, 'sound/machines/chime.ogg', 15, 1)
message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].")
to_chat(user, SPAN_WARNING("Sentry IFF settings updated!"))
return TRUE

Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/ARES/ARES_interface_admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -534,5 +534,6 @@
if(new_iff == faction_label)
return FALSE
change_iff(new_iff)
message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].")
to_chat(user, SPAN_WARNING("Sentry IFF settings updated!"))
return TRUE
1 change: 1 addition & 0 deletions code/game/machinery/ARES/ARES_interface_apollo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@
return FALSE
link.change_iff(new_iff)
playsound(src, 'sound/machines/chime.ogg', 15, 1)
message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].")
to_chat(user, SPAN_WARNING("Sentry IFF settings updated!"))
return TRUE

Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/ARES/apollo_pda.dm
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@
if(new_iff == link.faction_label)
return FALSE
link.change_iff(new_iff)
message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].")
playsound(src, 'sound/machines/chime.ogg', 15, 1)
to_chat(user, SPAN_WARNING("Sentry IFF settings updated!"))
return TRUE
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/ARES/debug_pda.dm
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@
return FALSE
link.change_iff(new_iff)
playsound(src, 'sound/machines/chime.ogg', 15, 1)
message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].")
to_chat(user, SPAN_WARNING("Sentry IFF settings updated!"))
return TRUE

Expand Down

0 comments on commit a6aa56e

Please sign in to comment.