diff --git a/Resources/Prototypes/CrystallPunk/Entities/Structures/Walls/base_long_wall.yml b/Resources/Prototypes/CrystallPunk/Entities/Structures/Walls/base_long_wall.yml new file mode 100644 index 0000000000..f425a2b62d --- /dev/null +++ b/Resources/Prototypes/CrystallPunk/Entities/Structures/Walls/base_long_wall.yml @@ -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 \ No newline at end of file diff --git a/Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/meta.json b/Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/meta.json new file mode 100644 index 0000000000..d976860e02 --- /dev/null +++ b/Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "lol no license", + "size": { + "x": 32, + "y": 48 + }, + "states": [ + { + "name": "test" + } + ] +} diff --git a/Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/test.png b/Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/test.png new file mode 100644 index 0000000000..e67656a384 Binary files /dev/null and b/Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/test.png differ