Add ProvidesIdentification tag component
This commit is contained in:
parent
5c438cc3c0
commit
53eac9d710
@ -48,3 +48,6 @@ pub struct CursedItem {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct ProvidesRemoveCurse {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct ProvidesIdentification {}
|
||||
|
@ -97,6 +97,7 @@ fn init_state() -> State {
|
||||
Position,
|
||||
ProvidesFood,
|
||||
ProvidesHealing,
|
||||
ProvidesIdentification,
|
||||
ProvidesRemoveCurse,
|
||||
Quips,
|
||||
Ranged,
|
||||
|
@ -102,6 +102,7 @@ pub fn save_game(ecs: &mut World) {
|
||||
Position,
|
||||
ProvidesFood,
|
||||
ProvidesHealing,
|
||||
ProvidesIdentification,
|
||||
ProvidesRemoveCurse,
|
||||
Quips,
|
||||
Ranged,
|
||||
@ -221,6 +222,7 @@ pub fn load_game(ecs: &mut World) {
|
||||
Position,
|
||||
ProvidesFood,
|
||||
ProvidesHealing,
|
||||
ProvidesIdentification,
|
||||
ProvidesRemoveCurse,
|
||||
Quips,
|
||||
Ranged,
|
||||
|
Loading…
Reference in New Issue
Block a user