Porch/Mailbox Pirate Config

PorchMailboxPiratesConfig = {}

PorchMailboxPiratesConfig.Enabled = { -- If you want this module disabled set to false
    mailbox = true, -- Allows players to rob mailboxes
    packageTheft = true, -- Allows players to steal packages in neighborhoods
}

PorchMailboxPiratesConfig.WitnessChance = 30 -- The chance of an NPC witnessing what a player is doing and calling the police

PorchMailboxPiratesConfig.MailboxModels = { -- Mailbox Models
    'prop_letterbox_01',
    'prop_letterbox_02',
    'prop_letterbox_03',
    'prop_letterbox_04',
}

PorchMailboxPiratesConfig.MailboxLoot = { -- Mailbox Loot
    chanceOfEmpty = 50, -- Chance of the mailbox being empty
    chanceOfJammed = 20, -- Chance of the mailbox being jammed
    loot = {
        {
            item = "stolen_package", -- Item name
            chance = 20, -- Chance of getting the item
        },
        {
            item = "water",
            chance = 50,
        },
    }
}

PorchMailboxPiratesConfig.PackageLoot = { -- Package Loot
    "water",
}

PorchMailboxPiratesConfig.TrackingPingTime = 15 -- If a package has a tracker it should ping the police every x minutes

PorchMailboxPiratesConfig.Neighborhoods = { -- The neighborhoods that will have possible packages
    ["MirrorPark"] = { -- The zone name
        zone = "MirrorPark", --The zone name again
        packageChance = 20, -- Chance of each house having a package
        trackingChance = 30, -- Chance that a package has a tracker
        alertPoliceChance = 100,
        points = { -- The points that make up the zone
            vector3(1212.95, -771.87, 0.0),
            vector3(1395.88, -631.19, 0.0),
            vector3(1420.07, -596.11, 0.0),
            vector3(1396.35, -526.64, 0.0),
            vector3(1290.94, -489.13, 0.0),
            vector3(1289.42, -415.0, 0.0),
            vector3(1241.89, -372.24, 0.0),
            vector3(1097.55, -364.39, 0.0),
            vector3(1056.43, -352.54, 0.0),
            vector3(817.17, -463.98, 0.0),
            vector3(825.09, -605.04, 0.0),
            vector3(1013.71, -795.76, 0.0),
        },
        boxModels = { -- What models you want to use
            "prop_cs_package_01"
        },
        boxLocations = { -- Box locations
            [1] = {coords = vector4(1302.84, -528.57, 71.46, 339.42), stolen = false},
            [2] = {coords = vector4(1328.58, -535.94, 71.46, 246.72), stolen = false},
            [3] = {coords = vector4(1347.82, -547.95, 72.89, 337.83), stolen = false},
            [4] = {coords = vector4(1372.5, -555.55, 73.69, 336.94), stolen = false},
            [5] = {coords = vector4(1387.97, -569.87, 73.5, 294.25), stolen = false},
            [6] = {coords = vector4(1385.18, -592.79, 73.49, 234.28), stolen = false},
            [7] = {coords = vector4(1367.33, -605.36, 73.71, 180.17), stolen = false},
            [8] = {coords = vector4(1342.27, -597.44, 73.7, 140.55), stolen = false},
            [9] = {coords = vector4(1323.71, -582.28, 72.25, 148.18), stolen = false},
            [10] = {coords = vector4(1301.44, -573.24, 70.73, 161.79), stolen = false},
        }
    }
}

Last updated