From 569f2a58a9db8ae1f70e07e9c62400a0309ba6af Mon Sep 17 00:00:00 2001 From: Ed Date: Fri, 29 Mar 2024 16:54:11 +0300 Subject: [PATCH] add testing long wall --- .../Structures/Walls/base_long_wall.yml | 60 ++++++++++++++++++ .../Structures/Walls/testwall.rsi/meta.json | 14 ++++ .../Structures/Walls/testwall.rsi/test.png | Bin 0 -> 185 bytes 3 files changed, 74 insertions(+) create mode 100644 Resources/Prototypes/CrystallPunk/Entities/Structures/Walls/base_long_wall.yml create mode 100644 Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/meta.json create mode 100644 Resources/Textures/CrystallPunk/Structures/Walls/testwall.rsi/test.png 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 0000000000000000000000000000000000000000..e67656a384717929a9b13548069b435aeb5dbd32 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^3P5bY!3HD?)>PyJDaPU;cPEB*=VV?2ImMnXjv*1P zZ*OembqEk?edv6TL*-Dk<3fdrGbUaWnc_BKLz`0~dzAE?XZGBG;){0A?z#Nu)D8tt z*E2dFe^*V3I<=n>XbKD{h!_UPh1nh0mGf%%HKF_cm+P5eQVa}b4ngM4Ut|9>PL1b{ T$guk(0h01`^>bP0l+XkKh)z5u literal 0 HcmV?d00001