These can be used as either expressions or as statements
Removes an amount of resource from an object, and returns the amount removed. If the amount asked for is greater than what is available than the full amount available is taken.
remove resource RESOURCE_TYPE_FOOD 20 from StoragePit
Adds an amount of resource to an object, and returns the amount added. If the amount asked for is greater than the storage space left then the remaining space only will be filled.
add resource RESOURCE_TYPE_FOOD 20 to StoragePit
This documentation generated by LHDOC, © Lionhead Studios 2000