cleans up spawning, rolling for items/mobs/traps separately
This commit is contained in:
parent
eff49f4528
commit
475f96d4e6
8 changed files with 169 additions and 74 deletions
|
|
@ -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 {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue