Building count limits #60

Closed
opened 2026-09-05 06:17:58 +01:00 by liamjd · 1 comment
Owner

Optional property for building types to limit the number of those buildings that can be placed on a map.

AC:

  • each building type has an optional build_limit property
  • once a building is placed on the map, if the number of instances of that building equals the build_limit, disable the building type card in the panel
  • the rocket will have a build_limit value of 1
  • remove the 'unique' property

In in the future, once we have the concept of levels/distinct maps, then the limits will be set at the start of each level

Optional property for building types to limit the number of those buildings that can be placed on a map. AC: * each building type has an optional build\_limit property * once a building is placed on the map, if the number of instances of that building equals the build\_limit, disable the building type card in the panel * the rocket will have a build\_limit value of 1 * remove the 'unique' property In in the future, once we have the concept of levels/distinct maps, then the limits will be set at the start of each level
Author
Owner

I set the sensor tower limit to 5, just to verify the limits really. And I added a count and limit label to the tooltip on the card, which appears after a building of that type has been placed.

I set the sensor tower limit to 5, just to verify the limits really. And I added a count and limit label to the tooltip on the card, which appears after a building of that type has been placed.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
liamjd/UntitledColonyBuilder#60
No description provided.