static inventory keys - items remember their slots
this is the biggest refactor of my entire life
This commit is contained in:
parent
9719ebbe88
commit
c5106a63b5
20 changed files with 758 additions and 307 deletions
|
|
@ -6,6 +6,7 @@ pub struct Item {
|
|||
pub id: String,
|
||||
pub name: Name,
|
||||
pub renderable: Option<Renderable>,
|
||||
pub class: String,
|
||||
pub weight: Option<f32>,
|
||||
pub value: Option<f32>,
|
||||
pub equip: Option<Equippable>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue