forked from 0ad/0ad
10 lines
376 B
JavaScript
10 lines
376 B
JavaScript
Engine.RegisterInterface("ResourceGatherer");
|
|
|
|
// Message sent from ResourceGatherers to a ResourceSupply entity
|
|
// each time they gather resources from it
|
|
Engine.RegisterMessageType("ResourceGather");
|
|
|
|
// Message of the form { "to", [ {"type":"wood", "amount":7, "max":10} ] },
|
|
// sent whenever carrying amount changes.
|
|
Engine.RegisterMessageType("ResourceCarryingChanged");
|