QtCraft API C++ classes QML types Handbook

QcVillageGolemPatch Struct

A style's own golems (its "golem", decision E-421): the fields it gives, each over the settings' golems (worldgen/villages.json), so {"minVillagers": 5} keeps the settings' creature kind. More...

Header: #include <common/content/villages/QcVillagerDefinitions.h>

Public Functions

QcVillageGolemSettings over(QcVillageGolemSettings base) const

Detailed Description

false in the file is a patch with an empty mob: no golems. Each field, when set, replaces the field of the same name of QcVillageGolemSettings.

Member Function Documentation

QcVillageGolemSettings QcVillageGolemPatch::over(QcVillageGolemSettings base) const

Returns base with the given fields replaced.