add basic infos to inventory

This commit is contained in:
Jon Eugster
2024-06-18 15:40:35 +02:00
parent 2896237772
commit 67090f53fa
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ structure InventoryTile where
hidden := false
/-- hover text -/
altTitle : String := default
deriving ToJson, FromJson, Repr, Inhabited
deriving ToJson, FromJson, Repr, Inhabited, BEq
def InventoryItem.toTile (item : InventoryItem) : InventoryTile := {
name := item.name,