I think that I am not ready to change my whole program to accommodate arrays. It was already working without them, however inefficient it may be. I think my current goal should be to look into learning how to use the callback functions in inventory.c to allow me to drop items from the inventory bag. I believe I may be able to do this with the set_on_float_end_callback() callback function, but I am trying to figure out how.

Any help in that direction would be greatly appreciated. Thanks.