add souls and bones + tower cost and enemy drops
This commit is contained in:
parent
bc02db7b26
commit
138a524abd
18 changed files with 151 additions and 14 deletions
|
|
@ -6,6 +6,7 @@ edition = "2024"
|
|||
[dependencies]
|
||||
bevy = { workspace = true }
|
||||
combat = { path = "../combat" }
|
||||
resources = { path = "../resources" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
use bevy::prelude::*;
|
||||
use combat::{Health, Team};
|
||||
use resources::Drops;
|
||||
|
||||
pub struct InhabitantPlugin;
|
||||
|
||||
|
|
@ -12,5 +13,5 @@ impl Plugin for InhabitantPlugin {
|
|||
}
|
||||
|
||||
#[derive(Component, Default)]
|
||||
#[require(Health, Team::Inhabitant)]
|
||||
#[require(Health, Team::Inhabitant, Drops)]
|
||||
pub struct Inhabitant;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue