cleans up spawning, rolling for items/mobs/traps separately

This commit is contained in:
Llywelwyn 2023-07-30 14:16:57 +01:00
parent eff49f4528
commit 475f96d4e6
8 changed files with 169 additions and 74 deletions

View file

@ -40,6 +40,12 @@ pub struct Prop {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct Monster {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct LootTable {
pub table: String,
pub chance: f32,
}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct Bystander {}