Developer Notes

Mining Node & PED Spawns

The script does NOT despawn mining nodes unless they are fully mined by a player or the script is restarted. The script does NOT despawn PEDs unless the script is restarted.

Restarting the script will force delete all previously spawned mining nodes and peds so that duplicates are not made.

Gem Items

If you add your own custom gems to the script make sure they are NOT stackable for metadata quality tracking

Item Images

The menu system uses the images inside of mk_mining/images/ folder. DO NOT REMOVE THEM! If you add new items place a copy of its item image into this folder as a .png Also if you change your item images place an updated image into this folder so it populates into the menu.

Crafting Sale Prices

By default all crafted jewelry is calculated at a 25% increased price over the default material costs to provide advantages to actually crafting items

The breakdown is as follows:

Materials to craft [1] Diamond Ring: [1] gold ring, [2] diamond
This breaks down to [1] gold bar and [2] diamond for raw materials
Selling these items directly to the pawn shop would net between (100-150) per gold bar and between (250-300) per diamond
Total base material sell price between (600-750) if sold to the pawn shop. (100 + 250 + 250) min and (150 + 300 + 300) max
25% increase [(600 * 1.25) min and (750 * 1.25) max] on this would give the sale price of [1] Diamond Ring between (750-938)

These calculations are not required. This is just a breakdown to show you how I came up with all the default pawn shop pricing.

Last updated