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)]
|
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||||
pub struct ProvidesRemoveCurse {}
|
pub struct ProvidesRemoveCurse {}
|
||||||
|
|
||||||
|
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||||
|
pub struct ProvidesIdentification {}
|
||||||
|
@ -97,6 +97,7 @@ fn init_state() -> State {
|
|||||||
Position,
|
Position,
|
||||||
ProvidesFood,
|
ProvidesFood,
|
||||||
ProvidesHealing,
|
ProvidesHealing,
|
||||||
|
ProvidesIdentification,
|
||||||
ProvidesRemoveCurse,
|
ProvidesRemoveCurse,
|
||||||
Quips,
|
Quips,
|
||||||
Ranged,
|
Ranged,
|
||||||
|
@ -102,6 +102,7 @@ pub fn save_game(ecs: &mut World) {
|
|||||||
Position,
|
Position,
|
||||||
ProvidesFood,
|
ProvidesFood,
|
||||||
ProvidesHealing,
|
ProvidesHealing,
|
||||||
|
ProvidesIdentification,
|
||||||
ProvidesRemoveCurse,
|
ProvidesRemoveCurse,
|
||||||
Quips,
|
Quips,
|
||||||
Ranged,
|
Ranged,
|
||||||
@ -221,6 +222,7 @@ pub fn load_game(ecs: &mut World) {
|
|||||||
Position,
|
Position,
|
||||||
ProvidesFood,
|
ProvidesFood,
|
||||||
ProvidesHealing,
|
ProvidesHealing,
|
||||||
|
ProvidesIdentification,
|
||||||
ProvidesRemoveCurse,
|
ProvidesRemoveCurse,
|
||||||
Quips,
|
Quips,
|
||||||
Ranged,
|
Ranged,
|
||||||
|
Loading…
Reference in New Issue
Block a user