Opened 3 years ago
Last modified 2 years ago
#5991 new enhancement
Allow to limit the structures a builder can construct.
Reported by: | Freagarach | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Backlog |
Component: | Simulation | Keywords: | simple |
Cc: | Patch: |
Description
Currently a builder can construct any foundation. It would be nice to be able to limit builders to only be able to construct foundations present in their BuildList.
E.g. via a function CanBuild(foundationEntity)
.
Potential use case:
- Siege engineers only able to construct siege equipment.
Change History (3)
comment:1 by , 3 years ago
Keywords: | simple removed |
---|---|
severity: | → simple |
comment:2 by , 3 years ago
Keywords: | simple added |
---|
Note:
See TracTickets
for help on using tickets.
You can specify the build entities in the template of that entity, and no one else but that unit can build them. Is there a special case you want a function for it? For example you can make template_unit_siege_engineer and specify
(i haven't checked if this changed in SVN though)
EDIT: I think i just realised what you mean, you want to prevent Builders being able to help construct things that's not in their build list?