config.lua

Full View

Config = {}

Config.Framework = 'esx' -- esx or qbcore
Config.InteractionType = "ox_target" -- Options: "ox_target", "qb-target", or "3dtext"

-- Sperm Donation NPC
Config.MainPed = {
    model = "s_m_m_doctor_01",  -- NPC model
    coords = vec4(324.3962, -582.1269, 43.3174, 345.1855), -- X, Y, Z, Heading
}

-- Sperm donation spots (for multiple players at the same time)
Config.SpermDrawSpots = {
    vec4(363.9273, -590.3458, 43.3150, 69.8046),
    vec4(359.8742, -594.7587, 43.3150, 356.5574)
}

-- SkillCheck / progress settings
Config.CheckDonation = {
    EnableSkillCheck = true,             
    ProcessTime = 10,                     
    SkillCheckDifficulty = {'easy', 'easy'},  
    SkillCheckKeys = {'w', 'a', 's', 'd'},  
}

-- Sperm donation Rewards (can be expanded)
Config.Rewards = {
    { item = "money", count = 150 },
    { item = "water", count = 1 }
}

-- The job that is allowed to access the Sperm storage
Config.MedicalJob = "ambulance"

-- The item name used for Sperm cups in the inventory
Config.SpecimenCupItem = "sperm_cup"

-- The coordinates of the Sperm storage location
Config.SpermStash = {
    coords = vector4(319.5082, -581.1516, 43.3174, 160.0580)
}

-- Lockpick
Config.RequiredPolice = 1  -- Police requirement
Config.LocpickItem = "lockpick" -- lockpick item
Config.BreakChance = 25 -- 25% Chance (%) for the lockpick item to break upon a failed lockpicking attempt.
Config.PoliceJob = "police" -- change if your server uses lspd/sheriff/etc.
Config.PoliceAlertChance = 45 -- % chance that after a failed lockpick, the police will be alerted

-- Lockpick SkillCheck / progress settings
Config.CheckLockpick = {
    EnableSkillCheck = true,             
    ProcessTime = 10,                     
    SkillCheckDifficulty = {'easy', 'easy', 'easy', 'easy'},  
    SkillCheckKeys = {'w', 'a', 's', 'd'},  
}

-- NPC selling point 
Config.SellPed = { 
    model = 's_m_y_dealer_01', 
    coords = vec4(298.8564, -601.2208, 43.3199, 140.1889) 
}

-- Sell Price
Config.SellPrice = 100

-- Menu labels
Config.MenuLabels = {
    DonateSperm = "🍌 Donate Sperm",
    ClaimReward = "🎁 Claim Reward",
    SpermStorage = "Sperm Storage",
    SpermStorage3D = "[E] Sperm Storage",
    SpermStorageMenu = "Sperm Storage",
    CurrentSpermCups = "Current Sperm cups: %d",
    WithdrawSperm = "Withdraw Sperm cup",
    WithdrawSpermDialogTitle = "Withdraw Sperm cup",
    WithdrawSpermDialogLabel = "How many Sperm cups do you want to withdraw?",
    LockpickProgressLabel = "Lockpicking...",
    SellItem     = "Sell Sperm"
}

-- Notification messages
Config.Messages = {
    AlreadyDonated = { title = "Sperm Donation", description = "You have already donated today!", type = "error" },
    DonationSuccess = { title = "Sperm Donation", description = "Donation successful! Go back for your reward.", type = "success" },
    NotDonated = { title = "Sperm Donation", description = "You haven't donated today!", type = "error" },
    AlreadyClaimed = { title = "Reward", description = "You have already claimed your reward today!", type = "error" },
    RewardGiven = { title = "Reward", description = "You have received your donation reward!", type = "success" },
    MustDonateFirst = { title = "Sperm Donation", description = "You must donate first!", type = "error" },
    NoSpotAvailable = { title = "Sperm Donation", description = "All chairs are occupied. Try again later.", type = "error" },
    SpermDonation = "Sperm donation in progress...",
    NotEnoughSperm = { title = "Sperm Storage", description = "Not enough sperm samples in storage!", type = "error" },
    SpermTaken = { title = "Sperm Storage", description = "You successfully withdrew sperm samples!", type = "success" },
    NoAccess = { title = "Sperm Storage", description = "You don't have access!", type = "error" },
    NoPolice = { title = "Sperm Storage", description = "There are not enough police online to start the robbery.", type = "error" },
    InvalidAmount = { title = "Sperm Storage", description = "Invalid amount!", type = "error" },
    DonationFailed = { title = "Sperm Bank", description = "Sperm donation failed! Do you want to try again or cancel?", type = "error" },
    DonationCancelled = { title = "Sperm Bank", description = "You have cancelled the sperm donation.", type = "error" },
    LockpickBroke = { title = "Sperm Storage", description = "Lockpick broke!", type = "error" },
    LockpickFailed = { title = "Sperm Storage", description = "Lockpicking failed!", type = "error" },
    SellFail = { title = "Sperm Sell", description = "You don't have any sperm to sell", type = "error" },
    SellSuccess = { title = "Sperm Sell", description = "You sold sperm", type = "success" },
    PoliceAlert = { title = "Sperm Bank Robbery", description = "A sperm storage lockpick attempt was detected!", type = "error" },
}

Last updated