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>
This commit is contained in:
Patrik Caes-Sayrs
2025-01-16 04:40:21 -07:00
committed by GitHub
parent 820517eb38
commit de8a2775ec
4 changed files with 50 additions and 6 deletions

View File

@@ -937,9 +937,26 @@
- type: entity - type: entity
name: bread dog name: bread dog
id: MobBreadDog id: MobBreadDog
parent: FoodBreadSausage parent: EdibleBase
description: It's a bread. It's a dog. It's a... breaddog? description: It's a bread. It's a dog. It's a... breaddog?
components: 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 - type: Sprite
noRot: true noRot: true
drawdepth: Mobs drawdepth: Mobs
@@ -984,6 +1001,7 @@
- VimPilot - VimPilot
- DoorBumpOpener - DoorBumpOpener
- Bread - Bread
- Meat
- type: CanEscapeInventory - type: CanEscapeInventory
baseResistTime: 2 baseResistTime: 2
- type: Puller - type: Puller

View File

@@ -696,9 +696,25 @@
- type: entity - type: entity
name: cak name: cak
id: MobCatCake id: MobCatCake
parent: FoodCakeBase parent: EdibleBase
description: It's a cake. It's a cat. It's a cak. description: It's a cake. It's a cat. It's a cak.
components: 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 - type: Sprite
noRot: true noRot: true
drawdepth: Mobs drawdepth: Mobs

View File

@@ -1,20 +1,30 @@
# #
# Base component for consumable food # Base component for edible food-like items
# #
- type: entity - type: entity
parent: BaseItem parent: BaseItem
id: FoodBase id: EdibleBase
abstract: true abstract: true
components: components:
- type: FlavorProfile - type: FlavorProfile
flavors: flavors:
- food - food
- type: Food - type: Food
- type: SpaceGarbage
- type: Sprite - type: Sprite
- type: StaticPrice - type: StaticPrice
price: 0 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. # This base type is used to cover all of the "obvious" things that should be doable to open-package food.
# Practically this means injection. # Practically this means injection.
# But it might in future also mean drawing with a syringe, so this is a base prototype just in case. # But it might in future also mean drawing with a syringe, so this is a base prototype just in case.

View File

@@ -196,7 +196,7 @@
count: 1 count: 1
- type: entity - type: entity
parent: [SheetOtherBase, FoodBase] parent: [SheetOtherBase, EdibleBase]
id: SheetUranium id: SheetUranium
name: uranium name: uranium
suffix: Full suffix: Full