weighted spawns, magic mapping, and curses
This commit is contained in:
parent
b8f8691e90
commit
c6639b7616
8 changed files with 318 additions and 133 deletions
|
|
@ -81,6 +81,9 @@ impl SufferDamage {
|
|||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Item {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Cursed {}
|
||||
|
||||
#[derive(Component, Debug, ConvertSaveload, Clone)]
|
||||
pub struct ProvidesHealing {
|
||||
pub amount: i32,
|
||||
|
|
@ -106,6 +109,9 @@ pub struct Confusion {
|
|||
pub turns: i32,
|
||||
}
|
||||
|
||||
#[derive(Component, Serialize, Deserialize, Clone)]
|
||||
pub struct MagicMapper {}
|
||||
|
||||
#[derive(Component, Debug, ConvertSaveload)]
|
||||
pub struct InBackpack {
|
||||
pub owner: Entity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue