Skip to content

Commit

Permalink
Adds ice sink (#2635)
Browse files Browse the repository at this point in the history
* Adds ice sink

* buckets of fun

* Making sure the recipe isn't a steel

* Update service.yml

* Update drinks_special.yml

* Update drinks_special.yml

* Update service.yml

---------

Co-authored-by: Dvir <[email protected]>
  • Loading branch information
dustylens and dvir001 authored Jan 5, 2025
1 parent 78a4933 commit 027c1a9
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 0 deletions.
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
}
]
}

0 comments on commit 027c1a9

Please sign in to comment.