Const
The event vocabulary a package script may do. It is the data-only subset of the MWL event actions plus play and give; hook (game-author code), endlevel, win, lose, spawn, kill and anything else that decides the outcome of a scenario are not on it.
do
play
give
hook
endlevel
win
lose
spawn
kill
import { PACKAGE_SCRIPT_ACTIONS } from '@datamoc/mwg/mwl';console.log(PACKAGE_SCRIPT_ACTIONS.includes('hook')); // false Copy
import { PACKAGE_SCRIPT_ACTIONS } from '@datamoc/mwg/mwl';console.log(PACKAGE_SCRIPT_ACTIONS.includes('hook')); // false
The event vocabulary a package script may
do. It is the data-only subset of the MWL event actions plusplayandgive;hook(game-author code),endlevel,win,lose,spawn,killand anything else that decides the outcome of a scenario are not on it.