What it does
quest.add acts on quest: it adds. It takes id, name, description and objectives. description and objectives are optional.
Signature
quest.add(id, name, description?, objectives?)Arguments
idnamedescriptionoptionalobjectivesoptional
Example · generated
function start() { quest.add('main', 'main');}quest.add is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.