Best way to create this Resident evil style inventory..?

its still just an array, its just that the shotgun takes two slots in that array
so you item data needs to know its dimensions and you inventory needs a way to search through the array and find available room