pub enum CastDialogueKeyword {
None,
Unchanged,
}Expand description
The keyword forms of CastDialogue.
Variants§
None
Genuinely no reaction: the right-click is recorded and consumed, and nothing opens. Legal, but a last resort — if a body is clickable, the world should answer; prefer a bark.
Unchanged
Carry forward whatever this NPC’s dialogue was at its previous appearance in the quest-DAG ordering.
The point is that carrying dialogue forward is a conscious, declared
act. It is never an implicit default — an omitted dialogue is
DW0463, not a carry-forward — and writing "unchanged" states the
intent without re-spelling a root id that then drifts out of sync. It
resolves transitively (unchanged → unchanged → a root), and using it
at an NPC’s first appearance is DW0466: there is nothing to carry.
Emission is a no-op — no root swap is emitted for that NPC at that quest — which is what makes the sugar cheap and byte-stable.
Trait Implementations§
Source§impl Clone for CastDialogueKeyword
impl Clone for CastDialogueKeyword
impl Copy for CastDialogueKeyword
Source§impl Debug for CastDialogueKeyword
impl Debug for CastDialogueKeyword
Source§impl<'de> Deserialize<'de> for CastDialogueKeyword
impl<'de> Deserialize<'de> for CastDialogueKeyword
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>,
impl Eq for CastDialogueKeyword
Source§impl JsonSchema for CastDialogueKeyword
impl JsonSchema for CastDialogueKeyword
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