ID:986158
 
Keywords: box, grid, size
(See the best response by Tyrannicide.)
Just wondering is there a way to make preset grid boxes for stuff that goes in it like size wise

example:http://www.byond.com/games/hubpic/38448_8449.png

Err not really sure what you mean, but if it's about grid cell size grid cells always have 32x32 dimensions.
No i think he's asking how to have the grid showing multiple empty boxes (with items or without items in it.)
Best response
Grids have to be 9 pixels(3x3(I think)) larger than the icon that is going into its cells. An icon/object wont be displayed at all but interactions with the object in the grids cells are still available.

proc/Inventory()
CleanInventory() //clear grids of any existing objects being held in the cells if they are no longer available. Grids won't update themselves!
var/i = 1
for(var/obj/o in usr.contents)
usr<<output(o, "Inventory.grid[i]:1,1")
i++