mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-07 07:25:47 -07:00
Use HFSM for unit AI. Support queuing orders. Automatically attack back when attacked. Automatically gather from farms after building them. This was SVN commit r7775.
5 lines
202 B
JavaScript
5 lines
202 B
JavaScript
Engine.RegisterInterface("ResourceGatherer");
|
|
|
|
// Message sent from ResourceGatherers to a ResourceSupply entity
|
|
// each time they gather resources from it
|
|
Engine.RegisterMessageType("ResourceGather");
|