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 ice sink #2635

Merged
merged 8 commits into from
Jan 5, 2025
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
@@ -0,0 +1,17 @@
- type: entity
parent: [BaseItem, BartenderMixer]
id: DrinkIceBucketEmpty
name: ice bucket
suffix: empty
description: A special bucket that was specifically designed to hold ice.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 200
- type: Sprite
sprite: Objects/Consumable/Drinks/icebucket.rsi
state: icon
- type: PhysicalComposition
materialComposition:
Steel: 50
39 changes: 39 additions & 0 deletions Resources/Prototypes/_NF/Entities/Structures/Furniture/icebox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
- type: entity
name: ice box
description: This delightful machine is slowly filling with ice!
id: IceboxEmpty
parent: SinkEmpty
components:
- type: Sprite
sprite: _NF/Structures/Furniture/icebox.rsi
layers:
- state: icebox
- map: [ "enum.SolutionContainerLayers.Fill" ]
state: icebox_fill-1
visible: false
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 1
fillBaseName: icebox_fill-
solutionName: drainBuffer
- type: SolutionRegeneration
solution: tank
generated:
reagents:
- ReagentId: Ice
Quantity: 1

- type: entity
name: ice box
id: Icebox
parent: IceboxEmpty
suffix: Ice
components:
- type: SolutionContainerManager
solutions:
drainBuffer:
maxVol: 100
tank:
reagents:
- ReagentId: Ice
Quantity: 500
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
- DrinkMug
- DrinkMugMetal
- DrinkGlass
- DrinkIceBucketEmpty
- KitchenKnife
- ButchCleaver
- ServiceRollingPin
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/_NF/Recipes/Lathes/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,11 @@
materials:
Steel: 50
Glass: 50

- type: latheRecipe
id: DrinkIceBucketEmpty
result: DrinkIceBucketEmpty
parent: BaseServiceItemsRecipe
completetime: 2
materials:
Steel: 100
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.
19 changes: 19 additions & 0 deletions Resources/Textures/_NF/Structures/Furniture/icebox.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Icebox based on sink-fill-1 and sink_wide-fill-1 made by Topy for SS14, edited by DustyLens",
"states": [
{
"name": "icebox",
"directions": 4
},
{
"name": "icebox_fill-1",
"directions": 4
}
]
}
Loading