RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
How to make an empty bottle?

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 84
OK, for example if you have played a few of the Zelda games then you might know what I want to do. I want to make an empty bottle-like item that will let me store water, small items, potions, etc. So far I have not found an easy way to do this. Can someone help?

**
Rep:
Level 86
Okay, before I get caught up in typing a rather long explanatory post, one question needs to be addressed first, which makes this situation kind of simple, or kind of annoying :P

Are you planning to have just one bottle?  Or several?  There may be an easier way to do it with Scripting, but I'm an Eventer, so I can do it with events fairly easily, it'll just be a little prepatory-intensive if there's more than one bottle.

Let me know, and I'll help how I can.  Thanks!

***
Rep:
Level 89
Koopa Troopa!
Well, make an item called 'Empty Bottle', problem solved.

Now onto the next bit. Your best bet is just to use Conditional Branches.

Example;

@>Conditional Branch: [Empty Bottle] in inventory
  @>(What you want to happen when you've got an empty bottle, e.g. fill it up)
:  Else
  @>(What you want to happen when you've NOT got an empty bottle, e.g. nothing?)

That could be an event for a single-use empty bottle...Unless, not sure this'll work, but you could set up a common event so that when you use the potion, it removes the potion (obviously) and gives you an empty bottle back.

Example;

Set the common event on the potion item (under Database) to 001: Empty Bottle, then make the common event add an empty bottle to the player's inventory.

Hope that helped...If it's wrong, it's because I'm rusty.

Good luck.