- type: entity
- parent: [BaseStructureDynamic, BaseItemCabinetGlass]
+ parent: BaseStructureDynamic
id: BaseGlassBox
abstract: true
components:
+ - type: Sprite
+ noRot: true
+ sprite: Structures/Storage/glassbox.rsi
- type: Transform
anchored: true
- type: Physics
delay: 4
- type: entity
+ parent: [BaseGlassBox, BaseItemCabinetGlass]
id: GlassBox
name: glass box
description: A sturdy showcase for an expensive exhibit.
- parent: BaseGlassBox
abstract: true # TODO: Temporarily abstract. Remove it after item scaling in cabinets is implemented.
components:
- type: Sprite
- noRot: true
- sprite: Structures/Storage/glassbox.rsi
layers:
- state: base
- state: caplaser # TODO: Remove it after item scaling in cabinets is implemented.
map: ["enum.ItemCabinetVisuals.Layer"]
- visible: true
+ visible: false
- state: glass
map: ["enum.OpenableVisuals.Layer"]
- state: locked
acts: [ "Destruction" ]
- type: entity
- id: GlassBoxLaser
parent: GlassBox
+ id: GlassBoxLaser
suffix: AntiqueLaser
components:
- type: AccessReader
ejectSound: /Audio/Machines/machine_switch.ogg
- type: entity
- id: GlassBoxLaserOpen
parent: GlassBoxLaser
+ id: GlassBoxLaserOpen
suffix: AntiqueLaser, Open
components:
- type: Openable
locked: false
- type: entity
- id: GlassBoxLaserFilled
parent: GlassBoxLaser
+ id: GlassBoxLaserFilled
suffix: AntiqueLaser, Filled
components:
- type: ContainerFill
suffix: AntiqueLaser, Filled, Open
- type: entity
+ parent: BaseGlassBox
id: GlassBoxFrame
name: glass box frame
description: A glassless sturdy showcase for an expensive exhibit.
- parent: BaseGlassBox
suffix: Frame
components:
- type: Sprite
- noRot: true
- sprite: Structures/Storage/glassbox.rsi
layers:
- state: base
- type: Construction
acts: ["Destruction"]
- type: entity
+ parent: GlassBoxFrame
id: GlassBoxBroken
name: broken glass box
description: A broken showcase for a stolen expensive exhibit.
- parent: GlassBoxFrame
suffix: Broken
components:
- type: Sprite
- sprite: Structures/Storage/glassbox.rsi
layers:
- state: base
- state: glass-broken