QtCraft API C++ classes QML types Handbook

QcSpawnWeight Struct

The weight a biome gives a monster kind instead of the kind's own (decision E-838): the husk's desert takes most of the zombies' share. More...

Header: #include <common/content/worldgen/QcWorldgenDefinitions.h>

Public Variables

QString mob
double weight

Detailed Description

Member Variable Documentation

QString QcSpawnWeight::mob

Qualified name of the monster kind (a key of the biome's "monsters").

double QcSpawnWeight::weight

0 takes the kind out of the biome's list.