2010-02-12 23:46:53 +01:00
|
|
|
Engine.RegisterInterface("ResourceGatherer");
|
2010-07-21 18:09:58 +02:00
|
|
|
|
|
|
|
// Message sent from ResourceGatherers to a ResourceSupply entity
|
|
|
|
// each time they gather resources from it
|
|
|
|
Engine.RegisterMessageType("ResourceGather");
|
2012-04-18 13:30:28 +02:00
|
|
|
|
|
|
|
// Message of the form { "to", [ {"type":"wood", "amount":7, "max":10} ] },
|
|
|
|
// sent whenever carrying amount changes.
|
|
|
|
Engine.RegisterMessageType("ResourceCarryingChanged");
|