the item data upgrade is complete, so now I'm continuing my work on environmental storage! behind the scenes, both your bag and the kitchen itself are treated the same way and use the same code; the kitchen just organizes by "drawers" while the bag organizes by categories. the kitchen also utilizes the x and y coordinates for stored items, whereas the bag skips that and goes for a list.
fun fact: in order to squeeze the x and y values into the array without expanding it, they are instead color-coded. where the bag just stores a number between 0 and 7 to organize where stuff is, the kitchen stores a gml color id. that id can then be converted into r, g, and b values. r is the drawer the item is stored in, g is the x value, and b is the y value!