Secure - originalfoo/Prison-Architect-API GitHub Wiki

##Overview

Rooms

The Secure requirement prevents a Room from becoming active if prisoners can easily escape from it (see Notes later).

##Syntax

The setting is used in materials.txt and must be within a BEGIN Room ... definition block. It can be used only once per definition block.

    BEGIN Requirement Type Secure END

##Example

See Syntax above.

##Notes

An escape route is defined as "a path from the room to the edge of the map that does not have to go through at least one lockable door".

In the base game, the [Yard room](Yard (Room)) is the only one that has the Secure requirement (the Enclosed requirement is much more widely used).

A red warning indicator will appear over any insecure rooms that have the Secure requirement.

###data/scripts/

Room requirements are not currently exposed by the scripting API :(

##See Also

⚠️ **GitHub.com Fallback** ⚠️