five-on-it / packages/missions/src/schema / TalkObjective
Variable: TalkObjective
constTalkObjective:ZodObject<{actor:ZodOptional<ZodString>;checkpoint:ZodOptional<ZodBoolean>;choice:ZodOptional<ZodString>;contact:ZodOptional<ZodString>;dialogue:ZodString;failText:ZodOptional<ZodString>;hint:ZodOptional<ZodString>;id:ZodString;marker:ZodOptional<ZodString>;next:ZodOptional<ZodObject<{done:ZodOptional<ZodUnion<readonly [ZodString,ZodString]>>;failed:ZodOptional<ZodUnion<readonly [ZodString,ZodString]>>; },$strict>>;team:ZodOptional<ZodString>;text:ZodOptional<ZodString>;timeLimit:ZodOptional<ZodNumber>;verb:ZodLiteral<"talk">; },$strict>
Defined in: packages/missions/src/schema.ts:887
Have a conversation: done once the dialogue has ended in the mission (or, with choice, once that choice was picked in it). With contact, calling that contact plays the dialogue while the objective is under way; with actor, talking to that person face to face does (and the marker shows them).