pub struct TimedGateDisarm {
pub via: AnchorId,
pub sets_flag: FlagId,
}Expand description
A TimedGate’s disarm affordance (souls dossier §5.2) — the
exact shape a trap’s TrapDisarm takes, and deliberately so: one affordance
grammar for every mechanism the party can switch off.
The player acts on the via anchor (a compiler-emitted interaction entity
plus its visible hardware, DW0420) to jam the gate. The clock stops with the
span cleared, sets_flag is raised party-wide, and nothing in the delve can
put the gate back.
Fields§
§via: AnchorIdThe anchor the player interacts with to jam the gate. Must be an anchor some area’s prefab provides, and never the gate anchor itself — the mechanism belongs beside the doorway, not inside the span that crushes.
sets_flag: FlagIdThe flag set when the gate is disarmed (a new flag this gate produces;
other objectives/triggers may read it via requires_flags).
Trait Implementations§
Source§impl Clone for TimedGateDisarm
impl Clone for TimedGateDisarm
Source§impl Debug for TimedGateDisarm
impl Debug for TimedGateDisarm
Source§impl<'de> Deserialize<'de> for TimedGateDisarm
impl<'de> Deserialize<'de> for TimedGateDisarm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for TimedGateDisarm
impl JsonSchema for TimedGateDisarm
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more