Its possible make a stack inventory like dayZ or Resident Evil 4?

I’m trying to make an inventory system but I can’t imagine how to do this efficiently, does anyone who’s ever mecheu with this have any tips on how to do it?

Examples:
dayz-inv-av-1-en-1050

No body to reply your post i think you can change design support to script

Of course it is, I’m not sure how, but there is another post about this + apocalypse rising 2 does this.