Jump to content

Resource Skill Mining


Recommended Posts




Here is the tiny tutorial to create a skill that works similar to RuneScape Mining.

This can be altered for other resource skills as well.


Date: January 20th 2019

Guide Written During Beta 5.1


Credits to Ainz Ooal Gown for helping me with the final piece:

21 hours ago, Ainz Ooal Gown said:

If your using player variables for example "Mining EXP" & "Mining Level" and want the "Mining Level" to increase when "Mining EXP" gets to a certain point you can use a condition for player variable "Mining EXP" is equal to or greater than.




Condition: Is Mining EXP => 1000

Then Mining Level = 1


Condition: Is Mining EXP => 2000

Then Mining Level = 2


Condition: Is Mining EXP => 3000

Then Mining Level = 3


And so on...


Hope this helps. :)



Add two Player variables

- Mining (Keep tracks of experience)

- Mining (Keep tracks of mining level)

-Take a note of the Mining Text Id: \pv 4 we will use this later

-Mining Level Text Id: \pv 5.




Next create 2 Common Events

- Mining Experience (Will add experience whenever a player successfully mines)

- Mining Level (Will level up when Mining Experience reaches a certain level)




Next Edit the event Mining Experience

- Set Player Variable Mining and add 1 as the image below




Next we have to make the Mining skill level up as we gain experience

We do that with Conditional Branches

-When Player Variable Mining is equal to 5 amount of experience

-We set Player Variable Mining Level to 1

-If Player Variable Mining is equal to 6 we then set Player Variable Mining Level to 2.




Next we have to connect the Mining to a resource

In Resource Editor add the Common Event Mining Experience.

Now we gain experience for mining.





Next we can add a Mining Level requirement for Mining better ores.

This time we Edit the Harvesting Requirements.

We add a condition that the Player Variable Mining Level has to be greater or equal to Mining Level 2.





To display the Experience and Mining Level in game we can do this with events

Remember the Text Id we took note of in the beginning.

Create a new event on the ground and add Show Text with this inside:

"\pn mining exp: \pv{4}

\pn mining level: \pv{5}"




When the player interacts with the event the result will show the following



Link to comment
Share on other sites

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...