Opened 3 years ago

Last modified 21 months 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:


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 Silier, 3 years ago

Keywords: simple removed
severity: simple

comment:2 by Silier, 3 years ago

Keywords: simple added

comment:3 by Grapjas, 21 months ago

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

    <Entities datatype="tokens">

(i haven't checked if this changed in SVN though)

EDIT: I think i just realised what you mean, you want Builders to prevent being able to help construct things that's not in their build list?

Version 1, edited 21 months ago by Grapjas (previous) (next) (diff)
Note: See TracTickets for help on using tickets.