Developing resources

Advanced topic - requires coding skills

Resource components in CLEM are designed manage the movement of a resource in and out of the store thereby tracking the state and availability of the resource (see Resources). There are two categories of resource components, the Resource Group and the Resource Type. The Resource Group specifies the type of resource such as animal food, finance, water or labour. This group contains any number of components of the associated Resource Type as children.

The resource and resource type components are designed to be simple stores providing transaction management with limited associated code. The philosophy of CLEM is that Activities should contain all the code to work with resources. There are some exceptions to this rule where additional logic is required to manage the resource such as labour. CLEM aims to provide as much resource type agnostic code as possible to provide functionality across resources in future such as using any resource for a payment as opposed to only finances.