Skip to content

Commit

Permalink
[MIRROR] Fix AI access (#2765)
Browse files Browse the repository at this point in the history
Co-authored-by: HeyBanditoz <[email protected]>
Co-authored-by: Lexanx <[email protected]>
  • Loading branch information
3 people authored Nov 24, 2024
1 parent 2e339b8 commit 08fb3c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/game/objects/items/weapons/cards_ids.dm
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,14 @@ var/global/const/NO_EMAG_ACT = -50
access = GLOB.using_map.synth_access.Copy()
..()

/obj/item/card/id/synthetic/ai
name = "\improper AI ID"
desc = "All-access module for the AI."

/obj/item/card/id/synthetic/ai/New()
..()
access = get_all_station_access() + access_synth

/obj/item/card/id/centcom
name = "\improper CentCom. ID"
desc = "An ID straight from Cent. Com."
Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/silicon/ai/ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ var/global/list/ai_verbs_default = list(
var/default_ai_icon = /singleton/ai_icon/blue
var/static/list/custom_ai_icons_by_ckey_and_name

idcard = /obj/item/card/id/synthetic/ai

/mob/living/silicon/ai/proc/add_ai_verbs()
src.verbs |= ai_verbs_default
src.verbs -= /mob/living/verb/ghost
Expand Down

0 comments on commit 08fb3c7

Please sign in to comment.