😎HQ Integration

How can I add this heist to the HQ Contracts?

You need to add the following code under Config["HQ"]["Contracts"] in bd-computer/shared/config.hq.lua

["Innocence Blvd Cash Exchange"] = {
    name = "Innocence Blvd Cash Exchange",
    category = "cashexchange",
    info = {
        ["Expected Loot"] = {
            "Cash Rolls",
        },
        ["Requirments"] = {
            "??? UNK",
            "A Hacker",
            "A Robber",
        },
    },
    image = "exch_1",
    price = 0,
    eventInfo = {
        name = "bd-heists:server:cashexchange:start-job",
        type = "server",
        parameters = {
            store = 1,
        },
    },
    minMembers = 4,
    maxMembers = 4,

    -- Expiration time is the time (in Minutes) you have to complete the contract from the moment it is reset/generated.
    expirationTime = 60, -- 20 minutes

    -- Reset time is the time (in Minutes) the contract will be unavailable for after it has expired/has been completed.
    -- For example if you complete the contract in 10 minutes and the reset time is 5 minutes, the contract will be unavailable for 5 minutes.
    -- Othewise if you don't complete the contract in 20 minutes and it expires, the contract will be unavailable for 5 minutes again.
    -- In other words exact reset time depends on when the contract was completed or expired.
    resetTime = 30, -- 5 minutes
},
["Jamestown St Cash Exchange"] = {
    name = "Jamestown St Cash Exchange",
    category = "cashexchange",
    info = {
        ["Expected Loot"] = {
            "Cash Rolls",
        },
        ["Requirments"] = {
            "??? UNK",
            "A Hacker",
            "A Robber",
        },
    },
    image = "exch_2",
    price = 0,
    eventInfo = {
        name = "bd-heists:server:cashexchange:start-job",
        type = "server",
        parameters = {
            store = 2,
        },
    },
    minMembers = 4,
    maxMembers = 4,

    -- Expiration time is the time (in Minutes) you have to complete the contract from the moment it is reset/generated.
    expirationTime = 60, -- 20 minutes

    -- Reset time is the time (in Minutes) the contract will be unavailable for after it has expired/has been completed.
    -- For example if you complete the contract in 10 minutes and the reset time is 5 minutes, the contract will be unavailable for 5 minutes.
    -- Othewise if you don't complete the contract in 20 minutes and it expires, the contract will be unavailable for 5 minutes again.
    -- In other words exact reset time depends on when the contract was completed or expired.
    resetTime = 30, -- 5 minutes
},

Last updated