Cuyler36 / MyHorizons

WIP Animal Crossing: New Horizons Save Editor
GNU General Public License v3.0
135 stars 33 forks source link

Issue with quantity of items in pocket #11

Closed NinFanBoyFTW closed 4 years ago

NinFanBoyFTW commented 4 years ago

Hi. First I just wanted to say, I love the program. I really appreciate how much functionality is in it already and I am loving this game so much more now. Please keep up the good work.

Onto my issue. I noticed that after I added one item to my pocket, almost all of my items in my pocket with multiple quantities such as resources or fruit went from whatever quantity I had before (Example: 20 apples) down to only 1 of each item. Obviously this isn't a deal breaker right now because I can always add back things I lost like additional gold pieces, but again, currently, after editing your bag items, the quantity is changed

Also this would be more of a feature request but I guess I was wondering if you are able to add an option to change the quantity of items currently in storage. Currently all I saw with storage editing was replacing the items currently in a particular spot and not viewing and editing the quantity of an item

Thanks again, and keep up the great work

Cuyler36 commented 4 years ago

This was fixed in an earlier commit. Please rebuild from master.

NinFanBoyFTW commented 4 years ago

Ok thank you. Is there a way to edit the quantity of each item

Edit: Sorry and also is there is simple explanation of what the different flags variables are for

Cuyler36 commented 4 years ago

The Flag2 value is one of the following:

There are probably more. Flag2 so far always seems to be a number value and not actual flags.

NinFanBoyFTW commented 4 years ago

Ok, for items that can be stacked, is flag 2 the number of additional items stacked on the first item, because I have 2 gold pieces right now and flag 2 for that item only says 1

Cuyler36 commented 4 years ago

Yes, for those items, it starts at 0 for 1. Since the maximum value it can hold is 0xFF (255), the max number of items in a stack is 255 + 1, or 256.

NinFanBoyFTW commented 4 years ago

Ok great. Thanks for clearing that up for me. Again keep up the great work