Skip to content

Commit

Permalink
reduced AAC restrictions (#36712)
Browse files Browse the repository at this point in the history
* reduced AAC restrictions

* muh immulsions

* o shit remove the old one
  • Loading branch information
CrazyAmphibian authored Jun 25, 2024
1 parent 1c8ebda commit 4e085ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/modules/atmos_automation/console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,10 @@
onclose(usr, "AAC_assemblies")

/obj/machinery/computer/general_air_control/atmos_automation/proc/AAC_age_check(var/mob/M,var/list/href_list)
if(href_list["on"] || href_list["runonce"])
if(M.client && !M.client.holder && M.client.player_age < 30)
message_admins("[key_name(M)] attempted to [href_list["on"] ? "toggle" : "single-run"] an AAC script despite their player age of [M.client.player_age].")
if(href_list["read"])
if(M.client && !M.client.holder && M.client.player_age < 7)
to_chat(M, "<span class=warning>Importing functionality is unavailable for new personnel. Please wait an additional [7 - M.client.player_age] days before use.</span>")
message_admins("[key_name(M)] attempted to import an AAC script despite their player age of [M.client.player_age].")
return TRUE

/obj/machinery/computer/general_air_control/atmos_automation/proc/MakeCompare(var/datum/automation/a, var/datum/automation/b, var/comparetype)
Expand Down

0 comments on commit 4e085ef

Please sign in to comment.