smartfridge semi functional (#22443)
* smartfridge * leftovers from when it was powered * real
@@ -0,0 +1,94 @@
|
||||
- type: entity
|
||||
parent: BaseStructureDynamic
|
||||
id: SmartFridge
|
||||
name: SmartFridge
|
||||
description: A refrigerated storage unit for keeping items cold and fresh.
|
||||
components:
|
||||
- type: Advertise
|
||||
pack: SmartFridgeAds
|
||||
- type: Speech
|
||||
- type: Appearance
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/smartfridge.rsi
|
||||
snapCardinals: true
|
||||
layers:
|
||||
- state: smartfridge
|
||||
map: ["enum.StorageVisualLayers.Base"]
|
||||
- state: smartfridge_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
shader: unshaded
|
||||
- type: EntityStorageVisuals
|
||||
stateBaseClosed: smartfridge
|
||||
stateDoorOpen: smartfridge_open
|
||||
stateDoorClosed: smartfridge_door
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#9dc5c9"
|
||||
- type: EntityStorage
|
||||
isCollidableWhenOpen: true
|
||||
closeSound:
|
||||
path: /Audio/Machines/windoor_open.ogg
|
||||
params:
|
||||
volume: -3
|
||||
openSound:
|
||||
path: /Audio/Machines/windoor_open.ogg
|
||||
params:
|
||||
volume: -3
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
entity_storage: !type:Container
|
||||
- type: UseDelay
|
||||
delay: 1
|
||||
- type: AntiRottingContainer
|
||||
- type: ResistLocker
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Transform
|
||||
noRot: true
|
||||
anchored: True
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MachineLayer
|
||||
density: 200
|
||||
- type: Anchorable
|
||||
delay: 2
|
||||
- type: InteractionOutline
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Breakage"]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 200
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
path: /Audio/Effects/bang.ogg
|
||||
@@ -891,37 +891,6 @@
|
||||
- type: AccessReader
|
||||
access: [["Hydroponics"]]
|
||||
|
||||
- type: entity
|
||||
parent: VendingMachine
|
||||
id: VendingMachineSmartFridge
|
||||
name: SmartFridge
|
||||
description: A refrigerated storage unit for keeping items cold and fresh.
|
||||
components:
|
||||
- type: VendingMachine
|
||||
pack: SmartFridgeInventory
|
||||
offState: off
|
||||
brokenState: broken
|
||||
normalState: normal-unshaded
|
||||
denyState: deny-unshaded
|
||||
loopDeny: false
|
||||
- type: Advertise
|
||||
pack: SmartFridgeAds
|
||||
- type: Speech
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/VendingMachines/smartfridge.rsi
|
||||
layers:
|
||||
- state: off
|
||||
map: ["enum.VendingMachineVisualLayers.Base"]
|
||||
- state: off
|
||||
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
|
||||
shader: unshaded
|
||||
- state: panel
|
||||
map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#9dc5c9"
|
||||
|
||||
- type: entity
|
||||
parent: VendingMachine
|
||||
id: VendingMachineSnack
|
||||
@@ -2034,4 +2003,4 @@
|
||||
ejectDelay: 2
|
||||
- type: AccessReader
|
||||
access: [["SyndicateAgent"]]
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 315 B |
|
Before Width: | Height: | Size: 437 B |
|
Before Width: | Height: | Size: 556 B |
@@ -1,65 +0,0 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/1516a728931b4985c1e86f0c5995a5aa1554a1ad and modified by Swept",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "fill-0"
|
||||
},
|
||||
{
|
||||
"name": "fill-1"
|
||||
},
|
||||
{
|
||||
"name": "fill-2"
|
||||
},
|
||||
{
|
||||
"name": "fill-3"
|
||||
},
|
||||
{
|
||||
"name": "broken"
|
||||
},
|
||||
{
|
||||
"name": "deny-unshaded",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "normal-unshaded",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "on"
|
||||
},
|
||||
{
|
||||
"name": "off"
|
||||
},
|
||||
{
|
||||
"name": "panel"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/1516a728931b4985c1e86f0c5995a5aa1554a1ad and modified by Swept, modified by emisse for ss14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "smartfridge_open"
|
||||
},
|
||||
{
|
||||
"name": "smartfridge"
|
||||
},
|
||||
{
|
||||
"name": "off"
|
||||
},
|
||||
{
|
||||
"name": "broken"
|
||||
},
|
||||
{
|
||||
"name": "smartfridge_door"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 863 B |
|
After Width: | Height: | Size: 570 B |
|
After Width: | Height: | Size: 562 B |
@@ -97,3 +97,6 @@ SpawnPointSeniorPhysician: null
|
||||
# 2023-12-12
|
||||
#No this is not the CMO hardsuit, their prototype IDs were just confusingly similar
|
||||
ClothingOuterHardsuitMedic: ClothingOuterHardsuitSyndieMedic
|
||||
|
||||
# 2023-12-13
|
||||
VendingMachineSmartFridge: SmartFridge
|
||||
|
||||