Skip to content

Miscellaneous Stations

serenemccormack edited this page Oct 17, 2024 · 22 revisions

This wiki page is to explain miscellaneous stations which don't fit under combining, ingredients or processing station wiki pages.

Fire Extinguisher Handler Component

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.

Your image description

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.

Station Bin Component

Interacting with the Station Bin Component with handleInteraction() will remove the currently held item from the players inventory by calling disposeItem().

Your image description

Dishwasher Component

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.

Screenshot from 2024-10-17 14-21-09

Screenshot from 2024-10-17 14-21-16

Table of Contents

Home

Team Design Document

Game Features

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

Game

Getting Started

Entities and Components

World Backstory

Service Locator

Loading Resources

Logging

Unit Testing

Debug Terminal

Input Handling

UI

Animations

Audio

AI

Physics

Game Screens and Areas

Terrain

Concurrency & Threading

Settings

Map Design

Test Plans

Sensor Component

Customer Sensor Component

Interaction Component

Inventory Component

Inventory Display

Station Meal Component

Station Progress Display

Keyboard Input Component

Fire Extinguisher Handler Component

Score System

HoverBox Component

MainGameActions Create Docket Triggers

End Day Display Component

Cutscene Area

Docket

Docket Line Display

Docket Meal Display

Main Game Order Button Display

Order Actions

Recipe

Ticket Details Component

BackstoryCutscene Test Plan

BackstoryCutsceneDisplay Test Plan

Test Plan for Tutorial

Keybinds

Keybinds Test Plan

Test Plan for MainGameOrderTicketDisplay

Test Plan for MainGameOrderBtnDisplay

Test Plan for Docket

Test Plan for DocketLineDisplay

Test Plan for OrderActions

Ticket Details

Test plan for RandomComboService

Test plan for LoanUpgrade

Test plan for UpgradesDisplay

Test plan for RageUpgrade

Test plan for SpeedBoostUpgrade

Test plan for DancePartyUpgrade

Test plan for ExtortionUpgrade

Troubleshooting

MacOS Setup Guide

Clone this wiki locally