Skip to content
These docs reflect Contracts v0.6.0, the latest release. Older servers may differ.

Card Swipe

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]
}
Field Type Description
type string Exactly 'CardSwipe'
title string Short, human-readable name. Must not be empty.
description string A blurb of 1 to 3 sentences. May be empty if the title is self-explanatory.
amountRequired integer (≥ 1) How many units must be completed. What a unit means depends on the objective type. Minimum 1.
conditions map Optional 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.
accessLevels integer[] Card-swipe access levels. Integers 1-3, all unique.
  • Access levels map to the green (1), blue (2), and red (3) keycards.