xFrednet / spaceship-factory

A Tower defense game where the tower to defend is actually a factory flying through space :)
2 stars 0 forks source link

Create conditions for LootTable pools #48

Open xFrednet opened 4 years ago

xFrednet commented 4 years ago

Create an option to add conditions to the pools of LootTables. This is useful when specific items should only be dropped when the object was destroyed in a specific way.

For example:

"condition": "damage_source == HOT",
"condition": "destroyed_by == meteoroid"
"condition": "rand() < 0.5"
....

Related to #27

xFrednet commented 4 years ago

What conditions would you like to have? @leit2