checkMissionRules beta
Function of @v12-engine/engine
ts
export declare function checkMissionRules(map: GameMap, registry?: Registry): MapProblem[];What is wrong with a map's rules (GameMap.data.rules): one with no id or with another's, one with no condition, an action of no form the pack knows, a condition or an action naming what the map or the game has not (a region, an objective, a prefab, a player). Each a click away in the Rules panel