-
Notifications
You must be signed in to change notification settings - Fork 2
Miscellaneous Stations
This wiki page is to explain miscellaneous stations which don't fit under combining, ingredients or processing station wiki pages.
The component allows for the player to interact with the station. If the player does not have a fire extinguisher, they are given it, and if they are already holding it, they put it back.
The handleFireExtinguisher()
function (and the function it calls) are responsible for determining if the player is holding a fire extinguisher and modifying the players inventory to match.
If it is attached, it calls givePutExtinguisher()
to return the fire extinguisher to the player.
takeExtinguisher()
& giveExtinguisher()
removes and adds the fireExtinguisher from the player inventory by checking & modifying the item at the given element index. It is assumed that this index is correct and no checks are done on it.
There is also a system where flames are spawned (spawnFlame()
) for the extinguisher to be used on. This hasn't seemed to fully be implemented by team 3 so won't be explained further.
Interacting with the Station Bin Component with handleInteraction()
will remove the currently held item from the players inventory by calling disposeItem()
.
Dispenses Plates for use in Meal Creation, in a similar way to Ingredient stations. Dishwasher Stations are denoted by the plate on top and allows interactions through the 'E' button to add a PlateComponent to the player's inventory.
Inventory System
Scoring System
Food Recipes
Level System
Player Actions
Ordering System
Stations
Items
Map Design
Customers
Pause Menu
Upgrades
End of Day Display
Day Night Cycle
Moral System
Debug Terminal
Game Interactions Tutorial
Backstory Cutscenes
Entities and Components
Input Handling
Game Screens and Areas
Fire Extinguisher Handler Component
MainGameActions Create Docket Triggers
Main Game Order Button Display
BackstoryCutsceneDisplay Test Plan
Test Plan for MainGameOrderTicketDisplay
Test Plan for MainGameOrderBtnDisplay
Test Plan for DocketLineDisplay
Test plan for RandomComboService
Test plan for SpeedBoostUpgrade
Test plan for DancePartyUpgrade