inventory finishes

This commit is contained in:
Llywelwyn 2023-07-07 08:37:29 +01:00
parent aadb966fa4
commit f26adf352e
6 changed files with 126 additions and 5 deletions

View file

@ -13,6 +13,7 @@ pub struct Renderable {
pub glyph: rltk::FontCharType,
pub fg: RGB,
pub bg: RGB,
pub render_order: i32,
}
#[derive(Component, Debug)]
@ -84,6 +85,11 @@ pub struct WantsToPickupItem {
pub item: Entity,
}
#[derive(Component, Debug, Clone)]
pub struct WantsToDropItem {
pub item: Entity,
}
#[derive(Component, Debug)]
pub struct WantsToDrinkPotion {
pub potion: Entity,