hadean-old/content/core/actions/CoreActions.ts

17 lines
337 B
TypeScript
Raw Normal View History

2021-06-23 01:28:06 -04:00
import { registerAction } from '@actions';
import { Game } from '@game';
registerAction('Gather Flint', (qty) => {
Game.current.board.addTask({
taskId: 'core:gather-flint',
options: {}
})
});
registerAction('Gather Slate', (qty) => {
Game.current.board.addTask({
taskId: 'core:gather-slate',
options: {}
})
});