Regular boxes are now destructible (#16300)
This commit is contained in:
@@ -14025,7 +14025,7 @@ entities:
|
||||
- pos: -34.5,17.5
|
||||
parent: 8364
|
||||
type: Transform
|
||||
- proto: BaseBigBox
|
||||
- proto: BigBox
|
||||
entities:
|
||||
- uid: 25967
|
||||
components:
|
||||
|
||||
@@ -27622,7 +27622,7 @@ entities:
|
||||
- pos: -23.5,33.5
|
||||
parent: 13329
|
||||
type: Transform
|
||||
- proto: BaseBigBox
|
||||
- proto: BigBox
|
||||
entities:
|
||||
- uid: 11622
|
||||
components:
|
||||
|
||||
@@ -18249,7 +18249,7 @@ entities:
|
||||
pos: -11.5,24.5
|
||||
parent: 82
|
||||
type: Transform
|
||||
- proto: BaseBigBox
|
||||
- proto: BigBox
|
||||
entities:
|
||||
- uid: 10063
|
||||
components:
|
||||
|
||||
@@ -21539,7 +21539,7 @@ entities:
|
||||
- pos: 33.5,48.5
|
||||
parent: 2
|
||||
type: Transform
|
||||
- proto: BaseBigBox
|
||||
- proto: BigBox
|
||||
entities:
|
||||
- uid: 1961
|
||||
components:
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
- 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
|
||||
@@ -61,32 +62,29 @@
|
||||
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
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
|
||||
|
||||
- node: basebigbox
|
||||
entity: BaseBigBox
|
||||
entity: BigBox
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
- type: construction
|
||||
name: cardboard box
|
||||
id: BaseBigBox
|
||||
id: BigBox
|
||||
graph: BaseBigBox
|
||||
startNode: start
|
||||
targetNode: basebigbox
|
||||
@@ -51,4 +51,4 @@
|
||||
category: construction-category-storage
|
||||
description: A small box for storing things.
|
||||
icon: { sprite: Objects/Storage/boxes.rsi, state: box }
|
||||
objectType: Item
|
||||
objectType: Item
|
||||
|
||||
Reference in New Issue
Block a user