Configuration


Config Preview: v1.0

Config = {}

Config.Command = "companions" -- Command for menu to call girlfriend/boyfriend

Config.MealCooldown = 20 -- From what time to time can player ask for a meal to partner

Config.ReviveItems = { -- Items that can revive Npc in case of death | should exist in db
    "acid", -- name of item
}

Config.Radius = 20.0 -- Radius that players will hear the sound of the doorbell | You can change the sound by overwriting the bell.ogg, just keep the name

Config.PresentLimits = { -- Gifts configuration
    maxPerPeriod = 3,   -- Max of gifts that player can give before hitting the cooldown
    cooldownMinutes = 5 -- cooldown time to give gifts (in minutes)
}

Config.Girlfriends = {
    [1] = {
        id = 1, -- id of girlfriend/boyfriend
        name = "Bonnie", -- name for npc 
        model = "cs_mp_bonnie", -- model for npc | Use for available models: https://redlookup.com/peds/ | Personality depends on the model
        horseModel = "a_c_horse_americanpaint_greyovero", -- Horse that npc owns
        spawn = vector4(1336.18, -1326.04, 77.15, 336.05), -- Where will the ped spawn
        bell = vector3(1348.22, -1323.32, 77.79), -- Where does the player interact to spawn the npc
        health = 150, -- Npc max health
        weapon = "WEAPON_REVOLVER_CATTLEMAN",
        maxRadius = 100, -- Radius where the Npc will walk around using Npc Behavior
        exclusivePoints = 90, -- How many points in romance status to be exclusive for player | Unlocks inventory and the choose new house option
        exclusiveFriendship = 60, -- How many point to unlock follow features | Unlocks follow and ask for meal
        inventorySize = 60, -- Size of inventory
        showHeartOnHead = true, -- Should it show her name above the head
        showBlip = true, -- Should it show a blip | It shows if gf is taken or not by colour of the blip    
        personality = "defensive", -- use defensive to attack other attackers | use passive for no reaction
        maxPoints = {
            friendship = 100, -- Max points for friendship status
            romance = 100 -- Max points for romance status
        },
        likedItems = { -- All liked items add points to friendship or romance status
            tarot_tower = -- name of the liked item | should exist in db
            {
            points = 2, -- Points that will add
            status = "romance" -- Use romance/friendship status
            },
            consumable_lemoncake = { points = 5, status = "friendship" },
            gold = { points = 10, status = "friendship" },
            whiskey = { points = 20, status = "friendship" },
            diamond = { points = 10, status = "romance" },
            old_statue = { points = 20, status = "romance" },
        },
        dislikedItems = { -- All liked items remove points from friendship or romance status
            consumable_coffee = -- name of the disliked item | should exist in db
            { 
            points = 5, -- points that will remove
            status = "romance" -- Use romance/friendship status
            },
            copper = { points = 5, status = "friendship" },
            iron = { points = 5, status = "friendship" },
            flower = { points = 2, status = "romance" },
        },
        hunger = {
            intervalMinutes = 40, -- Time in minutes that takes the girlfriend to eat (example: 30 from 30 minutes)
            items = { 
                "bread", -- name of item that girlfriend can consume | should exist in db
                "consumable_donut",
                "consumable_caramel",
                "consumable_fruitsalad",
                "consumable_peach",
                "consumable_veggies",
            }
        },
        FoodItems = { -- Items that girlfriend can give to player as food
            "consumable_trout", -- name of item that girlfriend can consume | should exist in db
            "consumable_salmon",
            "consumable_steakpie",
        }, 
        giftSurprise = {
            enabled = true,
            chancePercent = 35, -- Chance in % for the girlfriend to give the gift
            cooldownMinutes = 45, -- How many minutes before she can give another one
            distanceSpawn = 70, -- At what distance will she spawn from the player position
            items = { -- Items that girlfriend can give as a gift
                "consumable_donut", -- name of item that girlfriend can consume | should exist in db
                "wood", 
                "iron",
                "copper",
            }
        },
        dialogues = { -- Configurable dialogues for npc | Rude dialogues written
            {
                minRomance = 0, -- min romance needed for dialogues
                maxRomance = 0, -- Max romance for dialogues
                lines = {
                    "Hi... Are you from around here?", -- Write your own if wished
                    "Yeah.. Nice to meet you...",
                    "I think I've seen you before",
                    "Everyone loves gold, if you ask me..",
                    "What are you staring at?",
                    "You lost or just nosy?",
                    "I don’t like strangers hanging around me.",
                    "Take care of yourself. I won’t do it for you."
                }
            },
            {
                minRomance = 1,
                maxRomance = 30,
                lines = {
                    "Hey... Around here again?",
                    "Rhodes is a wonderful place, isn't it?",
                    "Some lemon cake right now would be amazing..",
                    "Where's my tower tarot card...?",
                    "So... you actually came back.",
                    "Hmph. You’re not completely useless.",
                    "Had worse company, I guess.",
                    "Hope you know how to fight — you’ll need it."
                }
            },
            {
                minRomance = 31,
                maxRomance = 70,
                lines = {
                    "VocĂŞ me trouxe algo bonito?",
                    "Já estava sentindo sua falta...",
                }
            },
            {
                minRomance = 71,
                maxRomance = 100,
                lines = {
                    "You're special to me...",
                    "If you hurt me, I’ll ruin you.",
                    "I think I like you. Don’t make me regret it.",
                    "I missed you... not that I’ll admit it again.",
                    "Don’t ask questions. Just stay here."
                }
            }
        }
    },
}

Last updated