Denizen/0.7/Activity Scripts

From Citizens Wiki

< Denizen‎ | 0.7

Revision as of 05:18, 17 August 2012 by Jrbudda (talk | contribs)

Activity Scripts contain a set of Activities. Activities are continuous actions the Denizen can do that give it live. Wandering, collecting wheat, mining a block, these are all possible activities.

An Activity script defines a set of Activities that a Denizen can do simultaneously.

Each Activity is assigned a goal priority that dictates which activity will be active at any given time. If a certain Activity cannot be done, the next lower priority Activity will be used instead.

An activity Script.

'Citizen':
  Type: Activity
  Requirements:
    Mode: None
  Activities:
    List:
    - 1 WANDER DELAY:12 RADIUS:10 SPEED:.75 FILTER:COBBLESTONE,GRAVEL,5