From 4b078f50ad2e0520c0cc27a99f6c43fd3ee76233 Mon Sep 17 00:00:00 2001 From: BIGZi0348 Date: Sat, 21 Dec 2024 14:19:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=B8=D1=80=D0=BB=D1=8F=D0=BD=D0=B4?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_white/structures/christmas_lights.ftl | 2 + .../Decoration/christmas_lights.yml | 39 ++++++++++++++++++ .../Decoration/christmas_lights.rsi/icon.png | Bin 0 -> 577 bytes .../Decoration/christmas_lights.rsi/meta.json | 17 ++++++++ .../christmas_lights.rsi/unshaded.png | Bin 0 -> 247 bytes 5 files changed, 58 insertions(+) create mode 100644 Resources/Locale/ru-RU/_white/structures/christmas_lights.ftl create mode 100644 Resources/Prototypes/_White/Entities/Structures/Decoration/christmas_lights.yml create mode 100644 Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/icon.png create mode 100644 Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/meta.json create mode 100644 Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/unshaded.png diff --git a/Resources/Locale/ru-RU/_white/structures/christmas_lights.ftl b/Resources/Locale/ru-RU/_white/structures/christmas_lights.ftl new file mode 100644 index 0000000000..f31721ad5f --- /dev/null +++ b/Resources/Locale/ru-RU/_white/structures/christmas_lights.ftl @@ -0,0 +1,2 @@ +ent-ChristmasLights = новогодние гирлянды + .desc = Чувство праздника. diff --git a/Resources/Prototypes/_White/Entities/Structures/Decoration/christmas_lights.yml b/Resources/Prototypes/_White/Entities/Structures/Decoration/christmas_lights.yml new file mode 100644 index 0000000000..dd5255fddb --- /dev/null +++ b/Resources/Prototypes/_White/Entities/Structures/Decoration/christmas_lights.yml @@ -0,0 +1,39 @@ +- type: entity + id: ChristmasLights + name: christmas lights + description: Feeling jolly. + placement: + mode: SnapgridCenter + components: + - type: Clickable + - type: Appearance + - type: Sprite + drawdepth: WallMountedItems + sprite: White/Structures/Decoration/christmas_lights.rsi + layers: + - state: icon + - state: unshaded + shader: unshaded + - type: Icon + sprite: White/Structures/Decoration/christmas_lights.rsi + state: icon + - type: Transform + anchored: true + - type: Damageable + damageContainer: StructuralInorganic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 20 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + - !type:DoActsBehavior + acts: ["Destruction"] + - type: MeleeSound + soundGroups: + Brute: + path: + "/Audio/Weapons/smash.ogg" diff --git a/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/icon.png b/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..05ddc057e4df30aa45648a4cdb61170ab0f4d191 GIT binary patch literal 577 zcmV-H0>1r;P)|}q@w7V_scntu_KYGgTcb}OIeZ|R2EFr`fg)qnVrs8cZA^8_s03P2u0-$)T z40@`TEx2nA={KiXwlEzlu|#l=`pk-lqYO2pJ|t7jv~#BboS%tKhCY@p;;uQE%VV34 zRXbh-w^kQG!u^OPLbb8_WeV(Y@u>sc=;+Q(D52lDjTNbz~b{W!F%7p zt<{4`?;(`~GuyYB1=W)b05_9}HwWadIdZq&1%l21Ddh~$zOSoWtIM4Ss~Xx>${7l* z>UJM0Wg~?rJ`30VnN2CPLUrdNcfJ|F0QghnoAKZh{*EL9fmNSAd=vn0V~GN%S}Gd} z;dsc;W&(TX8@e2#s()j+^7w5BB7g`W0*C-2fCwN0hyWsh2p|IZ?*M)Pc3`=0o8+)I P00000NkvXXu0mjfuSoU7 literal 0 HcmV?d00001 diff --git a/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/meta.json b/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/meta.json new file mode 100644 index 0000000000..e337197eae --- /dev/null +++ b/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/meta.json @@ -0,0 +1,17 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "unshaded" + } + ] +} diff --git a/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/unshaded.png b/Resources/Textures/White/Structures/Decoration/christmas_lights.rsi/unshaded.png new file mode 100644 index 0000000000000000000000000000000000000000..5813305f386dca5fc5bff45ab107d3842f9c3faf GIT binary patch literal 247 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz&H|6fVg?4jBOuH;Rhv&5D7ezo z#W5tJ_3flUu0swyF6y&`E7<;iI3KsPU2sot_{ZbfH-b-mSsYM)J@)o3B@SbO8@!62 zg_2Z08khRLnJ2b<4cCKn-)gql)b72L{##N?X!~}#P7l7195VN}a$GjO@wwRd3bW0| zeT_SX*Mw+D$vZG;%ql;(gN@V976k@I5c5ZMgIvB!+lHwXaxFkdGkCiCxvXv literal 0 HcmV?d00001