Jump to content

[Showcase] Mining System


Harvin

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.01
  • Content Count:  39
  • Reputation:   29
  • Joined:  06/08/23
  • Last Seen:  

799e6B5nnx.gif.5ffd75c07d978eaf431325aabdb5c9fe.gif

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

Spoiler

 

 

 

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

Edited by Harvin
  • Upvote 3
  • Love 2
  • MVP 1
Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   3
  • Joined:  03/22/15
  • Last Seen:  

I really liked the idea, I'm not a good programmer, I don't know exactly how to implement this, but I'll try, but I'd like to remove this "aura" effect from the crystal, is that possible?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...