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

Adds a new condiment station #2637

Merged
merged 13 commits into from
Jan 4, 2025
31 changes: 31 additions & 0 deletions Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,37 @@
tags:
- DrinkGlass

# condiment cup

- type: entity
parent: DrinkBaseCup
id: CondimentCup
name: condiment cup
description: A flimsy cup that can be filled with condiments. Warranty void if filled with other things.
components:
- type: Drink
- type: Sprite
sprite: _NF/Objects/Consumable/Drinks/condiment_cup.rsi
layers:
- state: icon-0
- map: ["enum.SolutionContainerLayers.Fill"]
state: icon-1
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 1
fillBaseName: icon-
- type: Tag
tags:
- Trash
- WhitelistChameleon
- CondimentCup
- type: TrashOnSolutionEmpty
solution: drink
- type: SolutionContainerManager
solutions:
drink:
maxVol: 5
dustylens marked this conversation as resolved.
Show resolved Hide resolved

# Transformable container - normal glass
- type: entity
name: metamorphic glass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
parent: ReagentDispenserBase
id: SodaDispenser
name: soda dispenser
description: A beverage dispenser with a selection of soda and several other common beverages. Has a single fill slot for containers.
description: A beverage dispenser with a selection of soda and several other common beverages. Has a single fill slot for containers.
suffix: Filled
components:
- type: Rotatable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@
- SalvageTechFabCircuitboardNF # Frontier
- NFScrapProcessorCircuitboard # Frontier
- BlueprintLithographMachineCircuitboard # Frontier
- CondimentDispenserCircuitboard # Frontier
dynamicRecipes:
- ThermomachineFreezerMachineCircuitBoard
- HellfireFreezerMachineCircuitBoard
Expand Down
11 changes: 11 additions & 0 deletions Resources/Prototypes/_NF/Catalog/ReagentDispensers/condiments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- type: reagentDispenserInventory
id: CondimentDispenserInventory
inventory:
- DrinkAstrotameJug
- DrinkBbqSauceJug
- DrinkColdsauceJug
- DrinkHorseradishSauceJug
- DrinkHotsauceJug
- DrinkKetchupJug
- DrinkMustardJug
- DrinkSoysauceJug
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkAstrotameJug
name: astrotame jug
suffix: For Drinks, Full
description: The sweetness of a thousand sugars but none of the calories. Put it in your coffee.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Astrotame
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkBbqSauceJug
name: bbq sauce jug
suffix: For Drinks, Full
description: Finally, ketchup for grownups.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: BbqSauce
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkColdsauceJug
name: coldsauce jug
suffix: For Drinks, Full
description: Something to make every meal a little cooler.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Frostoil
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkHorseradishSauceJug
name: horseradish sauce jug
suffix: For Drinks, Full
description: Now with 50% more horse.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: HorseradishSauce
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkHotsauceJug
name: hotsauce jug
suffix: For Drinks, Full
description: The antithesis of no more tears shampoo.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Hotsauce
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkKetchupJug
name: ketchup jug
suffix: For Drinks, Full
description: Someone filled a tomato with sugar until it burst. Delicious.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Ketchup
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkMustardJug
name: mustard jug
suffix: For Drinks, Full
description: All of the implications of real mustard with none of the flavor.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Mustard
Quantity: 150
- type: Drink

- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkSoysauceJug
name: soy sauce jug
suffix: For Drinks, Full
description: You can only dream of putting some of this on a bowl of rice.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Soysauce
Quantity: 150
- type: Drink
19 changes: 19 additions & 0 deletions Resources/Prototypes/_NF/Entities/Objects/Devices/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,22 @@
stackRequirements:
Steel: 5
Plastic: 5

