Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#4290 closed defect (fixed)

Handle several category in BuildRestrictions (see Lighthouse)

Reported by: fatherbushido Owned by: fatherbushido
Priority: Should Have Milestone: Alpha 22
Component: UI & Simulation Keywords:
Cc: Patch:

Description (last modified by fatherbushido)

The issue is encountered with the ptolemaic lighthouse. In player template, we saw a EntityLimits of 1 for the LightHouse category but we can build several lighthouse. Indeed in BuildRestrictions, we see the Dock category (and it should be like that) so we can't add the Lighthouse category. Perhaps the code could handle several category or...

Change History (2)

comment:1 Changed 3 years ago by fatherbushido

Owner: set to fatherbushido
Resolution: fixed
Status: newclosed

In 19839:

Use PlacementType? instead of Category in BuildRestriction? for the hardcoded dock special constraint. AI patch by mimo. Reviewed by leper and s0600204. Final review by mimo.
Fix #4290.
Differential Revision:

comment:2 Changed 3 years ago by fatherbushido

Description: modified (diff)
Milestone: BacklogAlpha 22
Note: See TracTickets for help on using tickets.