RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Skill Script Request

Started by dirtyego, January 08, 2006, 06:46:03 PM

0 Members and 1 Guest are viewing this topic.

dirtyego

I dont know if you need a script for this, or if its possible, but is there a way to make skills like Farming, Mining, stuff like that? If anyone has played the online crap game "Runescape" you know what I'm talking about.
~Dirty Ego~

blueXx

hmm .. scripts.. easy things.. hmm no...

oh yes all you need is an event -.-

make an auto start event in the say.. rock mining map going like this:
variable( rock1loaded) = 5
earse event

(that will do it for rock1, add as many as you want)

make say a rock event and it will look like..
(trigger- action key)

If (mining tool) is possessed then
-if rock1loaded >0 then
--message: omg! you mined a piece of rock!!!
--variable(mining tool) : +1
--variable(mining exp) : +3
--variable(rock1loaded): -1
--if mining exp > 30 then
---add item: omg supa rock
--else
---if mining exp >9 then
----add item: omg accepatble rock
---else
----add item: omg crap rock
--if mining tool > 20 then
---message: omg you broke your stupid mining tool
---remove item: mining tool
---variable(mining tool)= 0
--else
---variable(checker)= 20
---variable(checker)= -variable(mining tool)
---message: omg you only got \v[checker] uses left before you break the tool
-else
--message: omg there is nothing in this stupid rock
else
-message: omg i can't stop saying omg AND i don't have the right tool!


you do it like that for... anything..
holy shit my sig was big!