From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Fri, 8 Aug 2025 19:42:11 +0000 (-0700) Subject: Cleanup Base food and drink a little (#39485) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=2b8145ce8772e57478151a40f1838f52ff228ce6;p=space-station-14.git Cleanup Base food and drink a little (#39485) Edible base prototype convention compliance Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml index 4df720d541..ca633cdb39 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml @@ -2,9 +2,9 @@ # TODO: Find empty containers (e.g. mug, pitcher) and move to their own yml # When adding new drinks also add to random spawner located in Resources\Prototypes\Entities\Markers\Spawners\Random\Food_Drinks\drinks_glass.yml - type: entity + abstract: true parent: BaseItem id: DrinkBase - abstract: true components: - type: SolutionContainerManager solutions: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml index fedce70e79..6ba1895548 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml @@ -2,9 +2,9 @@ # Base component for edible food-like items # - type: entity + abstract: true parent: BaseItem id: EdibleBase - abstract: true components: - type: FlavorProfile flavors: @@ -19,9 +19,9 @@ # that should be cleaned up in space # - type: entity + abstract: true parent: EdibleBase id: FoodBase - abstract: true components: - type: SpaceGarbage @@ -30,9 +30,9 @@ # But it might in future also mean drawing with a syringe, so this is a base prototype just in case. - type: entity + abstract: true parent: FoodBase id: FoodInjectableBase - abstract: true components: - type: InjectableSolution solution: food @@ -42,8 +42,8 @@ # usable by any food that can be opened # handles appearance with states "icon" and "icon-open" - type: entity - id: FoodOpenableBase abstract: true + id: FoodOpenableBase components: - type: Appearance - type: Sprite