Yet another Mining System Inspired by Mir4 Mining, I have worked the details to be as close to the source found in internet.
Player can't mine a Mine that another Player is already mining.
Progress of Mining can be canceled by trying to walk away.
Progress of Mining while be canceled when Player received damage.
Progress of Mining while be canceled when Player can't carry the item gained from Mine.
When The Mine is exhausted it will hide away and move / re-spawn in different place.
The default drop item (Dark Steel) replaced by Phracon
Common Mine (Gray/White): 25-30 Dark Steel
Uncommon (Green): 35-40 Dark Steel
Rare (Blue): 45-60 Dark Steel
Epic (Red): 100-150 Dark Steel
Legendary (Yellow): 150-200 Dark Steel
Script configuration has been made easy to understand and modify
.mine_drop = 1010; // Phracon
.miner_distance = 2;
.mine_distance = 7;
/*
* minetype(<index>,"<Name>",<MaxHP>,<Drop Min Amount>,<Drop Max Amount>);
*/
minetype(0, "Common", 3, 25, 30);
minetype(1, "Uncommon", 200, 35, 40);
minetype(2, "Rare", 300, 45, 60);
minetype(3, "Epic", 400, 100, 150);
minetype(4, "Legendary", 500, 150, 200);
/*
* minespawn("<map name>",<Common Amount>);
* minespawn("<map name>",<Common Amount>,<Uncommon Amount>);
* minespawn("<map name>",<Common Amount>,<Uncommon Amount>,<Rare Amount>);
* minespawn("<map name>",<Common Amount>,<Uncommon Amount>,<Rare Amount>,<Epic Amount>);
* minespawn("<map name>",<Common Amount>,<Uncommon Amount>,<Rare Amount>,<Epic Amount>,<Legendary Amount>);
*
* Example:
* minespawn("anthell01", 50, 25, 12, 5, 2);
* - this will spawn listed Mine below in map "anthell01":
* - 50 Common Mine
* - 25 Uncommon Mine
* - 12 Rare Mine
* - 5 Epic Mine
* - 2 Legendary Mine
*/
minespawn("anthell01", 50, 25, 12, 5, 2);
In Game Record ...
Can be expanded further like, Reduction Timer or Drop amount bonus when using certain equip or like setting different item, rate and amount that can be set in configuration..