Skip to content

Commit

Permalink
FIX: Uranium, Cak, and BreadDog are not garbage! (#34192)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
pcaessayrs and slarticodefast authored Jan 16, 2025
1 parent 820517e commit de8a277
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -984,6 +1001,7 @@
- VimPilot
- DoorBumpOpener
- Bread
- Meat
- type: CanEscapeInventory
baseResistTime: 2
- type: Puller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
count: 1

- type: entity
parent: [SheetOtherBase, FoodBase]
parent: [SheetOtherBase, EdibleBase]
id: SheetUranium
name: uranium
suffix: Full
Expand Down

0 comments on commit de8a277

Please sign in to comment.