Add ProvidesIdentification tag component

This commit is contained in:
Timothy Warren 2022-01-21 15:13:31 -05:00
parent 5c438cc3c0
commit 53eac9d710
3 changed files with 6 additions and 0 deletions

View File

@ -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 {}

View File

@ -97,6 +97,7 @@ fn init_state() -> State {
Position,
ProvidesFood,
ProvidesHealing,
ProvidesIdentification,
ProvidesRemoveCurse,
Quips,
Ranged,

View File

@ -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,