- type: entity
id: BaseBigBox
- name: cardboard box
+ name: cardboard box #it's still just a box
description: Huh? Just a box...
+ abstract: true
components:
- type: Transform
noRot: true
id: StealthBox
suffix: stealth
parent: BaseBigBox
- name: cardboard box #it's still just a box
description: Kept ya waiting, huh?
components:
- - type: CardboardBox
- effectSound: /Audio/Effects/chime.ogg
- type: Damageable
- damageContainer: Box
damageModifierSet: FlimsyMetallic #Syndicate boxes should have a bit of protection
- - type: Sprite
- noRot: true
- netsync: false
- sprite: Structures/Storage/closet.rsi
- layers:
- - state: agentbox
- - state: cardboard_open
- map: ["enum.StorageVisualLayers.Door"]
- - type: Appearance
- visuals:
- - type: StorageVisualizer
- state: agentbox
- state_open: cardboard_open
- type: Stealth
- type: StealthOnMove
passiveVisibilityRate: -0.37
movementVisibilityRate: 0.20
+- type: entity
+ id: BigBox
+ parent: BaseBigBox
+ components:
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 15
+ behaviors:
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+
+
#For admin spawning only
- type: entity
id: GhostBox
- type: construction
name: cardboard box
- id: BaseBigBox
+ id: BigBox
graph: BaseBigBox
startNode: start
targetNode: basebigbox
category: construction-category-storage
description: A small box for storing things.
icon: { sprite: Objects/Storage/boxes.rsi, state: box }
- objectType: Item
\ No newline at end of file
+ objectType: Item