Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Item Limit

Hello,
I'd like an item limiting script. Now, don't get me wrong, I know there are already weight scripts and inventory limiting scripts that only lets you have a certain number of items in your inventory. But for my request, I'd like a script that limits the number of ONE single item. Say, you can only have 20 of item ID 12, but you can have an infinite amount of other items. The ID and limit number should be customizable (obviously), and could you please make it non-SDK?

Thanks to whoever tries this, you'll be credited  :) This script is probably more of an edit to the shop than the inventory, since I can event getting items in treasure chests. Again, thanks in advance!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top