Outdoor - originalfoo/Prison-Architect-API GitHub Wiki

Were you looking for Materials setting IndoorOutdoor?

##Overview

Rooms

The Outdoor requirement prevents a Room from being placed indoors.

##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 Outdoor END

##Example

See Syntax above.

##Notes

If this setting is added, the room can only be placed indoors. In the base game, only the [Forestry room](Forestry (Room)) has the Outdoor requirement.

If neither the Indoor or Outdoor requirements are added, the room can be placed anywhere.

###data/scripts/

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

##See Also

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