πŸ“•User guide

User guide on how to use the Dynasty Treasure Hunter

1. Items

To modify the drop probability and the price of the item you can receive you can change the Config.TreasureType table

Config.TreasureType = { 
    {
    name = "plastic",
    chance = 40,
    price = 20,
    },
    {
        name = "special coin",
        chance = 25,
        price = 50,
    },
    {
        name = "sunglasses",
        chance = 20,
        price = 60,
    },
    {
        name = "ring",
        chance = 10,
        price = 80,
    },
    {
        name = "necklace",
        chance = 5,
        price = 100,
    },
}

2. Treasure Area

To modify the area the treasure can be found, modify te coords in Config.TreasureLocations

Config.TreasureLocations = {
    minX = 2060.0,
    maxX = 2226.0,
    minY = 3786.0,
    maxY = 3891.0,
    z = 32.0,
    areaRange = 50.0
}

2. Treasure Area

To modify the distance from the treasure you have to be to hear different sounds modify the table Config.MetalDetectorSoundArea

Config.MetalDetectorSoundArea = {
    firstArea = 15,
    secondArea = 10,
    thirdArea = 5
}

Last updated