Configuration
Client-Side Exports
--[[
Minigames: memory, hacking, lockpick
Level: easy, normal, hard
--]]
exports['bb_minigame']:StartMinigame('memory', 'normal', function(success)
if success then
-- Player completed the minigame successfully
print("Player matched all cards successfully!")
else
-- Player failed the minigame
print("Player failed to match all cards.")
end
end)
Config
Config = {}
Config.Debug = false
Config.DefaultDifficulty = 'normal' -- 'easy', 'normal', 'hard'
Config.MinigameTimeout = 5 * 60 * 1000 -- 5 minutes
-- Game settings
Config.Games = {
['memory'] = {
pairs = 6,
time = 20000,
attempts = 8
},
['lockpick'] = {
pins = 5,
maxAttempts = 3
},
['hacking'] = {
gridSize = 5,
time = 20000,
attempts = 2
}
}
-- Difficulty multipliers
Config.Difficulties = {
['easy'] = {
pairs = 0.67, -- 4 instead of 6
time = 1.25, -- 25% more time
attempts = 1.25, -- 25% more attempts
pins = 0.8, -- Fewer pins
gridSize = 0.8, -- Smaller grid
},
['normal'] = {
pairs = 1.0, -- Default
time = 1.0, -- Default
attempts = 1.0, -- Default
pins = 1.0, -- Default
gridSize = 1.0, -- Default
},
['hard'] = {
pairs = 1.33, -- 8 instead of 6
time = 0.75, -- 25% less time
attempts = 0.75, -- 25% fewer attempts
pins = 1.4, -- More pins
gridSize = 1.0, -- Same grid size but harder
}
}
Last updated