New/missing typeGroup functionality

We recently fixed a bug related to setting unit groups. While doing so I noticed that the typeGroup feature is lacking a lot of functionality.

For example, we have random item type from item type group but not the equivalent for random unit type from type group :sweat_smile:

Post whatever features you are missing here, I’ll keep a list in this post and then we’ll decide which ones would be useful for the engine!

  • random unit type from unit type group
2 Likes
  • (number) probability of entity type in entity type group
  • (number) quantity of entity type in entity type group
  • set probability of entity type in entity type group
  • set quantity of entity type in entity type group

This allows increasing/decreasing both probability and quantity in type groups. Right now they are static which limits their usefulness.

1 Like