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

23 lines
468 B
TypeScript
Raw Permalink 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: {}
})
});
2021-06-23 18:53:49 -04:00
registerAction('Fetch Sticks', (qty) => {
Game.current.board.addTask({
taskId: "core:fetch-sticks",
options: {}
})
});