fish-station/Content.Server/GameObjects/Components/Nutrition
DrSmugleaf 99a5e06b98
Adds eating with utensils (#1136)
* 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
2020-06-19 15:20:59 +02:00
..
DrinkComponent.cs Refactor all references to AudioSystem functions now that the old ones are obsolete. (#1081) 2020-06-07 15:55:15 +02:00
FoodComponent.cs Adds eating with utensils (#1136) 2020-06-19 15:20:59 +02:00
FoodContainerComponent.cs Rework Drink/Food/FoodContainer entirely (#1009) 2020-05-29 22:50:23 +02:00
HungerComponent.cs Cooldown for status effects (#1109) 2020-06-12 16:22:36 +02:00
StomachComponent.cs Merge branch 'master' into DecimalReagents 2020-04-12 14:37:36 +02:00
ThirstComponent.cs Cooldown for status effects (#1109) 2020-06-12 16:22:36 +02:00