Log inGet started
World

Light Fingers: Heist Loot, Safes, Rules and Escapes Kit

Branchmain
Branchesmain
Commit1c50523b17

README.md

caught

What happens when a player is caught, for Heist.caught(player, by): knockout (wake at the floor's checkpoint, carried loot dropped, returned or kept), gameOver (the heist fails with reason caught), jail (back to the start, loot returned) or none (only the caught event). Every catch but none/gameOver calms the house: aiKit guards forget, concealKit's guard reactions reset, stealthKit's alert reset, every guard back to the post and route it had when the heist began, and a grace period no guard sees the woken player. aiKit, concealKit, stealthKit and navKit are optional, found with pcall(require). Games use heistKit.api; the HeistDirector drives this module.