From 9423b29ab5cd499733714d16b2727d0a085080c0 Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 21 Mar 2020 19:42:31 -0700 Subject: [PATCH] add material count to inventory item (?????) --- src/character/character.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/character/character.rs b/src/character/character.rs index e336b88..b97da79 100644 --- a/src/character/character.rs +++ b/src/character/character.rs @@ -232,7 +232,8 @@ impl SelectScreenCharacter { #[derive(PSOPacketData, Default, Copy, Clone)] pub struct InventoryItem { pub equipped: u16, - pub tech: u16, + pub tech: u8, + pub material_count: u8, // in items 8 - 13 material usage values are stored here pub flags: u32, pub data1: [u8; 12], pub item_id: u32,