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