Limit how many workers can harvest the same resource
This commit is contained in:
@@ -18,6 +18,11 @@ bool entitySetPath(const ecs_entity_t entity, const Vector2 target, Game *game);
|
||||
* AI systems
|
||||
**********************************/
|
||||
|
||||
/*
|
||||
* 1. Harvestable
|
||||
*/
|
||||
void resetHarvestCount(ecs_iter_t *it);
|
||||
|
||||
/*
|
||||
* 0: Game (singleton)
|
||||
* 1: BzBTState
|
||||
|
||||
Reference in New Issue
Block a user