Regular boxes are now destructible (#16300)
This commit is contained in:
@@ -14025,7 +14025,7 @@ entities:
|
|||||||
- pos: -34.5,17.5
|
- pos: -34.5,17.5
|
||||||
parent: 8364
|
parent: 8364
|
||||||
type: Transform
|
type: Transform
|
||||||
- proto: BaseBigBox
|
- proto: BigBox
|
||||||
entities:
|
entities:
|
||||||
- uid: 25967
|
- uid: 25967
|
||||||
components:
|
components:
|
||||||
|
|||||||
@@ -27622,7 +27622,7 @@ entities:
|
|||||||
- pos: -23.5,33.5
|
- pos: -23.5,33.5
|
||||||
parent: 13329
|
parent: 13329
|
||||||
type: Transform
|
type: Transform
|
||||||
- proto: BaseBigBox
|
- proto: BigBox
|
||||||
entities:
|
entities:
|
||||||
- uid: 11622
|
- uid: 11622
|
||||||
components:
|
components:
|
||||||
|
|||||||
@@ -18249,7 +18249,7 @@ entities:
|
|||||||
pos: -11.5,24.5
|
pos: -11.5,24.5
|
||||||
parent: 82
|
parent: 82
|
||||||
type: Transform
|
type: Transform
|
||||||
- proto: BaseBigBox
|
- proto: BigBox
|
||||||
entities:
|
entities:
|
||||||
- uid: 10063
|
- uid: 10063
|
||||||
components:
|
components:
|
||||||
|
|||||||
@@ -21539,7 +21539,7 @@ entities:
|
|||||||
- pos: 33.5,48.5
|
- pos: 33.5,48.5
|
||||||
parent: 2
|
parent: 2
|
||||||
type: Transform
|
type: Transform
|
||||||
- proto: BaseBigBox
|
- proto: BigBox
|
||||||
entities:
|
entities:
|
||||||
- uid: 1961
|
- uid: 1961
|
||||||
components:
|
components:
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
id: BaseBigBox
|
id: BaseBigBox
|
||||||
name: cardboard box
|
name: cardboard box #it's still just a box
|
||||||
description: Huh? Just a box...
|
description: Huh? Just a box...
|
||||||
|
abstract: true
|
||||||
components:
|
components:
|
||||||
- type: Transform
|
- type: Transform
|
||||||
noRot: true
|
noRot: true
|
||||||
@@ -61,32 +62,29 @@
|
|||||||
id: StealthBox
|
id: StealthBox
|
||||||
suffix: stealth
|
suffix: stealth
|
||||||
parent: BaseBigBox
|
parent: BaseBigBox
|
||||||
name: cardboard box #it's still just a box
|
|
||||||
description: Kept ya waiting, huh?
|
description: Kept ya waiting, huh?
|
||||||
components:
|
components:
|
||||||
- type: CardboardBox
|
|
||||||
effectSound: /Audio/Effects/chime.ogg
|
|
||||||
- type: Damageable
|
- type: Damageable
|
||||||
damageContainer: Box
|
|
||||||
damageModifierSet: FlimsyMetallic #Syndicate boxes should have a bit of protection
|
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: Stealth
|
||||||
- type: StealthOnMove
|
- type: StealthOnMove
|
||||||
passiveVisibilityRate: -0.37
|
passiveVisibilityRate: -0.37
|
||||||
movementVisibilityRate: 0.20
|
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
|
#For admin spawning only
|
||||||
- type: entity
|
- type: entity
|
||||||
id: GhostBox
|
id: GhostBox
|
||||||
|
|||||||
@@ -12,4 +12,4 @@
|
|||||||
|
|
||||||
|
|
||||||
- node: basebigbox
|
- node: basebigbox
|
||||||
entity: BaseBigBox
|
entity: BigBox
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: cardboard box
|
name: cardboard box
|
||||||
id: BaseBigBox
|
id: BigBox
|
||||||
graph: BaseBigBox
|
graph: BaseBigBox
|
||||||
startNode: start
|
startNode: start
|
||||||
targetNode: basebigbox
|
targetNode: basebigbox
|
||||||
@@ -51,4 +51,4 @@
|
|||||||
category: construction-category-storage
|
category: construction-category-storage
|
||||||
description: A small box for storing things.
|
description: A small box for storing things.
|
||||||
icon: { sprite: Objects/Storage/boxes.rsi, state: box }
|
icon: { sprite: Objects/Storage/boxes.rsi, state: box }
|
||||||
objectType: Item
|
objectType: Item
|
||||||
|
|||||||
Reference in New Issue
Block a user