2014-04-11 08:22:49 -04:00
|
|
|
module.exports =
|
2014-04-11 14:09:50 -04:00
|
|
|
# TODO There should be a better way to divide these channels into smaller ones
|
2014-04-11 08:22:49 -04:00
|
|
|
|
|
|
|
# TODO location is debatable
|
2014-06-30 22:16:26 -04:00
|
|
|
'echo-self-wizard-sprite':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:session-will-save':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-loader:progress-changed':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:shift-space-pressed':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:escape-pressed':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-enable-controls':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-set-letterbox':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:started':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-set-debug':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-set-grid':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'tome:cast-spell':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:restarted':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-set-volume':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-set-time':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-select-sprite':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-set-playing':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:team-set':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:docs-shown': {}
|
2014-05-21 17:50:27 -04:00
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:docs-hidden': {}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level:victory-hidden':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'next-game-pressed':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'end-current-script':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'script:reset':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'script:ended':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'end-all-scripts': {}
|
2014-05-20 18:31:49 -04:00
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'script:state-changed':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-05-20 18:31:49 -04:00
|
|
|
'script-manager:tick':
|
|
|
|
type: 'object'
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
2014-06-30 22:16:26 -04:00
|
|
|
scriptRunning: {type: 'string'}
|
|
|
|
noteGroupRunning: {type: 'string'}
|
|
|
|
timeSinceLastScriptEnded: {type: 'number'}
|
2014-06-25 00:07:36 -04:00
|
|
|
scriptStates:
|
2014-05-20 18:31:49 -04:00
|
|
|
type: 'object'
|
|
|
|
additionalProperties:
|
|
|
|
title: 'Script State'
|
|
|
|
type: 'object'
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
2014-06-25 00:07:36 -04:00
|
|
|
timeSinceLastEnded:
|
2014-05-20 18:31:49 -04:00
|
|
|
type: 'number'
|
|
|
|
description: 'seconds since this script ended last'
|
|
|
|
timeSinceLastTriggered:
|
|
|
|
type: 'number'
|
|
|
|
description: 'seconds since this script was triggered last'
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'play-sound':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
|
|
|
# TODO refactor name
|
2014-06-30 22:16:26 -04:00
|
|
|
'onLoadingViewUnveiled':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'playback:manually-scrubbed':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'change:editor-config':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'restart-level':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'play-next-level':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-select-sprite':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-toggle-grid':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-toggle-debug':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-toggle-pathfinding':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-scrub-forward':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-scrub-back':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-show-victory':
|
2014-05-20 18:31:49 -04:00
|
|
|
type: 'object'
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
2014-06-30 22:16:26 -04:00
|
|
|
showModal: {type: 'boolean'}
|
2014-06-25 00:07:36 -04:00
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'level-highlight-dom':
|
2014-05-20 18:31:49 -04:00
|
|
|
type: 'object'
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
2014-06-30 22:16:26 -04:00
|
|
|
selector: {type: 'string'}
|
|
|
|
delay: {type: 'number'}
|
|
|
|
sides: {type: 'array', items: {'enum': ['left', 'right', 'top', 'bottom']}}
|
|
|
|
offset: {type: 'object'}
|
|
|
|
rotation: {type: 'number'}
|
2014-05-20 18:31:49 -04:00
|
|
|
|
2014-06-30 22:16:26 -04:00
|
|
|
'goal-manager:new-goal-states':
|
2014-04-11 08:22:49 -04:00
|
|
|
{} # TODO schema
|