Help for Mining, Digging, Secret Passages and Moving Stuff (Demo Included)

This post is for those of you that have possibly wanted to accomplish being able to mine something or dig something as well as have hidden holes in the ground or a hidden staircase. I am not the best at this stuff since I am relatively new to it all, but I have had a few successes in reading tutorials, support topics, and manipulating events to achieve my desired results, which I have decided to share with all of you here.

If you download the demo you will see the following order of items available for you to try out as well as manipulate into your own games.

First, I wanted to be able to mine a rock for ore. The event checks for your Pick Axe and won't let you mine until you have one. Fortunately for you, there is one on the ground. Break the rock with it, and gather your ore!

Second, I wanted to be able to dig a spot to possibly find something. I did not go so far as to make that something appear on the map, but just to appear in your inventory. I am sure there is a way to dig up a treasure chest, and I will attempt to mess around with that another time. The event will check for your shovel, and again, luckily for you, there is one nearby. Dig away!

Next, I wanted to implement the mining thing to reveal a hole or secret passage in the ground. Again, the pick axe is needed for this, but you should already have that from the first bit. The hole you reveal also contains an event to transfer the player to a different location, and a little sound effect to signify that you fell in the hole.

Lastly, I wanted to be able to push an object (like a statue) one tile over to reveal a hidden staircase underneath it (something like you would find in Zelda). The player approaches and moves the object by actioning it and bam! hidden staircase that will then transfer you somewhere. Now if you move to a different map and come back, the staircase will remain revealed. I lied about that. I have fixed the event and will update the demo soon. 

Now as I mentioned earlier, I am still fairly new to all of this so some of the events might be a bit messy/sloppy, and if so, please let me know how I can clean them up. Furthermore, I am really hoping that (being as this is my first attempt at a help topic) that I haven't done anything wrong or stepped on toes and what have you. If I have, please let me know also, as it is never my intention.

I hope this helps whoever decides to read it and don't be afraid to use the events and manipulate them to do what you want them to do in your games. If further explanations are needed or the link doesn't work let me know. I can also update this with step-by-steps and screenshots if necessary/requested.

Here is the demo file download so you can see the events and such and how it all works:

https://www.mediafire.com/?tg33hhic4sh6nxc  <- must have RTP for this to work!

Thanks!

Credits:

I used RyokuHasu's ladder example (found here: http://forums.rpgmakerweb.com/index.php?/topic/44998-moving-an-object-to-reveal-a-staircase/) and altered it to fit the need of moving a statue.

Any and all beginner tutorial writers as they have been a massive help for everything I have attempted to accomplish.

All the people here on these forums for the immense amount of support and troubleshooting help as well as idea sharing that has inspired me to try new things.
The statue hiding the secret stairway solution is not too bad, but what if the player tries to activate the statue from the top, or from the bottom, or from the right? It is not going to work. If 3 out of the 4 directions doesn't work, what are the odds of the player the stairway without some major prompt or do a very thorough search?

I have a different approach to this that will allow the player to move the statue regardless of the direction they activate it from. Instead of having the transfer event shift along with the statue and using self switch, I set the transfer location elsewhere that the player cannot access, then set the location of the transfer event to the location of the hidden staircase after I shifted the statue. I transfer the player to a safe location that does not block the move route of the statue before moving the statue, that way the event won't get stuck. A little sloppy, but I am sure that people can be creative and cover it up using a text cut scene to display messages like "You found a hidden staircase!"

1c_zps8a2yukic.jpg


Edit: ^ the EV002's priority should be set to "Above the characters"
Yeah you are right. You can not access the statue from other angles nor move it again once it is moved. Ways you can adapt that are maybe make the statue in a place so it only has one possible direction to move and only one side in which it can be accessed. Also maybe leave a little guess work for the player as not everything should be spoonfed and easy to figure out haha xD

Also I just wanted to provide some simple ideas to provide a little foundation for others to build on and learn from 🙂

Sadly the picture in your reply isn't loading for me. Probably because my internet is garbage and comparable to dial-up. I haven't used location transfers like you mentioned yet. Haven't quite figured it out lol. Add that to my list of things to do!
It's all good. I have recreated a map to demonstrate my solution.

https://www.mediafire.com/?sifhp859x1ufr7m

Yeah, you can keep it the way it is, but it is difficult to recreate such scenario without giving away hints (such as a dent in the wall). I suppose you can create text events that will help people find the correct way to interact with the statue, but personally my OCD will not allow me to place such an event on my map lol. I will probably get nightmares for days/weeks.
I've moved this thread to Tutorials. Please be sure to post your threads in the correct forum next time. Thank you.
Yeah my bad! I thought about this after the fact but I didn't want to double post.

Thanks for moving it!

Original thread: https://forums.rpgmakerweb.com/threads/help-for-mining-digging-secret-passages-and-moving-stuff-demo-included.45866/