opensource/client/client.lua
Each robbery step triggers theprojectx-laundromatrobbery-k4mb1:client:Minigames callback with the step name. All default minigames use bl_ui.
You can return
true unconditionally inside any step block to skip that minigame entirely.| Step | Minigame Resource | Function |
|---|---|---|
PlantEMP | bl_ui | WaveMatch |
Clothing | bl_ui | KeyCircle |
Key | bl_ui | CircleShake |
WashingMachine | bl_ui | KeySpam |
Button | bl_ui | CircleProgress |
Keypad | bl_ui | DigitDazzle |
opensource/server/server.lua
Hooks
SuccessfulStep(source, step)
SuccessfulStep(source, step)
Step names are listed in
Config.LaundromatSteps inside config/config.lua.FailedStep(source, step)
FailedStep(source, step)
Called whenever a player fails a robbery step.
InitialCheck(Interaction)
InitialCheck(Interaction)
Return
false to block a player from starting the robbery.RobberyResetHook()
RobberyResetHook()
Called whenever the heist resets.
