From: Patrik Caes-Sayrs Date: Thu, 16 Jan 2025 11:40:21 +0000 (-0700) Subject: FIX: Uranium, Cak, and BreadDog are not garbage! (#34192) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=de8a2775ecad5af0bc7b3fabc3f701d0b2c6feb4;p=space-station-14.git FIX: Uranium, Cak, and BreadDog are not garbage! (#34192) * FIX: Uranium, Cak, and BreadDog are not garbage! * Fixed bread typo for spacegarbage change. * Style: moved ediblebase * Update Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml * Update Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --- diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml index db77d81ce8..d817d53b18 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml @@ -937,9 +937,26 @@ - type: entity name: bread dog id: MobBreadDog - parent: FoodBreadSausage + parent: EdibleBase description: It's a bread. It's a dog. It's a... breaddog? components: + - type: FlavorProfile + flavors: + - meaty + - bread + - type: SliceableFood + slice: FoodBreadSausageSlice + - type: SolutionContainerManager + solutions: + food: + maxVol: 45 + reagents: + - ReagentId: Nutriment + Quantity: 10 + - ReagentId: Vitamin + Quantity: 5 + - ReagentId: Protein + Quantity: 5 - type: Sprite noRot: true drawdepth: Mobs @@ -984,6 +1001,7 @@ - VimPilot - DoorBumpOpener - Bread + - Meat - type: CanEscapeInventory baseResistTime: 2 - type: Puller diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml index 0b574cdd72..6b2fe3ef4e 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml @@ -696,9 +696,25 @@ - type: entity name: cak id: MobCatCake - parent: FoodCakeBase + parent: EdibleBase description: It's a cake. It's a cat. It's a cak. components: + - type: FlavorProfile + flavors: + - sweet + - type: InjectableSolution + solution: food + - type: RefillableSolution + solution: food + - type: SolutionContainerManager + solutions: + food: + maxVol: 30 + reagents: + - ReagentId: Nutriment + Quantity: 20 + - ReagentId: Vitamin + Quantity: 5 - type: Sprite noRot: true drawdepth: Mobs diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml index 0d942ebf96..ddacf71a03 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/food_base.yml @@ -1,20 +1,30 @@ # -# Base component for consumable food +# Base component for edible food-like items # - type: entity parent: BaseItem - id: FoodBase + id: EdibleBase abstract: true components: - type: FlavorProfile flavors: - food - type: Food - - type: SpaceGarbage - type: Sprite - type: StaticPrice price: 0 +# +# Base component for consumable food +# that should be cleaned up in space +# +- type: entity + parent: EdibleBase + id: FoodBase + abstract: true + components: + - type: SpaceGarbage + # This base type is used to cover all of the "obvious" things that should be doable to open-package food. # Practically this means injection. # But it might in future also mean drawing with a syringe, so this is a base prototype just in case. diff --git a/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml b/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml index 1218f7a9d4..4bc98a4d4b 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml @@ -196,7 +196,7 @@ count: 1 - type: entity - parent: [SheetOtherBase, FoodBase] + parent: [SheetOtherBase, EdibleBase] id: SheetUranium name: uranium suffix: Full