QtCraft API C++ classes QML types Handbook

QcStructureDefinition::Choice Struct

struct QcStructureDefinition::Choice

A choice of the village planner (decision E-404): one of the options is taken per placed copy, each as likely as the others. More...

Detailed Description

An option swaps names (qualified name -> qualified name) in the palette's block names (states keep their properties) and in the creatures' names; an empty option keeps the structure as it is. name is the choice's key in "choices", options its options (1 to maxOptions).