Gamend.Quests.Objective (gamend_core v1.0.1192)

Copy Markdown View Source

One objective inside a quest definition: reach target occurrences of event (as reported through Gamend.Quests.report_event/4).

params optionally narrows which events count — every key present must match the reported event's meta (e.g. %{"map" => "desert"}).

Summary

Types

t()

@type t() :: %Gamend.Quests.Objective{event: term(), params: term(), target: term()}