Jump to content
  • 0

Count x amount?



So I have been cooking in my game, I made an event to cook. You get 4 options, Cook, cook 5, cook 10, cook all. Everything works aside from cook all. Is there a way I can get it to count how many  of the items I’m holding and give an  equal amount back as cooked? Currently it fills my entire inventory with the new cooked item. Instead of returning an equal amount to what I was actually holding.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...