I made this system for a simple mining function:
http://i125.photobucket.com/albums/p76/rih29/mining.png[/img]
(Checks to see if copper1 switch is on, if not, player is prompted to Mine or Prospect. If Mine, show message, wait 15 frames, miss, wait 15 frames again, and get some copper ore only if the pickaxe is in the inventory, and then the copper1 switch is turned on so the player can't sit there mining over and over again)
I'm looking to make it so that the source of the rock respawns after a set amount of time. Is this possible? I want to make the respawn rate like 15 or so minutes for every rock after it's been mined from, and I'll have like 5 or 10 variances of each type of rock so that to the player, it seems random as to when you miss and when you hit. I don't want to spend more time than I need making a whole bunch of switches for every single rock, and I don't want the resource to become unavailable after the player has hit every rock, because that would be pretty bad if it was impossible to make certain items after you've already used/sold all the ore available in the game! I also want this to work with my Herblaw system, which is the same, only it's picking herbs and not mining ores.
If anyone can help with this, that'd be great!
http://i125.photobucket.com/albums/p76/rih29/mining.png[/img]
(Checks to see if copper1 switch is on, if not, player is prompted to Mine or Prospect. If Mine, show message, wait 15 frames, miss, wait 15 frames again, and get some copper ore only if the pickaxe is in the inventory, and then the copper1 switch is turned on so the player can't sit there mining over and over again)
I'm looking to make it so that the source of the rock respawns after a set amount of time. Is this possible? I want to make the respawn rate like 15 or so minutes for every rock after it's been mined from, and I'll have like 5 or 10 variances of each type of rock so that to the player, it seems random as to when you miss and when you hit. I don't want to spend more time than I need making a whole bunch of switches for every single rock, and I don't want the resource to become unavailable after the player has hit every rock, because that would be pretty bad if it was impossible to make certain items after you've already used/sold all the ore available in the game! I also want this to work with my Herblaw system, which is the same, only it's picking herbs and not mining ores.
If anyone can help with this, that'd be great!