Skip to content

Commit

Permalink
Turnstile Access Prefabs (#5738)
Browse files Browse the repository at this point in the history
## About The Pull Request

Prefabs for mappers

## Why It's Good For The Game

Helpful for later, but marionette still needs to fix the access checks
on the turnstiles, I think. Even when varedited they're not checking for
access requirements before allowing the mob to pass through.
  • Loading branch information
MonaraMir authored Jul 20, 2023
1 parent 07e4485 commit abc8d8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/__DEFINES/access.dm
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ STANDARD_ACCESS_DATUM(ACCESS_SECURITY_HOS, station/security/hos, "Head of Securi
STANDARD_ACCESS_DATUM(ACCESS_SECURITY_GENPOP_ENTER, station/security/genpop_enter, "Genpop - Enter")

#define ACCESS_SECURITY_GENPOP_EXIT 112
STANDARD_ACCESS_DATUM(ACCESS_SECURITY_GENPOP_EXIT, station/security/genpop_exit, "Genpop - Enter")
STANDARD_ACCESS_DATUM(ACCESS_SECURITY_GENPOP_EXIT, station/security/genpop_exit, "Genpop - Exit")


#define ACCESS_SECURITY_EDIT 306
Expand Down
6 changes: 6 additions & 0 deletions code/game/machinery/turnstile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,10 @@
else
return TRUE

/obj/machinery/turnstile/entry
name = "\improper Entrance"
req_one_access = 111

/obj/machinery/turnstile/exit
name = "\improper Exit"
req_one_access = 112

0 comments on commit abc8d8b

Please sign in to comment.