opensource/client/client.lua
This file handles zone creation, drawtext, evidence, stress, and the minigame callback. To change minigames per step, edit theprojectx-paletobankrobbery-default:client:Minigames callback.
Return
true inside any step block to skip that minigame entirely (useful for testing).opensource/server/server.lua
This file handles dispatch, item/money helpers, logging, and hooks you can extend.Hooks
SuccessfulStep(source, step)
SuccessfulStep(source, step)
Called when a player completes a robbery step. Use for XP, logging, or custom rewards.
FailedStep(source, step)
FailedStep(source, step)
Called when a player fails a step. Use for penalties or item removal.
InitialCheck(src, Interaction)
InitialCheck(src, Interaction)
Return
false to block the robbery from starting (group checks, tablet gates, etc.).RobberyResetHook()
RobberyResetHook()
Called when the heist resets. Use for scoreboards or external events.
Config.PaletoSteps inside config/config.lua.