EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

SkillLesson

A lesson: the teacher who offers a skill in conversation (the Lesson icon of the dialogue), what it costs and the drill that finishes it. Taking it spends the cost; without a drill the skill is learned at once, with one once the drill is done.

Signature

{ cost: ({LessonCost})?, done: TextKey, exercise: (LessonExercise)?, intro: TextKey, needs: (ItemId)?, task: TextKey, teacher: NpcId, when: ({StoryCondition})? }

Fields

NameTypeMeaning
cost{LessonCost}Items the lesson takes when the learner takes it; they never come back.
Items: 1…4
doneTextKeyLocalization key of the teacher's words once it is learned.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
exerciseLessonExerciseDrill at a training dummy that finishes the lesson; absent: learned when taken.
introTextKeyLocalization key of what the teacher says about it.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
needsItemIdItem the learner must carry to take it and for its drill (a shield for the guard).
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
taskTextKeyLocalization key of the teacher's task: the cost or the drill.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
teacherNpcIdNPC who teaches it.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc
when{StoryCondition}Conditions under which the teacher offers it; absent: always.
Items: 1…8