Fix wrapped foods (chocolate bars, brownies, nutribrick) (#8735)
* wrappables fix * Update snacks.yml * Update snacks.yml
This commit is contained in:
@@ -66,29 +66,23 @@
|
||||
|
||||
- type: entity
|
||||
name: chocolate bar
|
||||
parent: FoodSnackBase
|
||||
parent: BaseItem
|
||||
id: FoodSnackChocolate
|
||||
description: Tastes like cardboard.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/snacks.rsi
|
||||
state: chocolatebar
|
||||
netsync: false
|
||||
- type: Item
|
||||
HeldPrefix: chocolatebar
|
||||
size: 3
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketChocolateTrash
|
||||
- id: FoodSnackChocolateBar
|
||||
sound:
|
||||
path: /Audio/Effects/unwrap.ogg
|
||||
- type: SolutionContainerManager #seems like you can eat it unwrapped
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 30
|
||||
reagents:
|
||||
- ReagentId: Nutriment
|
||||
Quantity: 10
|
||||
- ReagentId: Theobromine
|
||||
Quantity: 3
|
||||
|
||||
- type: entity
|
||||
name: chocolate bar
|
||||
@@ -258,21 +252,35 @@
|
||||
trash: FoodCookieFortune
|
||||
|
||||
- type: entity
|
||||
name: nutribrick
|
||||
parent: FoodSnackBase
|
||||
id: FoodSnackNutribrick
|
||||
parent: BaseItem
|
||||
name: nutribrick
|
||||
description: A carefully synthesized brick designed to contain the highest ratio of nutriment to volume. Tastes like shit.
|
||||
components:
|
||||
- type: Item
|
||||
size: 10
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/snacks.rsi
|
||||
state: nutribrick
|
||||
netsync: false
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketMRETrash
|
||||
- id: FoodSnackNutribrickOpen
|
||||
sound:
|
||||
path: /Audio/Effects/unwrap.ogg
|
||||
|
||||
- type: entity
|
||||
id: FoodSnackNutribrickOpen
|
||||
parent: FoodSnackBase
|
||||
name: nutribrick
|
||||
description: A carefully synthesized brick designed to contain the highest ratio of nutriment to volume. Tastes like shit.
|
||||
components:
|
||||
- type: Item
|
||||
size: 10
|
||||
- type: Sprite
|
||||
state: nutribrick-open
|
||||
- type: Food
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
@@ -282,30 +290,32 @@
|
||||
Quantity: 25
|
||||
|
||||
- type: entity
|
||||
name: nutribrick
|
||||
parent: FoodSnackNutribrick
|
||||
id: FoodSnackNutribrickOpen
|
||||
components:
|
||||
- type: Sprite
|
||||
state: nutribrick-open
|
||||
- type: Food
|
||||
|
||||
- type: entity
|
||||
name: brownie
|
||||
parent: FoodSnackBase
|
||||
id: FoodSnackMREBrownie
|
||||
parent: BaseItem
|
||||
name: brownie
|
||||
description: A precisely mixed brownie, made to withstand blunt trauma and harsh conditions. Tastes like shit.
|
||||
components:
|
||||
- type: Item
|
||||
size: 10
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/snacks.rsi
|
||||
state: mre-brownie
|
||||
netsync: false
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketMRETrash
|
||||
- id: FoodSnackMREBrownieOpen
|
||||
sound:
|
||||
path: /Audio/Effects/unwrap.ogg
|
||||
|
||||
|
||||
- type: entity
|
||||
id: FoodSnackMREBrownieOpen
|
||||
parent: FoodSnackBase
|
||||
name: brownie
|
||||
description: A precisely mixed brownie, made to withstand blunt trauma and harsh conditions. Tastes like shit.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: mre-brownie-open
|
||||
- type: Food
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
@@ -316,15 +326,6 @@
|
||||
- ReagentId: Theobromine
|
||||
Quantity: 3
|
||||
|
||||
- type: entity
|
||||
name: brownie
|
||||
parent: FoodSnackMREBrownie
|
||||
id: FoodSnackMREBrownieOpen
|
||||
components:
|
||||
- type: Sprite
|
||||
state: mre-brownie-open
|
||||
- type: Food
|
||||
|
||||
# Trash
|
||||
|
||||
- type: entity
|
||||
|
||||
Reference in New Issue
Block a user