Documentation: GenomeDataComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
is_predator | bool | false | Predators are considered threats by other species and hunt for food. | |
food_chain_rank | float | 0 | [0, 200] | 0 means king of the hill. Greater number = more likely to get eaten by other species. |
berserk_dont_attack_friends | bool | false | if 1, this animal will not try to attack player who would normally be its friend | |
Custom data types | ||||
herd_id | LensValue<int> | 0 | This is used for example to separate people in different tribes. | |
Privates | ||||
friend_thundermage | LensValue<bool> | false | if 1, thunder mage doesn't attack this | |
friend_firemage | LensValue<bool> | false | if 1, fire mage doesn't attack this |