Log inGet started
World

Out of Sight: Hiding Spots, Body Carrying and Discovery Kit

README.md

alarms

How alarming each thing a guard can stumble on is, as data: five levels and the evidence kinds that map onto them. The guard brain reads it; designers tune the whole game by editing it.

Levels: 1 glance, 2 inspect, 3 search, 4 alarm, 5 lockdown. Each has lookTime, goLook, searchTime, searchRadius, checkSpots, run, callRadius, voice, sting, stayAlert, plus label and description.

Kinds: door, noiseMark, item (1), light, weapon (2), downed, unconscious (3), dead (4), pile (5). Two or more bodies within PILE_RADIUS (4 m) count as a pile (PILE_COUNT = 2).

local Alarms = require("concealKit.alarms")   -- also Hide.alarms
Alarms.level(3)                    -- or Alarms.level("search"); a copy
Alarms.levelOf("unconscious")      -- 3
Alarms.tuneLevel(4, { searchTime = 40 })
Alarms.setKind("door", 2)
Alarms.defineKind("lootBag", 2, "a dropped loot bag")

Also levels(), kinds(), labelOf(kind) and COUNT. Used by the guard brain, Evidence and Body.