forked from Bubberstation/Bubberstation
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
155804c
commit b148894
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
modular_zubbers/code/modules/atmospherics/machinery/portable/canister.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
modular_zzplurt/code/modules/atmospherics/machinery/portable/canister.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/obj/machinery/portable_atmospherics/canister/ui_interact(mob/user, datum/tgui/ui) | ||
. = ..() | ||
|
||
var/client/client = user.client | ||
if (CONFIG_GET(flag/use_exp_tracking) && client && client.get_exp_living(TRUE) < 8 HOURS) // Player with less than 8 hours playtime is interacting with this canister. | ||
if(client.next_canister_grief_warning < world.time) | ||
var/turf/T = get_turf(src) | ||
client.next_canister_grief_warning = world.time + 15 MINUTES // Wait 15 minutes before alerting admins again | ||
message_admins("[span_adminhelp("ANTI-GRIEF:")] New player [ADMIN_LOOKUPFLW(user)] has touched \a [src] at [ADMIN_VERBOSEJMP(T)].") | ||
client.touched_canister = TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters