Development
This section contains export functions and usage examples for all minigames.
General Usage
Section titled “General Usage”All minigames follow the same pattern:
exports['rs_minigames']:StartMinigameName(difficulty, callback)-- or for those with duration parameter:exports['rs_minigames']:StartMinigameName(difficulty, duration, callback)Parameters:
difficulty- Difficulty level (string or number)duration- Duration in seconds (optional)callback- Result functionfunction(success, cancelled)
Export Functions
Section titled “Export Functions”Circuit Minigame
Section titled “Circuit Minigame”Circuit connection puzzle. Rotate nodes on the grid to complete the electrical flow.
exports['rs_minigames']:StartCircuitMinigame(difficulty, duration, callback)| Difficulty | Rows | Cols | Duration |
|---|---|---|---|
| 1 | 4 | 4 | 45s |
| 2 | 4 | 5 | 35s |
| 3 | 5 | 6 | 25s |
Spectrograph
Section titled “Spectrograph”Match spectrograph bars with the target pattern.
exports['rs_minigames']:StartSpectrograph(difficulty, duration, callback)| Difficulty | Bars | Gaps | Distractors | Duration |
|---|---|---|---|---|
| easy | 8 | 2 | 1 | 45s |
| medium | 10 | 3 | 2 | 30s |
| hard | 12 | 4 | 3 | 20s |
T-Rex Runner
Section titled “T-Rex Runner”Chrome dino style endless runner. Reach the target score.
exports['rs_minigames']:StartTRex(difficulty, duration, callback)| Difficulty | Target Score | Speed | Duration |
|---|---|---|---|
| easy | 100 | 3 | 60s |
| medium | 200 | 4 | 45s |
| hard | 350 | 6 | 35s |
Controls: SPACE/↑ Jump, ↓ Duck, ESC Exit
Wordle
Section titled “Wordle”5-letter word guessing game.
exports['rs_minigames']:StartWordle(difficulty, duration, callback)| Difficulty | Max Hints | Hint Penalty | Duration |
|---|---|---|---|
| easy | 3 | 5s | 180s |
| medium | 2 | 10s | 120s |
| hard | 1 | 15s | 90s |
Breach Protocol
Section titled “Breach Protocol”Cyberpunk 2077 style matrix hacking.
exports['rs_minigames']:StartBreachProtocol(difficulty, duration, callback)| Difficulty | Target Length | Buffer | Duration |
|---|---|---|---|
| easy | 2 | 10 | 90s |
| medium | 3 | 8 | 60s |
| hard | 4 | 6 | 45s |
Wiring
Section titled “Wiring”Color matching wire connection.
exports['rs_minigames']:StartWiring(difficulty, duration, callback)-- or custom wire count:exports['rs_minigames']:StartWiring(4, 30, callback) -- 4 wires, 30 seconds| Difficulty | Wire Count | Duration |
|---|---|---|
| easy | 3 | 45s |
| medium | 4 | 30s |
| hard | 6 | 20s |
Terminal Hacking
Section titled “Terminal Hacking”Fallout style word finding.
exports['rs_minigames']:StartTerminal(difficulty, duration, callback)| Difficulty | Word Length | Word Count | Duration |
|---|---|---|---|
| easy | 5 | 5 | 90s |
| medium | 6 | 6 | 60s |
| hard | 7 | 8 | 45s |
Signal Tuner
Section titled “Signal Tuner”Match signal frequency with target.
exports['rs_minigames']:StartSignalTuner(difficulty, duration, callback)| Difficulty | Tolerance | Match Duration | Duration |
|---|---|---|---|
| easy | 1.5 | 1.5s | 90s |
| medium | 1.0 | 2.0s | 60s |
| hard | 0.6 | 2.5s | 45s |
Bomb Defusal
Section titled “Bomb Defusal”Keep Talking and Nobody Explodes style bomb defusal.
exports['rs_minigames']:StartBombDefusal(difficulty, duration, callback)-- Open the manual:exports['rs_minigames']:StartBombManual()| Difficulty | Duration | Strikes |
|---|---|---|
| easy | 240s | 4 |
| medium | 180s | 3 |
| hard | 120s | 2 |
Lockpicking
Section titled “Lockpicking”Skyrim style lockpicking.
exports['rs_minigames']:StartLockpicking(difficulty, callback)| Difficulty | Tolerance | Pick Health | Picks |
|---|---|---|---|
| easy | 20° | 150 | 5 |
| medium | 12° | 100 | 3 |
| hard | 6° | 75 | 2 |
| expert | 3° | 50 | 1 |
PulseSync
Section titled “PulseSync”Rhythm game. Click approaching circles or press Z/X keys.
exports['rs_minigames']:StartPulseSync(difficulty, callback)| Difficulty | Targets | Approach | BPM |
|---|---|---|---|
| easy | 10 | 1800ms | ~60 |
| medium | 15 | 1400ms | ~80 |
| hard | 20 | 1100ms | ~120 |
| expert | 25 | 900ms | ~170 |
Hacker Typer
Section titled “Hacker Typer”Speed coding game.
exports['rs_minigames']:StartHackerTyper(difficulty, callback)| Difficulty | Duration | Health |
|---|---|---|
| easy | 45s | 12 |
| normal | 35s | 10 |
| hard | 25s | 8 |
| expert | 18s | 5 |
Mastermind
Section titled “Mastermind”Color guessing game.
exports['rs_minigames']:StartMastermind(difficulty, callback)| Difficulty | Slots | Colors | Rows | Duration |
|---|---|---|---|---|
| easy | 4 | 4 | 12 | 90s |
| normal | 4 | 6 | 10 | 60s |
| hard | 5 | 6 | 10 | 45s |
| expert | 6 | 8 | 8 | 30s |
Voltage Balancer
Section titled “Voltage Balancer”Math-based voltage balancing.
exports['rs_minigames']:StartVoltage(difficulty, callback)| Difficulty | Slots | Operators | Duration |
|---|---|---|---|
| easy | 3 | +, - | 60s |
| normal | 4 | +, -, x | 45s |
| hard | 5 | +, -, x | 40s |
| expert | 6 | +, -, x, / | 30s |
Voodoo Ritual
Section titled “Voodoo Ritual”Rotating symbol matching.
exports['rs_minigames']:StartVoodoo(difficulty, callback)| Difficulty | Rounds | Sequence | Symbols | Speed |
|---|---|---|---|---|
| easy | 3 | 3 | 6 | 20s |
| normal | 3 | 4 | 8 | 15s |
| hard | 4 | 5 | 10 | 10s |
| expert | 5 | 6 | 12 | 8s |
Shell Game
Section titled “Shell Game”Three cups game. Track the ball.
exports['rs_minigames']:StartShellGame(difficulty, betAmount, callback)| Difficulty | Shuffles | Speed |
|---|---|---|
| easy | 5 | 450ms |
| normal | 8 | 350ms |
| hard | 12 | 250ms |
| expert | 16 | 180ms |
Thermite
Section titled “Thermite”Snake style grid game. Reach the target.
exports['rs_minigames']:StartThermite(difficulty, callback)| Difficulty | Grid | Walls | Fuel | Speed |
|---|---|---|---|---|
| easy | 12 | 10% | 0.3 | 200ms |
| normal | 15 | 15% | 0.5 | 150ms |
| medium | 16 | 16% | 0.6 | 140ms |
| hard | 18 | 18% | 0.7 | 120ms |
| expert | 20 | 22% | 1.0 | 100ms |
Breaker Puzzle
Section titled “Breaker Puzzle”Vintage elevator panel puzzle.
exports['rs_minigames']:StartBreakerPuzzle(difficulty, callback)| Difficulty | Rounds | Switches | Switch Time | Input Time |
|---|---|---|---|---|
| easy | 3 | 4 | 1200ms | 6000ms |
| medium | 4 | 6 | 1000ms | 5000ms |
| hard | 5 | 8 | 800ms | 4000ms |
| expert | 6 | 10 | 600ms | 3000ms |
Letters Fall
Section titled “Letters Fall”Falling letters typing game.
exports['rs_minigames']:StartLettersFall(difficulty, callback)| Difficulty | Duration | Speed | Letters | Misses | Mode |
|---|---|---|---|---|---|
| easy | 30s | 0.3 | 15 | 5 | Letters |
| medium | 40s | 0.4 | 10 | 3 | Words |
| hard | 45s | 0.6 | 15 | 2 | Words |
| expert | 50s | 0.8 | 20 | 1 | Words |
Blockman
Section titled “Blockman”Tower stacking game.
exports['rs_minigames']:StartBlockman(difficulty, callback)| Difficulty | Target Height | Block Width | Swing Speed |
|---|---|---|---|
| easy | 8 | 120px | Slow |
| medium | 10 | 100px | Normal |
| hard | 12 | 80px | Fast |
| expert | 15 | 60px | Very Fast |