Indoor - originalfoo/Prison-Architect-API GitHub Wiki

Were you looking for Materials setting IndoorOutdoor?

##Overview

Rooms

The Indoor requirement prevents a Room from being placed outdoors.

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

##Example

See Syntax above.

##Notes

If this setting is added, the room can only be placed indoors.

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** ⚠️