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
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All rights reserved for the CrystallPunk14 project only",
|
||||
"copyright": "By jaraten(discord)",
|
||||
"copyright": "By jaraten(GitHub/discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
@@ -10,6 +10,12 @@
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "crushed_medium"
|
||||
},
|
||||
{
|
||||
"name": "crushed_low"
|
||||
},
|
||||
{
|
||||
"name": "stonebricks0",
|
||||
"directions": 4
|
||||
|
||||
Reference in New Issue
Block a user