Entity - originalfoo/Prison-Architect-API GitHub Wiki

Were you looking for Callouts-related [Entity](Entity (Callout)) setting?

##Overview

Staff

The Entity property defines an Object as being a person.

##Syntax

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

    Properties Entity

##Example Mods

Basic customisations:

Scripting examples:

##Notes

Entities can be spawned in the following ways:

  • Arrive by PrisonBus (Prisoner entities only)
  • Automatically arrive depending on rooms, reform programmes, etc:
    • Visitors, ParoleLawyer, Teacher, ...
  • Direct placement by player via the "Staff" menu
  • Callouts
  • Spawned via Object.Spawn()

In order for an entity to appear on the "Staff" menu, you must also define a Price and ensure their ConstructionTime is 0 or above.

###data/scripts/

A fairly large number of additional scripting features become available when you use the Entity property. For a full list, see Entities.

##See Also

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