diff options
-rw-r--r-- | CHANGELOG.md | 7 | ||||
-rw-r--r-- | app/views/characters/items/index.html.erb | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f46ec7b..799331e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog All notable changes to this project will be documented in this file. -## [Unreleased] +## [0.1.8.1] - 2021-06-06 + +### UI +- Consumables are now listed in inventory below equipment and above tools. + +## [0.1.8] - 2021-06-06 ### General - New feature: Messages! Currently you can't exchange messages with other characters, but you may receive diff --git a/app/views/characters/items/index.html.erb b/app/views/characters/items/index.html.erb index af7b1ef..671e68f 100644 --- a/app/views/characters/items/index.html.erb +++ b/app/views/characters/items/index.html.erb @@ -23,6 +23,10 @@ character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.equipment? && ci.item.tags.none? } %> +<%= render "characters/items/inventory_section", heading: "Consumables", + character_items: @character.character_items.ordered_by_item_name.select { |ci| + ci.item.usable? } %> + <%= render "characters/items/inventory_section", heading: "Tools", character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.has_tag?("tool") } %> @@ -31,10 +35,6 @@ character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.has_tag?("currency") } %> -<%= render "characters/items/inventory_section", heading: "Consumables", - character_items: @character.character_items.ordered_by_item_name.select { |ci| - ci.item.usable? } %> - <%= render "characters/items/inventory_section", heading: "Seeds", character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.has_tag?("seed") } %> |