Log inGet started
Package

HuntEvents.module

README.md

HuntEvents

What a CaravanHunt tells the rest of a game on each machine: Hunt.on(fn) calls fn(event) for every relic found (kind = "relic"), for the last one ("allFound") and for the chest opened ("opened"), with mine true when this machine's own player did it, plus found, total, index and by. Use it to give XP or unlocks (the showcase gives saveKit XP). Hunt.emit(ev) is what the component calls.