diff --git a/src/game.js b/src/game.js index 13d146e..ef7d1c2 100644 --- a/src/game.js +++ b/src/game.js @@ -179,6 +179,7 @@ const machine = src.createMachine({ }, tasks: { 101: {selected: false }, + 102: {selected: false}, 103: {selected: false }, // take grain 104: {selected: false }, 105: {selected: false }, diff --git a/src/messages_en.yaml b/src/messages_en.yaml index 408d452..4665261 100644 --- a/src/messages_en.yaml +++ b/src/messages_en.yaml @@ -50,8 +50,9 @@ task-not-avail: > 101: Build Rooms and/or Build Stables 102: | - Storehouse - Take {qty} Food + Starting Player + and/or + 1 Minor Improvement 103: Take 1 Grain 104: Plow 1 Field 105: 1 Occupation diff --git a/src/task-102.js b/src/task-102.js new file mode 100644 index 0000000..d2ee381 --- /dev/null +++ b/src/task-102.js @@ -0,0 +1,33 @@ +/* + + Starting Player + and/or + 1 Minor Improvement + +*/ + +import { + base +} from './task-lib.js'; + +const machine = base.createMachine({ + initial: 'idle', + states: { + idle: { + on: { + 'task.selected': { + actions: { + type: 'abort', + params: { + task_id: 102, + err: 'TODO' + } + } + } + } + } + } +}); + +export default machine; +