Seeker Day 1 Integration Tests

Integration tests for Seeker Day One   Feature: Day One
Scenario: Arm Yourself
Given there is a tool collectable
And there is a Legend
When the Legend walks over to the tool
Then the tool item will vanish
And the tool will be in the Legend's inventory
And the tool will be equipped
  Scenario: Salvage Supplies
Given there is a ruined chest
And there is a Legend
When the Legend opens the chest
Then the chest contents will spawn
And the chest will be empty
  Scenario: Collect Resources
Given there is a resource item And there is a Legend
When the Legend walks over to the resource
Then the resource item will vanish
And the item will be in the Legend's inventory
And the item will be listed in the Legend's toolbar
  Scenario: Activate Fabricator
Given there is a fabricator
And there is a Legend
When the Legend activates the fabricator
Then the fabricator will animate
And the crafting menu will open
And the Legend will not be able to move
  Scenario: Build a campfire
When there is a fabricator
And the fabricator is active
And there is a Legend
And the Legend has only campfire resources in their inventory
And the Legend has selected the campfire recipe
When the Legend moves the placer
And the Legend builds a campfire
Then a campfire object will exist
And the Legend will have an empty inventory
  Scenario: Open Campfire Crafting
Given there is a campfire
And there is a Legend
When the Legend interacts with the campfire
Then the campfire menu will open
And the Legend will be unable to move
  Scenario: Cook Pork
Given there is a campfire
And there is a Legend
And the Legend has raw pork in the inventory
And the campfire is active
When the Legend cooks pork
Then the Legend will have cooked pork in the inventory
And the Legend will not have raw pork in the inventory
  Scenario: Eating
Given there is a Legend
And they have hunger
And the Legend has food in their inventory
When the Legend eats the food
Then their hunger is restored
  Scenario: Refill Tank
Given there is a Legend
And their water tank is empty
And there is a water condenser
When the Legend interacts with the water condenser
Then their water tank will be full
  Scenario: Don't Die-Drate
Given there is a Legend
And they have thirst
And the Legend's water tank is full
When the Legend uses water
Then their thirst will be slacked
  Scenario: Off and On Again
Given there is a Legend
And the Enchiridion is not active
And there is an Enchiridion terminal
When the Legend interacts with the Enchiridion terminal
Then the Enchiridion is functional
And the terminal is animated
And there are stasis cubes dispensed
And the enchiridion menu is open
  Scenario: Catch Organism
Given there is a Legend
And the legend has stasis cubes
And there is an organism
When the legend throws stasis cubes at the organism until the organism disappears
Then the organism's data is saved in the stasis cube
  Scenario: First Animal/Plant
Given there is a Legend
And the legend has a saved organism in a stasis cube
And there is an Enchiridion terminal
When the Legend interacts with the terminal
Then the organism data is saved in the Enchiridion
And the organism data is removed from the Legend
  Scenario: Obtain Sticks
Given there is a Legend
And the Legend has an axe
And there is a tree
When the Legend uses the axe on the tree
Then the tree will drop sticks
And the tree will decrease by one stage
  Scenario: Snirk Mimimi
Given there is a Seeker
And the Seeker is the current Legend
And there is a Settler
And there is a bed
When the Seeker interacts with the bed
Then the Seeker is asleep in the bed
And the Settler is the current Legend
function givenLegend(legendType instance_create_layer(32, 32, "Instance Layer", legendType) } function givenTool(toolType instance_create_layer(64, 32, "Instance Layer", obj_tool, {
toolType: global.toolType.axe, toolName: "stone_axe" })