Fixes chocolate/energy bar (#4503)
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
FoodSnackChips: 3
|
||||
FoodSnackBoritos: 2
|
||||
FoodSnackPopcorn: 1
|
||||
FoodSnackEnergybar: 2
|
||||
FoodSnackEnergy: 2
|
||||
|
||||
@@ -70,26 +70,56 @@
|
||||
description: Tastes like cardboard.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: chocolatebar-open
|
||||
- state: chocolatebar
|
||||
state: chocolatebar
|
||||
- type: Item
|
||||
color: red
|
||||
- type: Food
|
||||
trash: FoodPacketChocolateTrash
|
||||
HeldPrefix: chocolatebar
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketChocolateTrash
|
||||
- id: FoodSnackChocolateBar
|
||||
sound:
|
||||
path: /Audio/Effects/unwrap.ogg
|
||||
|
||||
- type: entity
|
||||
name: chocolate bar
|
||||
parent: FoodSnackBase
|
||||
id: FoodSnackChocolateBar
|
||||
description: Tastes like cardboard.
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
state: chocolatebar-open
|
||||
- type: Item
|
||||
color: brown
|
||||
|
||||
- type: entity
|
||||
name: energy bar
|
||||
parent: FoodSnackBase
|
||||
id: FoodSnackEnergybar
|
||||
id: FoodSnackEnergy
|
||||
description: An energy bar with a lot of punch.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: energybar
|
||||
- type: Item
|
||||
color: green
|
||||
- type: Food
|
||||
trash: FoodPacketEnergyTrash
|
||||
color: lime
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketEnergyTrash
|
||||
- id: FoodSnackEnergyBar
|
||||
sound:
|
||||
path: /Audio/Effects/unwrap.ogg
|
||||
|
||||
- type: entity
|
||||
name: energy bar
|
||||
parent: FoodSnackBase
|
||||
id: FoodSnackEnergyBar
|
||||
description: An energy bar with a lot of punch.
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
state: energybar-open
|
||||
- type: Item
|
||||
color: yellow
|
||||
|
||||
- type: entity
|
||||
name: popcorn
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 454 B |
@@ -54,6 +54,9 @@
|
||||
{
|
||||
"name": "energybar"
|
||||
},
|
||||
{
|
||||
"name": "energybar-open"
|
||||
},
|
||||
{
|
||||
"name": "energybar-trash"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user