Was banging my head against the wall for this because I R dumb.
It only ever popped up when large numbers of AI were spawned in.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
* Add Utensil component
For eating. With utensils.
Added to fork, plastic fork, spoon, plastic spoon and plastic knife.
Ignored component on the client.
* Add break chance to utensils
Set to 20% for plastic ones
* Add break sound to utensils
* Add utensil kinds
None, fork, spoon and knife.
For sporks, forknifes and sporknifes, of course.
* Add restricting foods by utensils needed
* Fix utensils breaking when food isn't eaten
* Moved getting held utensils to FoodComponent
* Add breaking a clicking utensil even if its not necessary to eat the food
* Move use utensil code to a separate method
* Add telling a handless entity when they need an utensil to eat
The immersion is off the charts
* Change food trash to only be held when the food was also being held
* Fix Wi-Fi utensils
* Remove unnecessary utensil ItemGroup
* Made TryUseFood public, removed redundant trash position update
* Renamed UtensilKind to UtensilType
* Remove eating food when clicking with it on nothing
* Disable eating food when clicked directly if it requires an untensil to eat
* Changed "Run" to "Walk" in code
Fixes#844
* Revert "Changed "Run" to "Walk" in code"
This reverts commit bf70dc7214d08c208823bccd5d3f36854d6b80de.
* Changed "Run" to "Walk" in code
Fixes#844
* Added collision mask for vending machines, piano and computers
* Changed naming of "Run" to "Walk"
Fixes#844
* Revert "Changed naming of "Run" to "Walk""
This reverts commit 075083aa6250b9569e4c8ec9803f21d6736b2737.
Using a fancy new GitHub action, this makes the workflow prevent
automatic submodule updates and allows for pulling engine changes in
from a required engine PR.
This fixes one case of GridCoordinates being used unnecessarily, in
GameScreenBase.
It replaces other cases with explicit calls to TryFindGridAt and
GetDefaultGrid.