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
|
- type: entity
|
||||||
name: chocolate bar
|
name: chocolate bar
|
||||||
parent: FoodSnackBase
|
parent: BaseItem
|
||||||
id: FoodSnackChocolate
|
id: FoodSnackChocolate
|
||||||
description: Tastes like cardboard.
|
description: Tastes like cardboard.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
state: chocolatebar
|
state: chocolatebar
|
||||||
|
netsync: false
|
||||||
- type: Item
|
- type: Item
|
||||||
HeldPrefix: chocolatebar
|
HeldPrefix: chocolatebar
|
||||||
|
size: 3
|
||||||
- type: SpawnItemsOnUse
|
- type: SpawnItemsOnUse
|
||||||
items:
|
items:
|
||||||
- id: FoodPacketChocolateTrash
|
- id: FoodPacketChocolateTrash
|
||||||
- id: FoodSnackChocolateBar
|
- id: FoodSnackChocolateBar
|
||||||
sound:
|
sound:
|
||||||
path: /Audio/Effects/unwrap.ogg
|
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
|
- type: entity
|
||||||
name: chocolate bar
|
name: chocolate bar
|
||||||
@@ -258,21 +252,35 @@
|
|||||||
trash: FoodCookieFortune
|
trash: FoodCookieFortune
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: nutribrick
|
|
||||||
parent: FoodSnackBase
|
|
||||||
id: FoodSnackNutribrick
|
id: FoodSnackNutribrick
|
||||||
|
parent: BaseItem
|
||||||
|
name: nutribrick
|
||||||
description: A carefully synthesized brick designed to contain the highest ratio of nutriment to volume. Tastes like shit.
|
description: A carefully synthesized brick designed to contain the highest ratio of nutriment to volume. Tastes like shit.
|
||||||
components:
|
components:
|
||||||
- type: Item
|
- type: Item
|
||||||
size: 10
|
size: 10
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
state: nutribrick
|
state: nutribrick
|
||||||
|
netsync: false
|
||||||
- type: SpawnItemsOnUse
|
- type: SpawnItemsOnUse
|
||||||
items:
|
items:
|
||||||
- id: FoodPacketMRETrash
|
- id: FoodPacketMRETrash
|
||||||
- id: FoodSnackNutribrickOpen
|
- id: FoodSnackNutribrickOpen
|
||||||
sound:
|
sound:
|
||||||
path: /Audio/Effects/unwrap.ogg
|
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
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
@@ -282,30 +290,32 @@
|
|||||||
Quantity: 25
|
Quantity: 25
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: nutribrick
|
|
||||||
parent: FoodSnackNutribrick
|
|
||||||
id: FoodSnackNutribrickOpen
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
state: nutribrick-open
|
|
||||||
- type: Food
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
name: brownie
|
|
||||||
parent: FoodSnackBase
|
|
||||||
id: FoodSnackMREBrownie
|
id: FoodSnackMREBrownie
|
||||||
|
parent: BaseItem
|
||||||
|
name: brownie
|
||||||
description: A precisely mixed brownie, made to withstand blunt trauma and harsh conditions. Tastes like shit.
|
description: A precisely mixed brownie, made to withstand blunt trauma and harsh conditions. Tastes like shit.
|
||||||
components:
|
components:
|
||||||
- type: Item
|
|
||||||
size: 10
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
state: mre-brownie
|
state: mre-brownie
|
||||||
|
netsync: false
|
||||||
- type: SpawnItemsOnUse
|
- type: SpawnItemsOnUse
|
||||||
items:
|
items:
|
||||||
- id: FoodPacketMRETrash
|
- id: FoodPacketMRETrash
|
||||||
- id: FoodSnackMREBrownieOpen
|
- id: FoodSnackMREBrownieOpen
|
||||||
sound:
|
sound:
|
||||||
path: /Audio/Effects/unwrap.ogg
|
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
|
- type: SolutionContainerManager
|
||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
@@ -316,15 +326,6 @@
|
|||||||
- ReagentId: Theobromine
|
- ReagentId: Theobromine
|
||||||
Quantity: 3
|
Quantity: 3
|
||||||
|
|
||||||
- type: entity
|
|
||||||
name: brownie
|
|
||||||
parent: FoodSnackMREBrownie
|
|
||||||
id: FoodSnackMREBrownieOpen
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
state: mre-brownie-open
|
|
||||||
- type: Food
|
|
||||||
|
|
||||||
# Trash
|
# Trash
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
Reference in New Issue
Block a user