Skip to content

Commit

Permalink
Merge pull request #10 from PlagueAutomata/inventory
Browse files Browse the repository at this point in the history
inventory
  • Loading branch information
lain-dono authored Jan 17, 2024
2 parents 8ad4572 + 8115434 commit 8bfadcf
Show file tree
Hide file tree
Showing 25 changed files with 1,349 additions and 226 deletions.
88 changes: 88 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ bevy = { version = "0.12.1", features = [
] }
bevy_egui = "0.24"
big-brain = { git = "https://github.com/PlagueAutomata/big-brain", rev = "aed238e" }

serde = { version = "1", features = ["derive"] }
ron = "0.8"
bevy_asset_loader = { version = "0.19.1", features = ["progress_tracking"] }
iyes_progress = "0.10"

rand = { version = "0.8", features = ["small_rng"] }
7 changes: 7 additions & 0 deletions assets/items/money.item.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"lifer::mechanics::item::ItemName": ("Money"),
"lifer::mechanics::item::consumable::Consumable": (
current: 0.0,
maximum: inf,
),
}
7 changes: 7 additions & 0 deletions assets/items/potion.item.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"lifer::mechanics::item::ItemName": ("Potion"),
"lifer::mechanics::item::consumable::Consumable": (
current: 3.0,
maximum: 4.0,
),
}
7 changes: 7 additions & 0 deletions assets/items/raw_food.item.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"lifer::mechanics::item::ItemName": ("Raw food"),
"lifer::mechanics::item::consumable::Consumable": (
current: 0.0,
maximum: 40.0,
),
}
Loading

0 comments on commit 8bfadcf

Please sign in to comment.