Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChefVend Ingredients #847

Merged
merged 5 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
- type: vendingMachineInventory
id: ChefvendInventory
startingInventory:
ReagentContainerFlour: 2
ReagentContainerCornmeal: 2
ReagentContainerSugar: 2
ReagentContainerRice: 2
FoodCondimentPacketSalt: 4
ReagentContainerFlour: 3 # Frontier - 2<3
ReagentContainerCornmeal: 3 # Frontier - 2<3
ReagentContainerSugar: 3 # Frontier - 2<3
ReagentContainerRice: 3 # Frontier - 2<3
ReagentContainerRaisin: 3 # Frontier
ReagentContainerChocolate: 3 # Frontier
# FoodCondimentPacketSalt: 4 # Frontier - Replaced with big salt
ReagentContainerSalt: 3 # Frontier
ReagentContainerPepper: 3 # Frontier
DrinkKegPlasticKetchup: 1 # Frontier - Refills
DrinkKegPlasticMustard: 1 # Frontier - Refills
FoodCondimentBottleEnzyme: 2
FoodCondimentBottleHotsauce: 2
FoodCondimentBottleKetchup: 2
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Lots of misc stuff in here, hard to parent it.

# Powder (For when you throw stuff like flour and it explodes)

# Reagent Containers

- type: entity
parent: [ReagentPacketBase, ItemHeftyBase]
id: ReagentContainerSalt
name: salt container
description: A big container of salt. Good for cooking!
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Food/ingredients.rsi
state: salt-big
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
reagents:
- ReagentId: TableSalt
Quantity: 50
- type: Drink
solution: food
useSound:
path: /Audio/Items/eating_1.ogg

- type: entity
parent: [ReagentPacketBase, ItemHeftyBase]
id: ReagentContainerPepper
name: pepper container
description: A big container of pepper. Good for cooking!
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Food/ingredients.rsi
state: pepper-big
- type: SolutionContainerManager
solutions:
food:
maxVol: 50
reagents:
- ReagentId: Blackpepper
Quantity: 50

- type: entity
parent: BaseItem
id: ReagentContainerRaisin
name: raisin bag
description: A big bag of raisin. Good for baking!
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Food/ingredients.rsi
state: raisin-big
- type: FlavorProfile
flavors:
- raisins
- type: Tag
tags:
- Fruit
- type: Damageable
damageContainer: Inorganic

- type: entity
parent: ReagentPacketBase
id: ReagentContainerChocolate
name: chocolate chips bag
description: A big bag of chocolate chips. Good for cooking!
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Food/ingredients.rsi
state: cocoa-chip-big
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: CocoaPowder
Quantity: 50

- type: entity
parent: DrinkKegPlastic
id: DrinkKegPlasticKetchup
name: ketchup keg
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 600
reagents:
- ReagentId: Ketchup
Quantity: 600
- type: StaticPrice
price: 60

- type: entity
parent: DrinkKegPlastic
id: DrinkKegPlasticMustard
name: mustard keg
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 600
reagents:
- ReagentId: Mustard
Quantity: 600
- type: StaticPrice
price: 60
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Frontier - ghostprince & gentlebutter",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "salt-big"
},
{
"name": "pepper-big"
},
{
"name": "cocoa-chip-big"
},
{
"name": "raisin-big"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading