This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wall freezers (new-frontiers-14#2190)
* wall freezers * construction * clean up yml, more sprites * small fixes * Update storage.yml --------- Co-authored-by: Dvir <[email protected]> Co-authored-by: Dvir <[email protected]>
- Loading branch information
1 parent
f71965e
commit d71b576
Showing
27 changed files
with
432 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
Resources/Prototypes/_NF/Catalog/Fills/StorageFillTemplates/safety_gear.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
- type: entity | ||
abstract: true | ||
id: StorageFillL1FireSuit | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: ClothingOuterSuitFire | ||
- id: ClothingHeadHelmetFire | ||
- id: FireExtinguisher | ||
- id: ClothingMaskGas | ||
- id: CrowbarRed | ||
- id: DoubleEmergencyAirTankFilled | ||
|
||
- type: entity | ||
abstract: true | ||
id: StorageFillL2RadiationSuit | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: ClothingOuterSuitRad | ||
- id: GeigerCounter | ||
|
||
- type: entity | ||
abstract: true | ||
id: StorageFillL3BiohazardSuit | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: ClothingOuterBioGeneral | ||
- id: ClothingHeadHatHoodBioGeneral | ||
- id: DoubleEmergencyAirTankFilled | ||
|
||
- type: entity | ||
abstract: true | ||
id: StorageFillL4BombSuit | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: ClothingOuterSuitBomb | ||
- id: ClothingHeadHelmetBombSuit | ||
- id: Multitool | ||
- id: Screwdriver | ||
- id: Wirecutter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
Resources/Prototypes/_NF/Entities/Structures/Wallmounts/shelfs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Wall freezers | ||
- type: entity | ||
id: ShelfWallFreezerWhite | ||
parent: ShelfBaseReinforced | ||
name: wall freezer | ||
description: A convenient place to store perishables. | ||
suffix: Frontier, White | ||
components: | ||
- type: ExplosionResistance | ||
damageCoefficient: 0.50 | ||
- type: AntiRottingContainer | ||
- type: Sprite | ||
sprite: _NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.StorageVisualLayers.Base"] | ||
- state: food-0 | ||
map: ["enum.StorageFillLayers.Fill"] | ||
- state: closed | ||
map: ["enum.StorageVisualLayers.Door"] | ||
- state: locked | ||
map: ["enum.LockVisualLayers.Lock"] | ||
shader: unshaded | ||
- type: StorageFillVisualizer | ||
maxFillLevels: 10 | ||
fillBaseName: food | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 330 | ||
behaviors: | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalBreak | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
SheetPlasteel1: | ||
min: 0 | ||
max: 3 | ||
SheetPlastic1: | ||
min: 0 | ||
max: 3 | ||
ShardGlass: | ||
min: 0 | ||
max: 3 | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- type: Storage | ||
grid: | ||
- 0,0,5,1 | ||
- 0,3,5,4 | ||
- 0,6,5,6 | ||
maxItemSize: Normal | ||
- type: Construction | ||
graph: WallFreezer | ||
node: ShelfWallFreezerWhite | ||
|
||
- type: entity | ||
id: ShelfWallFreezerDark | ||
parent: ShelfWallFreezerWhite | ||
name: wall freezer | ||
suffix: Frontier, Dark | ||
components: | ||
- type: Sprite | ||
layers: | ||
- state: base | ||
map: ["enum.StorageVisualLayers.Base"] | ||
color: "#909090" | ||
- state: food-0 | ||
map: ["enum.StorageFillLayers.Fill"] | ||
- state: closed | ||
map: ["enum.StorageVisualLayers.Door"] | ||
color: "#909090" | ||
- state: locked | ||
map: ["enum.LockVisualLayers.Lock"] | ||
shader: unshaded | ||
- type: Construction | ||
graph: WallFreezer | ||
node: ShelfWallFreezerDark |
92 changes: 92 additions & 0 deletions
92
Resources/Prototypes/_NF/Recipes/Construction/Graphs/furniture/shelfs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
- type: constructionGraph | ||
id: WallFreezer | ||
start: start | ||
graph: | ||
- node: start | ||
actions: | ||
- !type:DeleteEntity {} | ||
edges: | ||
|
||
# White wall freezer | ||
- to: ShelfWallFreezerWhite | ||
completed: | ||
- !type:SnapToGrid | ||
steps: | ||
- material: Plasteel | ||
amount: 5 | ||
doAfter: 3 | ||
- material: Glass | ||
amount: 5 | ||
doAfter: 2 | ||
- material: Plastic | ||
amount: 5 | ||
doAfter: 2 | ||
- material: Cable | ||
amount: 3 | ||
doAfter: 1 | ||
# White wall freezer deconstructs | ||
- node: ShelfWallFreezerWhite | ||
entity: ShelfWallFreezerWhite | ||
edges: | ||
- to: start | ||
completed: | ||
- !type:EmptyAllContainers | ||
- !type:SpawnPrototype | ||
prototype: SheetPlasteel1 | ||
amount: 5 | ||
- !type:SpawnPrototype | ||
prototype: SheetPlastic1 | ||
amount: 5 | ||
- !type:SpawnPrototype | ||
prototype: SheetGlass1 | ||
amount: 5 | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 3 | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
- tool: Welding | ||
doAfter: 5 | ||
|
||
# Dark wall freezer | ||
- to: ShelfWallFreezerDark | ||
completed: | ||
- !type:SnapToGrid | ||
steps: | ||
- material: Plasteel | ||
amount: 5 | ||
doAfter: 3 | ||
- material: Glass | ||
amount: 5 | ||
doAfter: 2 | ||
- material: Plastic | ||
amount: 5 | ||
doAfter: 2 | ||
- material: Cable | ||
amount: 3 | ||
doAfter: 1 | ||
# Dark wall freezer deconstructs | ||
- node: ShelfWallFreezerDark | ||
entity: ShelfWallFreezerDark | ||
edges: | ||
- to: start | ||
completed: | ||
- !type:EmptyAllContainers | ||
- !type:SpawnPrototype | ||
prototype: SheetPlasteel1 | ||
amount: 5 | ||
- !type:SpawnPrototype | ||
prototype: SheetPlastic1 | ||
amount: 5 | ||
- !type:SpawnPrototype | ||
prototype: SheetGlass1 | ||
amount: 5 | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 3 | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
- tool: Welding | ||
doAfter: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Shelfs | ||
## Wall freezers | ||
- type: construction | ||
id: ShelfWallFreezerWhite | ||
name: wall freezer (white) | ||
description: A convenient place to store perishables. | ||
hide: true # TODO: Need freezer board added | ||
graph: WallFreezer | ||
startNode: start | ||
targetNode: ShelfWallFreezerWhite | ||
icon: | ||
sprite: _NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi | ||
state: base | ||
objectType: Structure | ||
placementMode: SnapgridCenter | ||
canBuildInImpassable: true | ||
conditions: | ||
- !type:WallmountCondition | ||
|
||
- type: construction | ||
id: ShelfWallFreezerDark | ||
name: wall freezer (dark) | ||
description: A convenient place to store perishables. | ||
hide: true # TODO: Need freezer board added | ||
graph: WallFreezer | ||
startNode: start | ||
targetNode: ShelfWallFreezerDark | ||
icon: | ||
sprite: _NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi | ||
state: base | ||
objectType: Structure | ||
placementMode: SnapgridCenter | ||
canBuildInImpassable: true | ||
conditions: | ||
- !type:WallmountCondition |
Binary file added
BIN
+362 Bytes
...ures/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+362 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+108 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+228 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+336 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+397 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+455 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+517 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+581 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+610 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+645 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+688 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/food-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+126 Bytes
...es/_NF/Structures/Storage/Shelfs/Departments/Service/wall_fridge.rsi/locked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.