- type: entity
id: CondimentDispenserCircuitboard
parent: BaseMachineCircuitboard
name: condiment dispenser machine board
description: A machine printed circuit board for a condiment dispenser.
components:
- type: Sprite
state: service
- type: MachineBoard
prototype: CondimentDispenserEmpty
requirements: # Frontier
MatterBin: 1 # Frontier
stackRequirements:
Steel: 5
tagRequirements:
GlassBeaker:
amount: 1
defaultPrototype: Beaker
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
- type: entity
name: condiment cup dispenser
description: It holds little condiment cups. They claim to be recyled.
id: CondimentCupDispenser
parent: [BaseItem, PaperBin]
components:
- type: Sprite
sprite: _NF/Objects/Specific/Service/condiment_cup_dispenser.rsi
state: dispenser0
- type: ItemMapper
sprite: _NF/Objects/Specific/Service/condiment_cup_dispenser.rsi
mapLayers:
dispenser1:
whitelist:
tags:
- CondimentCup
- type: Bin
whitelist:
tags:
- CondimentCup

- type: entity
name: condiment cup dispenser
suffix: 20
description: It holds little condiment cups. They claim to be recyled.
id: CondimentCupDispenser20
parent: CondimentCupDispenser
components:
- type: Bin
initialContents:
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
- CondimentCup
whitelist:
tags:
- CondimentCup
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
- type: entity
parent: ReagentDispenserBase
id: CondimentDispenser
name: condiment dispenser
suffix: Filled
description: A condiment dispenser with a single slot for a condiment cup.
components:
- type: Rotatable
- type: Sprite
sprite: _NF/Structures/smalldispensers.rsi
drawdepth: SmallObjects
state: icon
- type: ReagentDispenser
storageWhitelist:
tags:
- DrinkBottle
pack: CondimentDispenserInventory
- type: Transform
noRot: false
- type: Machine
board: CondimentDispenserCircuitboard
- type: GuideHelp
guides:
- Bartender
- Drinks
- type: StaticPrice
price: 250


- type: entity
id: CondimentDispenserEmpty
suffix: Empty
parent: CondimentDispenser
components:
- type: ReagentDispenser
storageWhitelist:
tags:
- DrinkBottle
pack: EmptyInventory
- type: StaticPrice
price: 250
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
- FoodPlateSmallPlastic
- NapkinDrum
- Napkin
- CondimentCupDispenser
- CondimentCup
## EVA
- ClothingOuterEVASuitHydro
- ClothingOuterEVASuitJanitor
Expand Down
10 changes: 9 additions & 1 deletion Resources/Prototypes/_NF/Recipes/Lathes/electronics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@
Steel: 800
Glass: 900

- type: latheRecipe
parent: BaseCircuitboardRecipe
id: CondimentDispenserCircuitboard
result: CondimentDispenserCircuitboard
materials:
Steel: 100
Glass: 500

# Thrusters
- type: latheRecipe
id: ThrusterSecurityMachineCircuitboard
Expand Down Expand Up @@ -105,4 +113,4 @@
result: PortableGeneratorHyperPacmanMachineCircuitboard
materials:
Steel: 350
Glass: 350
Glass: 350
15 changes: 15 additions & 0 deletions Resources/Prototypes/_NF/Recipes/Lathes/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,18 @@
Glass: 200
Plastic: 100
Steel: 100

- type: latheRecipe
id: CondimentCupDispenser
result: CondimentCupDispenser
parent: BaseServiceItemsRecipe
applyMaterialDiscount: false

- type: latheRecipe
id: CondimentCup
result: CondimentCup
parent: BaseServiceItemsRecipe
completetime: 0.1
applyMaterialDiscount: false
materials:
Steel: 10
5 changes: 4 additions & 1 deletion Resources/Prototypes/_NF/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,7 @@
id: NFVGRoidInterior

- type: Tag
id: NFFoamRPG
id: NFFoamRPG

- type: Tag
id: CondimentCup
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "icon-0/1 by wallflowerghost(discord)",
"states": [
{
"name": "icon-0"
},
{
"name": "icon-1"
}
]
}
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
Loading