add testing long wall

This commit is contained in:
Ed
2024-03-29 16:54:11 +03:00
parent f02f4ab55c
commit 569f2a58a9
3 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
- type: entity
abstract: true
parent: BaseStructure
id: BaseLongWall
name: стена
description: Это стена. Она достаточно прочная, чтобы укрыть вас от угроз.
placement:
mode: SnapgridCenter
snap:
- Wall
components:
- type: Transform
noRot: true
- type: RangedDamageSound
soundGroups:
Brute:
collection:
MetalBulletImpact
soundTypes:
Heat:
collection:
MetalLaserImpact
- type: Tag
tags:
- Wall
- type: Sprite
drawdepth: Overdoors
offset: 0,0.2
snapCardinals: true
#- type: Icon
# state: full
- type: PlacementReplacement
key: walls
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: StructuralMetallic
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
mask:
- FullTileMask
layer:
- WallLayer
density: 1000
- type: Occluder
- type: Airtight
- type: BlockWeather
- type: entity
parent: BaseLongWall
id: TestLongWall
components:
- type: Sprite
sprite: CrystallPunk/Structures/Walls/testwall.rsi
state: test

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "lol no license",
"size": {
"x": 32,
"y": 48
},
"states": [
{
"name": "test"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B