Stone-brick wall crushed (#336)
This commit is contained in:
@@ -34,4 +34,38 @@
|
||||
- type: InteractionOutline
|
||||
- type: Construction
|
||||
graph: CP14WallWood
|
||||
node: FrameWooden
|
||||
node: FrameWooden
|
||||
|
||||
- type: entity
|
||||
id: CP14BaseCrushed
|
||||
parent: BaseStructure
|
||||
abstract: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wall
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
snapCardinals: true
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: crushed_medium
|
||||
- type: PlacementReplacement
|
||||
key: walls
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: false
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
density: 60
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- GlassAirlockLayer
|
||||
- type: InteractionOutline
|
||||
@@ -34,7 +34,78 @@
|
||||
- type: Construction
|
||||
graph: CP14WallStonebrick
|
||||
node: WallStonebrick
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 150
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WallStonebrickCrushedMedium:
|
||||
min: 1
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: entity ### Crushed Medium
|
||||
id: CP14WallStonebrickCrushedMedium
|
||||
name: stone brick wall
|
||||
parent: CP14BaseCrushed
|
||||
suffix: CrushedMedium
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: crushed_medium
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: crushed_medium
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: false
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WallStonebrickCrushedLow:
|
||||
min: 1
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: entity ### Crushed Low
|
||||
id: CP14WallStonebrickCrushedLow
|
||||
name: stone brick wall
|
||||
parent: CP14BaseCrushed
|
||||
suffix: CrushedLow
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: crushed_low
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: crushed_low
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: false
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: entity
|
||||
id: CP14WallWhitebrick
|
||||
|
||||
Reference in New Issue
Block a user