Skip to content
Contractsv1.7.0

Card Swipe

⭐ Premium

Requires the player to swipe a keycard of specified access level(s) in a puzzle room card reader. Counts 1 per valid swipe.

{
"type": "CardSwipe",
"title": "Use green or blue keycards",
"description": "",
"amountRequired": 5,
"conditions": {},
"accessLevels": [1, 2]
}
FieldTypeDescription
typestringExactly 'CardSwipe'
titlestringShort, human-readable name. Must not be empty.
descriptionstringA blurb of 1 to 3 sentences. May be empty if the title is self-explanatory.
amountRequiredinteger (≥ 1)How many successful card swipes the player must perform.
cooldownobject | nullOptional pacing limit on how fast progress adds up: at most maxAmount units of progress count in any sliding window of windowSeconds. Absent means progress adds up freely. While the window's budget is used up, further progress is ignored and the player sees a countdown to the next available moment.
burstobject | nullOptional clustering requirement: actions only count when they arrive clustered, at least amount units within one trailing window of windowSeconds forming one burst. When present, amountRequired counts completed bursts instead of raw actions. Actions that age out of the window without completing a burst never count. Absent means no clustering.
conditionsmapOptional conditions that restrict when progress counts. Progress is recorded only when the objective's main requirement and all of these conditions are met. Use an empty map for none.
hideDetailsbooleanWhen true, hides this objective's in-game condition strip and details popup, so the description is the only explanation players get. Title, description and progress still show. Absent means false.
accessLevelsinteger[]Card-swipe access levels. Integers 1-3, all unique.
  • Access levels map to the green (1), blue (2), and red (3) keycards.