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

New Freezer #2520

Merged
merged 3 commits into from
Feb 3, 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,15 @@
ent-LockerFreezerDouble = двойной холодильник
.desc = Большой холодильник, большое мясо!
.suffix = Кухня, Закрыт
ent-LockerFreezerDoubleBase = двойной холодильник
.desc = Большой холодильник, большое мясо!
.suffix = Без доступа
ent-LockerFreezerMini = мини холодильник
.desc = Маленький холодильник.
.suffix = Кухня, Закрыт
ent-LockerFreezerMiniBar = мини холодильник
.desc = Маленький холодильник.
.suffix = Бар, Закрыт
ent-LockerFreezerMiniBase = мини холодильник
.desc = Маленький холодильник.
.suffix = Без доступа
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@
stateDoorOpen: medsteel_open
stateDoorClosed: magistrate_door
- type: AccessReader
access: [ [ "Magistrate" ] ]
access: [ [ "Magistrate" ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,34 @@
stateDoorClosed: armory_gun_door
- type: AccessReader
access: [["Armory"]]

# Kitchen

- type: entity
id: LockerFreezerDoubleBase
parent: LockerDoubleBase
name: double freezer
suffix: No Access
components:
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: freezer
stateDoorOpen: freezer_open
stateDoorClosed: freezer_door
- type: ExplosionResistance
damageCoefficient: 0.50
- type: AntiRottingContainer
- type: Construction
graph: ClosetFreezer
node: done
containers:
- entity_storage

- type: entity
id: LockerFreezerDouble
parent: LockerFreezerDoubleBase
name: double freezer
suffix: Kitchen, Locked
components:
- type: AccessReader
access: [ [ "Kitchen" ] ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt
# Base
- type: entity
id: LockerFreezerMiniBase
parent: LockerBase
name: mini freezer
suffix: No Access
components:
- type: Sprite
sprite: SS220/Structures/Storage/mini_closet.rsi
layers:
- state: minifreezer
map: ["enum.StorageVisualLayers.Base"]
- state: minifreezer_open
map: ["enum.StorageVisualLayers.Door"]
- state: locked
map: ["enum.LockVisualLayers.Lock"]
shader: unshaded
- state: welded
visible: false
map: ["enum.WeldableLayers.BaseWelded"]
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,0.20,0.25,-0.50"
density: 75
mask:
- MachineMask
layer:
- MachineLayer
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: minifreezer
stateDoorOpen: minifreezer_open
stateDoorClosed: minifreezer_door
- type: AccessReader
- type: ExplosionResistance
damageCoefficient: 0.50
- type: AntiRottingContainer
- type: Construction
graph: ClosetFreezer
node: done
containers:
- entity_storage

- type: entity
id: LockerFreezerMini
parent: LockerFreezerMiniBase
name: mini freezer
suffix: Kitchen, Locked
components:
- type: AccessReader
access: [ [ "Kitchen" ] ]

- type: entity
id: LockerFreezerMiniBar
parent: LockerFreezerMiniBase
name: mini freezer
suffix: Kitchen, Locked
components:
- type: AccessReader
access: [ [ "Bar" ] ]
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
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.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
{
"name": "fire_open"
},
{
"name": "freezer"
},
{
"name": "freezer_door"
},
{
"name": "freezer_open"
},
{
"name": "wardrobe_open"
},
Expand Down
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
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,41 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"copyright": "Created by kit0vras (Discord) for SS220",
"license": "CC-BY-SA-3.0",
"states": [
{
"name": "minifreezer"
},
{
"name": "minifreezer_open"
},
{
"name": "minifreezer_door"
},
{
"name": "bounty"
},
{
"name": "captains_paper"
},
{
"name": "invoice"
},
{
"name": "paper"
},
{
"name": "locked"
},
{
"name": "unlocked"
},
{
"name": "welded"
}
]
}
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
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