From 4d7acee855f7d91baf5598b59d1c88688a077fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Sun, 21 Jul 2024 16:02:53 +0300 Subject: [PATCH 01/10] Add new highrisk to quartermaster --- .../WeaponRandom/WeaponRandomComponent.cs | 2 +- .../Weapons/brassKnukles/attributions.yml | 4 ++ .../Weapons/brassKnukles/critical-hit.ogg | Bin 0 -> 14134 bytes .../ru-RU/ss220/weapons/brass_knuckles.ftl | 2 + .../Entities/Weapons/Melee/brass_knuckles.yml | 37 ++++++++++++++++++ .../brass_knuckles.rsi/equipped-HAND.png | Bin 0 -> 287 bytes .../Weapons/Melee/brass_knuckles.rsi/icon.png | Bin 0 -> 369 bytes .../Melee/brass_knuckles.rsi/inhand-left.png | Bin 0 -> 271 bytes .../Melee/brass_knuckles.rsi/inhand-right.png | Bin 0 -> 287 bytes .../Melee/brass_knuckles.rsi/meta.json | 26 ++++++++++++ 10 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 Resources/Audio/SS220/Weapons/brassKnukles/attributions.yml create mode 100644 Resources/Audio/SS220/Weapons/brassKnukles/critical-hit.ogg create mode 100644 Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl create mode 100644 Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml create mode 100644 Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/equipped-HAND.png create mode 100644 Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/icon.png create mode 100644 Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-left.png create mode 100644 Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-right.png create mode 100644 Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json diff --git a/Content.Server/Weapons/Melee/WeaponRandom/WeaponRandomComponent.cs b/Content.Server/Weapons/Melee/WeaponRandom/WeaponRandomComponent.cs index ef15498a700563..4ee5212ae7176e 100644 --- a/Content.Server/Weapons/Melee/WeaponRandom/WeaponRandomComponent.cs +++ b/Content.Server/Weapons/Melee/WeaponRandom/WeaponRandomComponent.cs @@ -16,7 +16,7 @@ internal sealed partial class WeaponRandomComponent : Component /// /// Chance for the damage bonus to occur (1 = 100%). /// - [ViewVariables(VVAccess.ReadWrite)] + [DataField("randomDamageChance"), ViewVariables(VVAccess.ReadWrite)] // SS220 add DataField public float RandomDamageChance = 0.00001f; /// diff --git a/Resources/Audio/SS220/Weapons/brassKnukles/attributions.yml b/Resources/Audio/SS220/Weapons/brassKnukles/attributions.yml new file mode 100644 index 00000000000000..e25fb0f8cb710b --- /dev/null +++ b/Resources/Audio/SS220/Weapons/brassKnukles/attributions.yml @@ -0,0 +1,4 @@ +- files: ["critical-hit.ogg"] + license: "CC-BY-4.0" + copyright: "Modified by kirus59 (Github), converted to OGG." + source: "https://wiki.teamfortress.com/wiki/Category:Sound_cues" diff --git a/Resources/Audio/SS220/Weapons/brassKnukles/critical-hit.ogg b/Resources/Audio/SS220/Weapons/brassKnukles/critical-hit.ogg new file mode 100644 index 0000000000000000000000000000000000000000..49a8585cef4a386377a6fccccc5145ad53b74d45 GIT binary patch literal 14134 zcmeIZXH-+o*Ef6;0wmM`0RvJ31SBCS2qHx=fzW#(bfhCeK)Q;k0Ro01(#24umr$gG zh>8?N5u}4478EI>7hX2(&q4q7`EtK&-S4M&y|X5hJ$v?){hK-a?3qk#jvloKpuj(Z zKo4Ke4jG0}T82nNVva}n&?0vjP;$f07XZ*ZAiux6AvQZT{}py>?vw;yymwt_`qzI4 zZjL`K@q+@E-Z23OwDum<+^eRl$^|ko;Kx7I_qd;bgdSMv3l^%WYwVO_f@wZ~Dk4Fd z5bvPl5uQE~-l2Yae%_IRf;&7~D9DTPkBFol57kqZ09n4rL&ChHXg5GqJsVP z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Do_hV-p_J8REsqK%&q_dI$-rSi&zPvBU+!V^tn!s7YIvao8Vlh98pd>rP| z2aD+%R<^M);(Uf72Q5Cz}; zTE0Skm+`e6U&DekrTipcaxqj&fhYNdHzoPPH>|_^jmkUx*q_^T*FLgD6vc{?R_av) z$+xj1;PpQqBE-%ukJB!~*56%2Aqo6*h$hlOr~_)a#`N)BezC#u_Ifl^Y_AYOmqPN4 zC`Jd;zO*@%v9sr)zc&)8ga4g<8D=zv*U7`pQD<#ywBE71i!!GHV&WA zhQ?i1fBDrh27+w92Q}o@p!5IqCv+{I;o+WpC3ofhb7hy%&))l=D%xk$5M8a;k$QQ^qtoD=;2`)9)*5%X5{kL9>og@z%S2+TMAbcb*5hNY-*66S zfI6h&ggyh9IVfrv6aR=8F5lt|Fsna@2PvT@GdL!4zC3fz_RnnYkCyx^?2YtI{Hcp8 z!TrVZ1Vmv-I`8_05V=--uN&HA#VknIVrkM%R&yVx?biB?BhR3(Qcm6y2 z(XEvPA*8U+!2{~u6Q%2>;8lI_PL)_pU-8X!5uOp~+2f~w%_jZmIFZ55%N8m5g~Fbm z3dCDzrP_dfLqV%jN*H4sn zf9?8lYGSRrEXL07^1@JDy2^(=Asv_;J6|pwQF8k8llL=`C(UBnZO1-8r7cy5J}P@?^)d5;JPyX_4!j-BM{mrrK++Xv{=V~>G2~*u}*DJe!kzT#S_#RKR zD+k8fF$w&Bsm+jVf_O%spupp^swWDLAi2l;p6~Cgh9H4I!|eeCRKal*JbR!!ck=!_ I2>e(0Ki7r>xBvhE literal 0 HcmV?d00001 diff --git a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl new file mode 100644 index 00000000000000..28f20aeb26fe6f --- /dev/null +++ b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl @@ -0,0 +1,2 @@ +ent-BrassKnuckles = гравированый кастет + .desc = Оружие, излюбленное специалистами синдиката, предпочитающими работать скрытно. diff --git a/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml b/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml new file mode 100644 index 00000000000000..8f1b982a0ffaa8 --- /dev/null +++ b/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml @@ -0,0 +1,37 @@ +# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt + +- type: entity + name: brass knuckles + parent: BaseItem + id: BrassKnuckles + description: кастет + components: + - type: Sprite + sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + state: icon + - type: Clothing + sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + slots: [gloves] + - type: Item + size: Small + storedRotation: -90 + - type: MeleeWeapon + autoAttack: true + attackRate: 1 + damage: + types: + Blunt: 10 + Stamina: 28 + soundHit: + collection: GenericHit + animation: WeaponArcFist + mustBeEquippedToUse: true + - type: WeaponRandom + damageBonus: + types: + Blunt: 10 + Stamina: 72 # 28 + 72 = 100 => куклу без стаминрезиста сразу ложит в стаминкрит + randomDamageChance: 0.2 + damageSound: /Audio/SS220/Weapons/brassKnukles/critical-hit.ogg + - type: StaticPrice + price: 1000 diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/equipped-HAND.png b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/equipped-HAND.png new file mode 100644 index 0000000000000000000000000000000000000000..2dfed123130ff911d902e904942a61eb389f8a1f GIT binary patch literal 287 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=XFOdTLn;{G-rC69Y#_iI;C3=9 zQe8V`O^N0V1?46CPk7`BoLwl~x759v=f|JFKI!`1-3*LOEF1y~4h?X|frSTN7j_>O zum85eCcS2!;Qj9+liz1w{Iu=P-r8SsuWM)5cy7F``APQoqOE^^-rFsw>RM*HKI7c1 z-(1qkCbP0l+XkKq26I% literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/icon.png b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4684d65499e8552742dff70fb29655dfc75fbd95 GIT binary patch literal 369 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=hEVFv@wlIEF-Uz76r@J7mD~M!JIW z{;TpIOzCk)*0$f9SmE^E?Qxn?@=UYXJPA%q$$r~&Dp}W`>dShtUurB#XlDMjuiK|N zL#Em>vn4m~6@vd$@?2>=+KnJ54N literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-left.png b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-left.png new file mode 100644 index 0000000000000000000000000000000000000000..8b89ab1a58655e7b65f775535ad7c409cf39a821 GIT binary patch literal 271 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=dpunnLn;{G-rC69V!*>1;FhR+ zZKtTjYb!3b9fB`vy(UgNWhnF^LrL-H@k-6dnV$p|92yuHnOHak;0zDW8vEiUOnzOf zi~P5p{@a(_{bQ}OLX_X>)1@VarTJFhRIgU7mhY_8bpG~X@6A9<+w)%NM!?MiF&d+} z?quaH@Y-R&aKBjc6&t6ktW%$FlWe+vuWsi$UYN!HqCc1)uJLNz_`Pux&>wuM5uRzj az6@GGHU|)cz@^~HAj;F#&t;ucLK6UgD^{TZ literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-right.png b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-right.png new file mode 100644 index 0000000000000000000000000000000000000000..2dfed123130ff911d902e904942a61eb389f8a1f GIT binary patch literal 287 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=XFOdTLn;{G-rC69Y#_iI;C3=9 zQe8V`O^N0V1?46CPk7`BoLwl~x759v=f|JFKI!`1-3*LOEF1y~4h?X|frSTN7j_>O zum85eCcS2!;Qj9+liz1w{Iu=P-r8SsuWM)5cy7F``APQoqOE^^-rFsw>RM*HKI7c1 z-(1qkCbP0l+XkKq26I% literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json new file mode 100644 index 00000000000000..d6658782ccae3d --- /dev/null +++ b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from https://github.com/ss220club/Paradise-SS220/blob/master/icons/obj/weapons/knuckleduster.dmi, modifided by okroshka59 (Discord) from SS220", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "equipped-HAND", + "directions": 4 + }, + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + } + ] +} From 5fb91061c76d65cf3b2525bfdfc9959f0cbb762e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Sun, 21 Jul 2024 16:48:03 +0300 Subject: [PATCH 02/10] Add Steal objective --- .../Locale/ru-RU/ss220/weapons/brass_knuckles.ftl | 2 +- Resources/Prototypes/Objectives/objectiveGroups.yml | 1 + .../Prototypes/Objectives/stealTargetGroups.yml | 9 +++++++++ Resources/Prototypes/Objectives/traitor.yml | 12 ++++++++++++ .../SS220/Entities/Weapons/Melee/brass_knuckles.yml | 4 +++- 5 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl index 28f20aeb26fe6f..47230904fc6be3 100644 --- a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl +++ b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl @@ -1,2 +1,2 @@ -ent-BrassKnuckles = гравированый кастет +ent-BrassKnucklesEtchedQm = гравированный кастет .desc = Оружие, излюбленное специалистами синдиката, предпочитающими работать скрытно. diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index 1c258ad81f3dd0..678b93be043ecb 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -18,6 +18,7 @@ MagbootsStealObjective: 1 CorgiMeatStealObjective: 1 ClipboardStealObjective: 1 + BrassKnucklesEtchedObjective: 1 #SS220 New Qm highrisk CaptainGunStealObjective: 0.5 CaptainJetpackStealObjective: 0.5 HandTeleporterStealObjective: 0.5 diff --git a/Resources/Prototypes/Objectives/stealTargetGroups.yml b/Resources/Prototypes/Objectives/stealTargetGroups.yml index f5af5c75c7df34..bfc7b58749d18b 100644 --- a/Resources/Prototypes/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/Objectives/stealTargetGroups.yml @@ -49,6 +49,15 @@ sprite: Objects/Misc/qm_clipboard.rsi state: qm_clipboard +#SS220 New Qm highrisk begin +- type: stealTargetGroup + id: BrassKnucklesEtchedQm + name: engraved brass knuckles + sprite: + sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + state: icon +#SS220 New Qm highrisk end + - type: stealTargetGroup id: FoodMeatCorgi name: prime-cut corgi meat diff --git a/Resources/Prototypes/Objectives/traitor.yml b/Resources/Prototypes/Objectives/traitor.yml index ad5f56a443eae0..70b56af26865a9 100644 --- a/Resources/Prototypes/Objectives/traitor.yml +++ b/Resources/Prototypes/Objectives/traitor.yml @@ -231,6 +231,18 @@ stealGroup: BoxFolderQmClipboard owner: job-name-qm +#SS220 New Qm highrisk begin +- type: entity + parent: BaseTraitorStealObjective + id: BrassKnucklesEtchedObjective + components: + - type: NotJobRequirement + job: Quartermaster + - type: StealCondition + stealGroup: BrassKnucklesEtchedQm + owner: job-name-qm +#SS220 New Qm highrisk end + ## hop - type: entity diff --git a/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml b/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml index 8f1b982a0ffaa8..96e34c54942a81 100644 --- a/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml +++ b/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml @@ -3,7 +3,7 @@ - type: entity name: brass knuckles parent: BaseItem - id: BrassKnuckles + id: BrassKnucklesEtchedQm description: кастет components: - type: Sprite @@ -35,3 +35,5 @@ damageSound: /Audio/SS220/Weapons/brassKnukles/critical-hit.ogg - type: StaticPrice price: 1000 + - type: StealTarget + stealGroup: BrassKnucklesEtchedQm From 7713a378526c5f88a0fa416dd21083b036bfee48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Sun, 21 Jul 2024 16:51:30 +0300 Subject: [PATCH 03/10] moved to SS220 --- .../Prototypes/Objectives/stealTargetGroups.yml | 9 --------- Resources/Prototypes/Objectives/traitor.yml | 12 ------------ .../SS220/Objectives/stealTargetGroups.yml | 9 ++++++++- Resources/Prototypes/SS220/Objectives/traitor.yml | 11 +++++++++++ 4 files changed, 19 insertions(+), 22 deletions(-) create mode 100644 Resources/Prototypes/SS220/Objectives/traitor.yml diff --git a/Resources/Prototypes/Objectives/stealTargetGroups.yml b/Resources/Prototypes/Objectives/stealTargetGroups.yml index bfc7b58749d18b..f5af5c75c7df34 100644 --- a/Resources/Prototypes/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/Objectives/stealTargetGroups.yml @@ -49,15 +49,6 @@ sprite: Objects/Misc/qm_clipboard.rsi state: qm_clipboard -#SS220 New Qm highrisk begin -- type: stealTargetGroup - id: BrassKnucklesEtchedQm - name: engraved brass knuckles - sprite: - sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi - state: icon -#SS220 New Qm highrisk end - - type: stealTargetGroup id: FoodMeatCorgi name: prime-cut corgi meat diff --git a/Resources/Prototypes/Objectives/traitor.yml b/Resources/Prototypes/Objectives/traitor.yml index 70b56af26865a9..ad5f56a443eae0 100644 --- a/Resources/Prototypes/Objectives/traitor.yml +++ b/Resources/Prototypes/Objectives/traitor.yml @@ -231,18 +231,6 @@ stealGroup: BoxFolderQmClipboard owner: job-name-qm -#SS220 New Qm highrisk begin -- type: entity - parent: BaseTraitorStealObjective - id: BrassKnucklesEtchedObjective - components: - - type: NotJobRequirement - job: Quartermaster - - type: StealCondition - stealGroup: BrassKnucklesEtchedQm - owner: job-name-qm -#SS220 New Qm highrisk end - ## hop - type: entity diff --git a/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml b/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml index 8508c424363e4a..265965a65203ca 100644 --- a/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml @@ -3,4 +3,11 @@ name: secway sprite: sprite: Objects/Vehicles/secway.rsi - state: icon \ No newline at end of file + state: icon + +- type: stealTargetGroup + id: BrassKnucklesEtchedQm + name: engraved brass knuckles + sprite: + sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + state: icon diff --git a/Resources/Prototypes/SS220/Objectives/traitor.yml b/Resources/Prototypes/SS220/Objectives/traitor.yml new file mode 100644 index 00000000000000..8a72ec5c5b95e0 --- /dev/null +++ b/Resources/Prototypes/SS220/Objectives/traitor.yml @@ -0,0 +1,11 @@ +# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt + +- type: entity + parent: BaseTraitorStealObjective + id: BrassKnucklesEtchedObjective + components: + - type: NotJobRequirement + job: Quartermaster + - type: StealCondition + stealGroup: BrassKnucklesEtchedQm + owner: job-name-qm From be24b6c154046837a88e6ef10a04e3711a350d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Sun, 21 Jul 2024 17:03:20 +0300 Subject: [PATCH 04/10] Fix meta --- .../SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json index d6658782ccae3d..776963ab612a4c 100644 --- a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json +++ b/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json @@ -1,7 +1,7 @@ { "version": 1, "license": "CC-BY-SA-3.0", - "copyright": "Taken from https://github.com/ss220club/Paradise-SS220/blob/master/icons/obj/weapons/knuckleduster.dmi, modifided by okroshka59 (Discord) from SS220", + "copyright": "Taken from https://github.com/ss220club/Paradise-SS220/blob/master/icons/obj/weapons/knuckleduster.dmi, modifided by okroshka59 (Discord) for SS220", "size": { "x": 32, "y": 32 From 52364a174b61932d518249b6f532c9c0c9332af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Sat, 27 Jul 2024 14:00:27 +0300 Subject: [PATCH 05/10] Add glass case --- Resources/Locale/ru-RU/ss220/misc/case.ftl | 6 ++ .../ru-RU/ss220/weapons/brass_knuckles.ftl | 4 +- .../Prototypes/Objectives/objectiveGroups.yml | 2 +- .../SS220/Entities/Objects/Misc/case.yml | 61 ++++++++++++++++++ .../Entities/Weapons/Melee/brass_knuckles.yml | 12 ++-- .../SS220/Objectives/stealTargetGroups.yml | 2 +- .../Prototypes/SS220/Objectives/traitor.yml | 4 +- Resources/Prototypes/SS220/tags.yml | 6 +- .../caplaser.png | Bin 0 -> 557 bytes .../etched_brass_knuckles_case.rsi/icon.png | Bin 0 -> 355 bytes .../etched_brass_knuckles_case.rsi/locked.png | Bin 0 -> 146 bytes .../etched_brass_knuckles_case.rsi/meta.json | 26 ++++++++ .../etched_brass_knuckles_case.rsi/open.png | Bin 0 -> 406 bytes .../unlocked.png | Bin 0 -> 146 bytes .../equipped-HAND.png | Bin .../icon.png | Bin .../inhand-left.png | Bin .../inhand-right.png | Bin .../meta.json | 0 19 files changed, 112 insertions(+), 11 deletions(-) create mode 100644 Resources/Locale/ru-RU/ss220/misc/case.ftl create mode 100644 Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/caplaser.png create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/icon.png create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/locked.png create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/meta.json create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/open.png create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/unlocked.png rename Resources/Textures/SS220/Objects/Weapons/Melee/{brass_knuckles.rsi => etched_brass_knuckles.rsi}/equipped-HAND.png (100%) rename Resources/Textures/SS220/Objects/Weapons/Melee/{brass_knuckles.rsi => etched_brass_knuckles.rsi}/icon.png (100%) rename Resources/Textures/SS220/Objects/Weapons/Melee/{brass_knuckles.rsi => etched_brass_knuckles.rsi}/inhand-left.png (100%) rename Resources/Textures/SS220/Objects/Weapons/Melee/{brass_knuckles.rsi => etched_brass_knuckles.rsi}/inhand-right.png (100%) rename Resources/Textures/SS220/Objects/Weapons/Melee/{brass_knuckles.rsi => etched_brass_knuckles.rsi}/meta.json (100%) diff --git a/Resources/Locale/ru-RU/ss220/misc/case.ftl b/Resources/Locale/ru-RU/ss220/misc/case.ftl new file mode 100644 index 00000000000000..e87073c47c1ffb --- /dev/null +++ b/Resources/Locale/ru-RU/ss220/misc/case.ftl @@ -0,0 +1,6 @@ +ent-GlassCase = стеклянный кейс + .desc = пупупу + +ent-GlassCaseEtchedBrassKnucklesFilled = стеклянный кейс + .desc = Гравированный кастет Квартирмейстера, сделанный по специальному заказу. Выдан в качестве средства борьбы с участившимися случаями воровства личных вещей и материалов из отдела снабжения. + .suffix = Гравированный кастет, Заполненый diff --git a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl index 47230904fc6be3..58b3c5d9c77a2c 100644 --- a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl +++ b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl @@ -1,2 +1,2 @@ -ent-BrassKnucklesEtchedQm = гравированный кастет - .desc = Оружие, излюбленное специалистами синдиката, предпочитающими работать скрытно. +ent-EtchedBrassKnuckles = гравированный кастет + .desc = Гравированный кастет Квартирмейстера, сделанный по специальному заказу. Выдан в качестве средства борьбы с участившимися случаями воровства личных вещей и материалов из отдела снабжения. diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index 678b93be043ecb..313a9f200c5e72 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -18,7 +18,7 @@ MagbootsStealObjective: 1 CorgiMeatStealObjective: 1 ClipboardStealObjective: 1 - BrassKnucklesEtchedObjective: 1 #SS220 New Qm highrisk + EtchedBrassKnucklesStealObjective: 1 #SS220 New Qm highrisk CaptainGunStealObjective: 0.5 CaptainJetpackStealObjective: 0.5 HandTeleporterStealObjective: 0.5 diff --git a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml new file mode 100644 index 00000000000000..e5a2d3ad2c012a --- /dev/null +++ b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml @@ -0,0 +1,61 @@ +# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt + +- type: entity + parent: [BaseItem, BaseItemCabinet] + id: GlassCase + name: glass case + suffix: Etched brass knuckles + description: Ударопрочный кейс с замком для хранения револьвера. Является аксессуаром к сувенирному револьверу "Уника". + components: + - type: Item + size: Large + - type: Lock + - type: LockVisuals + - type: Sprite + sprite: SS220/Misc/etched_brass_knuckles_case.rsi + layers: + - state: icon + map: ["enum.StorageVisualLayers.Base"] + - state: open + map: ["enum.OpenableVisuals.Layer"] + - state: caplaser + map: ["enum.ItemCabinetVisuals.Layer"] + visible: true + - state: locked + shader: unshaded + map: ["enum.LockVisualLayers.Lock"] + - type: Appearance + - type: GenericVisualizer + visuals: + enum.ItemCabinetVisuals.ContainsItem: + enum.ItemCabinetVisuals.Layer: + True: { visible: true } + False: { visible: false } + enum.OpenableVisuals.Opened: + enum.OpenableVisuals.Layer: + True: { state: open } + False: { state: icon } + - type: StaticPrice + price: 100 + +- type: entity + parent: GlassCase + id: GlassCaseEtchedBrassKnucklesFilled + name: glass case + suffix: Etched brass knuckles + description: Ударопрочный кейс с замком для хранения револьвера. Является аксессуаром к сувенирному револьверу "Уника". + components: + - type: AccessReader + access: [["Quartermaster"]] + - type: ItemSlots + slots: + ItemCabinet: + ejectOnInteract: true + whitelist: + tags: + - EtchedBrassKnuckles + ejectSound: /Audio/Machines/machine_switch.ogg + - type: ContainerFill + containers: + ItemCabinet: + - EtchedBrassKnuckles diff --git a/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml b/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml index 96e34c54942a81..f56e2e24f6d8d9 100644 --- a/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml +++ b/Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml @@ -1,16 +1,17 @@ # © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt +#Quartermaster - type: entity name: brass knuckles parent: BaseItem - id: BrassKnucklesEtchedQm + id: EtchedBrassKnuckles description: кастет components: - type: Sprite - sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + sprite: SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi state: icon - type: Clothing - sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + sprite: SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi slots: [gloves] - type: Item size: Small @@ -33,7 +34,10 @@ Stamina: 72 # 28 + 72 = 100 => куклу без стаминрезиста сразу ложит в стаминкрит randomDamageChance: 0.2 damageSound: /Audio/SS220/Weapons/brassKnukles/critical-hit.ogg + - type: Tag + tags: + - EtchedBrassKnuckles - type: StaticPrice price: 1000 - type: StealTarget - stealGroup: BrassKnucklesEtchedQm + stealGroup: EtchedBrassKnuckles diff --git a/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml b/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml index 265965a65203ca..93af2cb4fa2840 100644 --- a/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml @@ -6,7 +6,7 @@ state: icon - type: stealTargetGroup - id: BrassKnucklesEtchedQm + id: EtchedBrassKnuckles name: engraved brass knuckles sprite: sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi diff --git a/Resources/Prototypes/SS220/Objectives/traitor.yml b/Resources/Prototypes/SS220/Objectives/traitor.yml index 8a72ec5c5b95e0..330f44d2241efa 100644 --- a/Resources/Prototypes/SS220/Objectives/traitor.yml +++ b/Resources/Prototypes/SS220/Objectives/traitor.yml @@ -2,10 +2,10 @@ - type: entity parent: BaseTraitorStealObjective - id: BrassKnucklesEtchedObjective + id: EtchedBrassKnucklesStealObjective components: - type: NotJobRequirement job: Quartermaster - type: StealCondition - stealGroup: BrassKnucklesEtchedQm + stealGroup: EtchedBrassKnuckles owner: job-name-qm diff --git a/Resources/Prototypes/SS220/tags.yml b/Resources/Prototypes/SS220/tags.yml index 635a8c3785d454..b702d683de50fa 100644 --- a/Resources/Prototypes/SS220/tags.yml +++ b/Resources/Prototypes/SS220/tags.yml @@ -84,4 +84,8 @@ id: PowerCellHigh - type: Tag - id: WeaponFlareGun \ No newline at end of file + id: WeaponFlareGun + +# New Qm highrisk +- type: Tag + id: EtchedBrassKnuckles diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/caplaser.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/caplaser.png new file mode 100644 index 0000000000000000000000000000000000000000..4af9023cd0c9e802f602ee551d0e7ec7dfcc2a4d GIT binary patch literal 557 zcmV+|0@D47P)Px$=Sf6CR9J=WlTT|CK^Vq=>29+5BPb+`7&bzWOAnp`dyYb}x#=PViv=NIzeFxl zsP+TYFX2H$D_&cuduTmbHyR?ihDJ#sm;|$%C60%h;Kl96iaCf`XUF3%U23whpu_)04MljTC5dv|ZrY&1~PNdQ{S7LT{KE;J7{f)~$C z?00!u%_fbHO*HKqqrnhG9s%(3)oau%zZ<)*v7{&{sq;iMO%v^Q`>!d48G+c_+XuiK z|KN^kVi*PhmSv%;D&1}ufZg3^bUJ6OtmtfSKSh>hI-L$d4TMP`RxYp2A6>Cn#Pd8{ z*PUHJ%r3II`AF1iHR4hnS(ZsEN?`Gs!9wV|E_%HlqtS@*csxJ9zJ6aE92^3W&1P|3 z7u&Wk^bh?F!{Rtj%yFF1`lSW^g>Bp9aye90h4c8ut+fqta`Ki;CbOX3;t9lbT^9g5 vJ5M-0wE;Lf{)}zg@DC%6h=_=Y`0xAz<}t3-?nQhm00000NkvXXu0mjfwPNxI literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/icon.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..474dbfa26561b887a4374a2b918602d7a1eb9ff2 GIT binary patch literal 355 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^T<%$_ceArY;~ z2@IiivDd~y;; z`II%g3sUSIx3Zb_@f7QO3MT7(Fu)>xTIH|AqxdMg|)U1;b9C;Ry5(WuNha+c?JZ@1(}o#@P#Q+25Cx z@bPJt?0d6h5%Z$TX$CWVwx%RJ*qpRs!^*=e-yNB##@6P4T;klCn`aFgEq=Q*GBf>PoUFWNXAAkBO~qCT^67kyX^H3z1B~hHuuz-%6|onu|HXvLINxf i0cH47BRtc5eHpZXYz`m>flI-YL6oPfpUXO@geCxo(Xh>wsmR%7SH|*Y2ro80am8;gf@7Y|mswprPl|29i3Yuzf3SPaM z8+&9$aza9c^O~K^a;(hn7#1yh@OENk>0}9sSsfC&co>I^D1H zJx)JNcz!kAWu|Y5(v^x2JsGF-H9Q2@PRn4g`FH-nf>S5^l*)ep_Ft2T zO&5Hq5R+t5c;N7U0jZq^bsSp-B6|uFecPDrYW|*6IO{U!z1{!xgdM-WT3_T-SS4ez z@oe+MyY?LqTR!Zr7x;RFX_3=|GqWD^ygu)0Wbh%&u`8WOD#92wV!D45B<;{an^LB{Ts5-0-Hq literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/unlocked.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/unlocked.png new file mode 100644 index 0000000000000000000000000000000000000000..5c746b2ab9a308583bef839aeb8499d5fc9a2dc0 GIT binary patch literal 146 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}MxHK?ArY-_ z&loZ?DDWKE@a`z{q=0S}n>Vs@-wH1L(e;?5;yI~K{BA*>7F)=n$iMybc0a3OWxA2F k#1W{QFEzq5&DWPf3&`dGVi33#JQ+lJy85}Sb4q9e0DLYgKL7v# literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/equipped-HAND.png b/Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/equipped-HAND.png similarity index 100% rename from Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/equipped-HAND.png rename to Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/equipped-HAND.png diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/icon.png b/Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/icon.png similarity index 100% rename from Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/icon.png rename to Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/icon.png diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-left.png b/Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/inhand-left.png similarity index 100% rename from Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-left.png rename to Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/inhand-left.png diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-right.png b/Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/inhand-right.png similarity index 100% rename from Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/inhand-right.png rename to Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/inhand-right.png diff --git a/Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json b/Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/meta.json similarity index 100% rename from Resources/Textures/SS220/Objects/Weapons/Melee/brass_knuckles.rsi/meta.json rename to Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/meta.json From a3850a84d4b03abc2754be9124818f118edb95ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Tue, 6 Aug 2024 16:25:34 +0300 Subject: [PATCH 06/10] Some prototype and sprite changes --- Resources/Locale/ru-RU/ss220/misc/case.ftl | 5 +- .../SS220/Entities/Objects/Misc/case.yml | 55 +++++++++++++----- .../etched_brass_knuckles_case.rsi/base.png | Bin 0 -> 258 bytes .../brassknukles.png | Bin 0 -> 184 bytes .../caplaser.png | Bin 557 -> 0 bytes .../etched_brass_knuckles_case.rsi/closed.png | Bin 0 -> 210 bytes .../etched_brass_knuckles_case.rsi/locked.png | Bin 146 -> 142 bytes .../etched_brass_knuckles_case.rsi/meta.json | 8 ++- .../etched_brass_knuckles_case.rsi/open.png | Bin 406 -> 211 bytes .../unlocked.png | Bin 146 -> 142 bytes 10 files changed, 50 insertions(+), 18 deletions(-) create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/base.png create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/brassknukles.png delete mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/caplaser.png create mode 100644 Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/closed.png diff --git a/Resources/Locale/ru-RU/ss220/misc/case.ftl b/Resources/Locale/ru-RU/ss220/misc/case.ftl index e87073c47c1ffb..600723c6b87e92 100644 --- a/Resources/Locale/ru-RU/ss220/misc/case.ftl +++ b/Resources/Locale/ru-RU/ss220/misc/case.ftl @@ -1,6 +1,7 @@ ent-GlassCase = стеклянный кейс - .desc = пупупу + .desc = Изготовлен на заказ для хранения ценных предметов. Крышка выполнена из закалённого стекла с основанием из выращенного на тропических планетах дерева и украшенная бархатной подушкой, для предотвращения возможных царапин. + .suffix = Гравированный кастет ent-GlassCaseEtchedBrassKnucklesFilled = стеклянный кейс - .desc = Гравированный кастет Квартирмейстера, сделанный по специальному заказу. Выдан в качестве средства борьбы с участившимися случаями воровства личных вещей и материалов из отдела снабжения. + .desc = { ent-GlassCase.desc } .suffix = Гравированный кастет, Заполненый diff --git a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml index e5a2d3ad2c012a..821e719b662da7 100644 --- a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml +++ b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml @@ -5,7 +5,7 @@ id: GlassCase name: glass case suffix: Etched brass knuckles - description: Ударопрочный кейс с замком для хранения револьвера. Является аксессуаром к сувенирному револьверу "Уника". + description: Made to order for storing valuables. The lid is made of tempered glass, and the base is made of wood grown on tropical planets and decorated with a velvet pad to prevent possible scratches. components: - type: Item size: Large @@ -14,17 +14,25 @@ - type: Sprite sprite: SS220/Misc/etched_brass_knuckles_case.rsi layers: - - state: icon + - state: base map: ["enum.StorageVisualLayers.Base"] - - state: open + - state: closed map: ["enum.OpenableVisuals.Layer"] - - state: caplaser + - state: brassknukles map: ["enum.ItemCabinetVisuals.Layer"] visible: true - state: locked shader: unshaded map: ["enum.LockVisualLayers.Lock"] - type: Appearance + - type: ItemSlots + slots: + ItemCabinet: + ejectOnInteract: true + whitelist: + tags: + - EtchedBrassKnuckles + ejectSound: /Audio/Machines/machine_switch.ogg - type: GenericVisualizer visuals: enum.ItemCabinetVisuals.ContainsItem: @@ -34,7 +42,33 @@ enum.OpenableVisuals.Opened: enum.OpenableVisuals.Layer: True: { state: open } - False: { state: icon } + False: { state: closed } + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Glass + - type: MeleeSound + soundGroups: + Brute: + collection: GlassSmash + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 80 + behaviors: + - !type:EmptyAllContainersBehaviour + - !type:PlaySoundBehavior + sound: + collection: WindowShatter + - !type:SpawnEntitiesBehavior + spawn: + ShardGlassReinforced: + min: 1 + max: 2 + # - !type:ChangeConstructionNodeBehavior + # node: brokenGlassBox + - !type:DoActsBehavior + acts: [ "Destruction" ] - type: StaticPrice price: 100 @@ -42,19 +76,10 @@ parent: GlassCase id: GlassCaseEtchedBrassKnucklesFilled name: glass case - suffix: Etched brass knuckles - description: Ударопрочный кейс с замком для хранения револьвера. Является аксессуаром к сувенирному револьверу "Уника". + suffix: Etched brass knuckles, Filled components: - type: AccessReader access: [["Quartermaster"]] - - type: ItemSlots - slots: - ItemCabinet: - ejectOnInteract: true - whitelist: - tags: - - EtchedBrassKnuckles - ejectSound: /Audio/Machines/machine_switch.ogg - type: ContainerFill containers: ItemCabinet: diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/base.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/base.png new file mode 100644 index 0000000000000000000000000000000000000000..cbe6e6e75c5e3bc53a75ce3562e56188a087722c GIT binary patch literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJ^`0({ArYL(2@qmqy# z(W~Px%+69^@W=i5xi>SC6ih?P8+JA+biGep*wD+?%Hd%vXz0CX(*Ns92luf{`f)Tn zF+hy0+~vub^Wwkyl$9a4C2)i1Kvxb6Mw<&;$UH=TVdZ literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/brassknukles.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/brassknukles.png new file mode 100644 index 0000000000000000000000000000000000000000..45d060a310b6561799eeed2c293681e638d53aad GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJR8JSjkOo&Eiih-Z@G!G5E0?WT%8|`VX{_FEzq5&DWPf3&`dGVi33#JQ+lJy85}Sb4q9e E0G6>h2mk;8 literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/caplaser.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/caplaser.png deleted file mode 100644 index 4af9023cd0c9e802f602ee551d0e7ec7dfcc2a4d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 557 zcmV+|0@D47P)Px$=Sf6CR9J=WlTT|CK^Vq=>29+5BPb+`7&bzWOAnp`dyYb}x#=PViv=NIzeFxl zsP+TYFX2H$D_&cuduTmbHyR?ihDJ#sm;|$%C60%h;Kl96iaCf`XUF3%U23whpu_)04MljTC5dv|ZrY&1~PNdQ{S7LT{KE;J7{f)~$C z?00!u%_fbHO*HKqqrnhG9s%(3)oau%zZ<)*v7{&{sq;iMO%v^Q`>!d48G+c_+XuiK z|KN^kVi*PhmSv%;D&1}ufZg3^bUJ6OtmtfSKSh>hI-L$d4TMP`RxYp2A6>Cn#Pd8{ z*PUHJ%r3II`AF1iHR4hnS(ZsEN?`Gs!9wV|E_%HlqtS@*csxJ9zJ6aE92^3W&1P|3 z7u&Wk^bh?F!{Rtj%yFF1`lSW^g>Bp9aye90h4c8ut+fqta`Ki;CbOX3;t9lbT^9g5 vJ5M-0wE;Lf{)}zg@DC%6h=_=Y`0xAz<}t3-?nQhm00000NkvXXu0mjfwPNxI diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/closed.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..25a65ee1a72df652d2f6035033622bfc30d61b0e GIT binary patch literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJdQTU}kO`-mAmC?BfL49uQXl>zRQ>%zi&5}(HsG`mD2P07=He_y8r)n z&cs)bS?0J&aq>$l6K#)PGbHWvas5S-$y<;4)N&zdb j0G+~@8sVAd>&u`8WOD#92wV!D45B<;{an^LB{Ts5lr=zz literal 0 HcmV?d00001 diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/locked.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/locked.png index c44739897039c7e204647fd2d7c049ff49dfa185..8440581c713c9340b065ba491faf0207411074d8 100644 GIT binary patch delta 78 zcmbQl*vB|Q#l_mw#W5s;^X&ykUIqmo<^x^~|M@;NY@4_<;pErL`PH2Q3Jwhnj7%&X gU`FFgCiT^MWu^XqKOBF@zBQWFVY!mJ!o(ak08pD8!~g&Q delta 82 zcmV-Y0ImOy0g?fbBuD{sQb$4nuFf3k0000oNklx-uaTCW%FKEGZ~taO%DJBHr($Y|yaojG*Q1F=0dX|*RkCT*pKg!PL zNSa_Zq3V&Zy3^AJYlbJEb*Jb1*M5EfKi5fO3Ez@=9QA@g#Sd;yf4{DYN4>@Im7A=? wSAh>7KmO!5ni9bi~QMpon6GJV}D>^SVOG210Dqf?f{~q z;O&uFb(0tvnus)W&D$fh>KGUp>WNWIR5{?TE%l#B%i&<>)n`PRO>`pEc<_v9%Wo)1 z5v`VJ2Ymj|z@W;>jv{vZ`%kQ5qyVBFz{?0RoR<;dAY5WJalpgB5E{8Keh9S?S&VRD zO@;$LeErTK%}zv|?>_%$V7U7AJJAjxsvJ16&4c0HKZxOk@VkEy^~3_ALg37r;|%N1 qMKUn(Sut4H)ZupMktPO)PsbR}tT|4!14aP==l^YQL9+-;k*y}9v!5CO diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/unlocked.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/unlocked.png index 5c746b2ab9a308583bef839aeb8499d5fc9a2dc0..73fcb9178f139d9cb1b44a459040d27f5c8057ae 100644 GIT binary patch delta 78 zcmbQl*vB|Q#l_mw#W5s;^X-L&f(!~g%m;Lsepj1pp8A?Aw4=Y%>xjBj0|O%y3x|M$ g1DMgq^m@rR-%@`4GyeoC_FiSJOgqf_Y+{ZY01RLo Date: Wed, 7 Aug 2024 19:19:08 +0300 Subject: [PATCH 07/10] Sprite update and add to Qm locker --- .../Prototypes/Catalog/Fills/Lockers/heads.yml | 1 + .../SS220/Entities/Objects/Misc/case.yml | 6 +++--- .../SS220/Objectives/stealTargetGroups.yml | 2 +- .../etched_brass_knuckles_case.rsi/base.png | Bin 258 -> 320 bytes .../brassknukles.png | Bin 184 -> 189 bytes .../etched_brass_knuckles_case.rsi/closed.png | Bin 210 -> 298 bytes .../etched_brass_knuckles_case.rsi/icon.png | Bin 355 -> 387 bytes .../etched_brass_knuckles_case.rsi/locked.png | Bin 142 -> 167 bytes .../etched_brass_knuckles_case.rsi/open.png | Bin 211 -> 293 bytes .../etched_brass_knuckles_case.rsi/unlocked.png | Bin 142 -> 165 bytes 10 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index accd1a7ebebf28..d928d6649ca970 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -22,6 +22,7 @@ - id: ClothingHeadsetAltCargo - id: BoxEncryptionKeyCargo - id: ClothingWristWatchGold # SS220 Wrist Watch + - id: GlassCaseEtchedBrassKnucklesFilled # SS220 New Qm highrisk - type: entity id: LockerCaptainFilledHardsuit diff --git a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml index 821e719b662da7..4cfbaa0ce61a98 100644 --- a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml +++ b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml @@ -2,7 +2,7 @@ - type: entity parent: [BaseItem, BaseItemCabinet] - id: GlassCase + id: GlassCaseEtchedBrassKnuckles name: glass case suffix: Etched brass knuckles description: Made to order for storing valuables. The lid is made of tempered glass, and the base is made of wood grown on tropical planets and decorated with a velvet pad to prevent possible scratches. @@ -16,11 +16,11 @@ layers: - state: base map: ["enum.StorageVisualLayers.Base"] - - state: closed - map: ["enum.OpenableVisuals.Layer"] - state: brassknukles map: ["enum.ItemCabinetVisuals.Layer"] visible: true + - state: closed + map: ["enum.OpenableVisuals.Layer"] - state: locked shader: unshaded map: ["enum.LockVisualLayers.Lock"] diff --git a/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml b/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml index 93af2cb4fa2840..49d5b7616d1362 100644 --- a/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/SS220/Objectives/stealTargetGroups.yml @@ -9,5 +9,5 @@ id: EtchedBrassKnuckles name: engraved brass knuckles sprite: - sprite: SS220/Objects/Weapons/Melee/brass_knuckles.rsi + sprite: SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi state: icon diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/base.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/base.png index cbe6e6e75c5e3bc53a75ce3562e56188a087722c..2d2606c115910f6ddc7367e31cee5d01e8251795 100644 GIT binary patch delta 265 zcmV+k0rvia0>A>0B!2;OQb$4nuFf3k00004XF*Lt006O%3;baP0002cNkl&!1u3E&zyzi7 z0+6Aqoa`jg!~&um0P@l8?>|YRi3LPCfR=zL2R!`C!0_%LX@4}afS?0DeErTK1XN|t z&CVdtOdJhT57I{rAQ)T!uSNb3G+GWe6a+v%1hH|^Fg5GXMKUmIEhlI`K?SFq6#kop zSTZp1Sut4H)ImjYgA+%Z7#KbsV>q+sID={30}_(sC>RB!U=)mkkqH6H^( P)&Kwi4rN$LW|8C`)tG2p delta 196 zcmX@W)WkGFrGCAqi(^OxXL5oB>taO%DJE=$OH0GVED6wQ- z#pTWbP9uZP?uYfe4XnA2sk#ZXH#jk*DC(#rGZx^prw85kH?(j9#r85lP9bN@+X1@e78T^vIq+><3(7bl4H zGzA)PxiMNk_&@pN|BV+*7?;l$QJ7Y@v&HG~k(W#k)Bf!j`zb%O&Fdn6Lk-WSIqU4? k;kw!s6A~C0g31lDCkX{UU|?Y2OO5bM^YvxWnmA7i03#bQ6951J delta 137 zcmdnXxPx(mN`0!Qi(^OxXL5oB>taO%DJJZMgB!=6dZVBA9@196ZGlU&E$=R2*!btP zs)&@D->%M-7eD?#z4ZV8b*2Bxms2F1XNpbeckElR`n+cGrxouUrI;A}*bTB%LN@(p XU|`@&jqptK^<~fkvN;$gt`G$P3wSZm diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/closed.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/closed.png index 25a65ee1a72df652d2f6035033622bfc30d61b0e..2b46f8f8e28b6d51dcd4a9f752db15513a4fe9fe 100644 GIT binary patch delta 235 zcmV+Of~X-{$a}C-0ylgn@{R5W|^`M{EzSu5f}1;RHlQ0V$S)04eH; l3IQmSWI#*^jDk@x3P!;w7zG0i7#IMvgtaO%DJD!p#7SXaaFvtha-R5ESJXGjN|(rsk(P~btsf7d=2qs oR$%r#$!b!_a3UbcAk;bGia}Hx11E#tF^*WJfE8CJvoNXw0MkG>ivR!s diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/icon.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/icon.png index 474dbfa26561b887a4374a2b918602d7a1eb9ff2..aa63a62dee73e836ce63d2f975c8457b1f908c1e 100644 GIT binary patch delta 314 zcmV-A0mc5~0)qpPFn<69XF*Lt006O%3;baP0003KNklrUytuH z?797%VePV61kGoH(s+T2t2+bB^9KwcfCdvogVYlXh;jf((SL_Oe;L?_q=_;V3W$yZ z`86JM&VA!{9D&=Y5*I%HY zK7VJBVPj?x0IDX22B`<@BLV=m;0Gr9!VHgpa5G%}%)#*RJ2%5c0yIb+NIgg&F@RtY zoo-V2ZxUk3z%RgO#b9Am2NlH)P8?}sVEA;5;mn%j45oDt2%0|%M!_f;V8Flt0Pd-Z MCC2MkAd@`-Cavv;`2YX_ delta 282 zcmV+#0pRB!V1NN5F^YVAeEtjD zq%{$1=-VT+>b7jzLX_Do#3*9tlVS*Wl&rgOWIsW*1~!fib1z8|V=VCwU|?WiVE_G_ zLGaU8qSTQBh<3m~1_lN$7G@N&4}bnL2%w4mBguLa9B^m%PJagbm>32oB#W4kXqec+ zB}=I9fcGC*8BSe)!f+tB9!2~Y0|Nsanp!SCPKNhiIH>D@Uw{8Ga56G5urU!<%ghK- zPgMt)=nFGkIsKA>g@K!(+CSeJ7)(rs8IJ6vq64CNmN1x1wPax6vtqEYsl%!6#E~Wj ghEK;B&aBzZFb{z^`$qu-0Q-MILc2MZk&|5kCRjOmg8%>k diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/locked.png b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/locked.png index 8440581c713c9340b065ba491faf0207411074d8..8768a906e462d3e7f5f8d8f707442a47a03f1a2d 100644 GIT binary patch delta 103 zcmV-t0GR)d0jB|wBwYb>Qb$4nuFf3k00004XF*Lt006O%3;baP0000tNkl-Lff>CiQg3E-@Ch_PBCs#n=nhGeB)yh)k2P|XHSYwKas4An`W;M`dIbV% JH!DApXeQ|IBxV2r delta 78 zcmZ3^*vB|Q#l_mw#W5s;^X&ykUIqmo<^x^~|M@;NY@4_<;pErL`PH2Q3Jwhnj7%&X gU`FFgCiT^MWu^XqKOBF@zBQWFVY!mJ!o)^309PvCCnysqAj$!9x=M;nY#fWALIi<`j1a?_jYn*W zaR3vP9xy;K1mZh3HQJfWd->Yy2|$Gif>T%T>{`9``kRFneq8lXA)J6H2c$%pWq$np zc{NmsAdnOjc9=B($QoiCFyK)z_|t%okI#QjIb#McIpZd%5K-Xmky&+HwrnA2{wNp) gqhJ(_f>AIEM!_f;1p^Ei7y!_xEe!YF6$O#4CgC<%LjV8( delta 148 zcmZ3=beVC2N_~T;i(^OxXL5oB>taO%DJBHr($Y|yaojG*Q1F=0dX|*RkCT*pKg!PL zNSa_Zq3V&Zy3^AJYlbJEb*Jb1*M5EfKi5fO3Ez@=9QA@g#Sd;yf4{DYN4>@Im7A=? vSAh>7KmO!5ni9biC7Q7~$lZxy-8q?;3=9k`>5jgR3=A9lx&I`x0{Nz%E{-7)?r+a1GBPL# z95}FdDf2`RZxyQqd1pogjs F)Bs2XAyNPU delta 78 zcmZ3=*vB|Q#l_mw#W5s;^X-L&f(!~g%m;Lsepj1pp8A?Aw4=Y%>xjBj0|O%y3x|M$ g1DMgq^m@rR-%@`4GyeoC_FiSJOgqf_Y+}6{01{9f3IG5A From 8ada15e2b1f08d4e1b4e8ec2734c2bd6a8dc22df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Wed, 7 Aug 2024 19:24:36 +0300 Subject: [PATCH 08/10] Some fixes --- Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml index 4cfbaa0ce61a98..c74dcd3e4003fb 100644 --- a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml +++ b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml @@ -54,7 +54,7 @@ thresholds: - trigger: !type:DamageTrigger - damage: 80 + damage: 40 behaviors: - !type:EmptyAllContainersBehaviour - !type:PlaySoundBehavior @@ -65,12 +65,10 @@ ShardGlassReinforced: min: 1 max: 2 - # - !type:ChangeConstructionNodeBehavior - # node: brokenGlassBox - !type:DoActsBehavior acts: [ "Destruction" ] - type: StaticPrice - price: 100 + price: 200 - type: entity parent: GlassCase From 3bf3bef850907e77dfe1e737762f3d202c1581fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Wed, 7 Aug 2024 19:37:30 +0300 Subject: [PATCH 09/10] Some fixes 2 --- Resources/Locale/ru-RU/ss220/misc/case.ftl | 2 +- Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml | 5 ++++- .../SS220/Misc/etched_brass_knuckles_case.rsi/meta.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Resources/Locale/ru-RU/ss220/misc/case.ftl b/Resources/Locale/ru-RU/ss220/misc/case.ftl index 600723c6b87e92..cd7742ba4d7260 100644 --- a/Resources/Locale/ru-RU/ss220/misc/case.ftl +++ b/Resources/Locale/ru-RU/ss220/misc/case.ftl @@ -1,4 +1,4 @@ -ent-GlassCase = стеклянный кейс +ent-GlassCaseEtchedBrassKnuckles = стеклянный кейс .desc = Изготовлен на заказ для хранения ценных предметов. Крышка выполнена из закалённого стекла с основанием из выращенного на тропических планетах дерева и украшенная бархатной подушкой, для предотвращения возможных царапин. .suffix = Гравированный кастет diff --git a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml index c74dcd3e4003fb..91a4886fbd60c4 100644 --- a/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml +++ b/Resources/Prototypes/SS220/Entities/Objects/Misc/case.yml @@ -65,13 +65,16 @@ ShardGlassReinforced: min: 1 max: 2 + MaterialWoodPlank1: + min: 1 + max: 2 - !type:DoActsBehavior acts: [ "Destruction" ] - type: StaticPrice price: 200 - type: entity - parent: GlassCase + parent: GlassCaseEtchedBrassKnuckles id: GlassCaseEtchedBrassKnucklesFilled name: glass case suffix: Etched brass knuckles, Filled diff --git a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/meta.json b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/meta.json index f58b59c9749439..951196bbfb71c2 100644 --- a/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/meta.json +++ b/Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/meta.json @@ -1,7 +1,7 @@ { "version": 1, "license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", - "copyright": "Made by okroshka59 (Discord) for SS220", + "copyright": "Made by okroshka59 (Discord) for SS220, modified by Bomjojuk (Discord)", "size": { "x": 32, "y": 32 From 0c406b2f382f17d28fd4cfe47a51fa9c9deb3e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Wed, 7 Aug 2024 20:28:49 +0300 Subject: [PATCH 10/10] Fix description --- Resources/Locale/ru-RU/ss220/misc/case.ftl | 2 +- Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/Locale/ru-RU/ss220/misc/case.ftl b/Resources/Locale/ru-RU/ss220/misc/case.ftl index cd7742ba4d7260..cd813ef31fd68a 100644 --- a/Resources/Locale/ru-RU/ss220/misc/case.ftl +++ b/Resources/Locale/ru-RU/ss220/misc/case.ftl @@ -1,5 +1,5 @@ ent-GlassCaseEtchedBrassKnuckles = стеклянный кейс - .desc = Изготовлен на заказ для хранения ценных предметов. Крышка выполнена из закалённого стекла с основанием из выращенного на тропических планетах дерева и украшенная бархатной подушкой, для предотвращения возможных царапин. + .desc = Изготовлен на заказ для хранения ценных предметов. Крышка выполнена из закалённого стекла, а основание из дерева, выращенного на тропических планетах. Коробка украшена бархатной подушкой, чтобы предотвратить возможные царапины. .suffix = Гравированный кастет ent-GlassCaseEtchedBrassKnucklesFilled = стеклянный кейс diff --git a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl index 58b3c5d9c77a2c..5faf431076acc9 100644 --- a/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl +++ b/Resources/Locale/ru-RU/ss220/weapons/brass_knuckles.ftl @@ -1,2 +1,2 @@ ent-EtchedBrassKnuckles = гравированный кастет - .desc = Гравированный кастет Квартирмейстера, сделанный по специальному заказу. Выдан в качестве средства борьбы с участившимися случаями воровства личных вещей и материалов из отдела снабжения. + .desc = Гравированный кастет квартирмейстера, изготовленный по специальному заказу. Выдан в качестве средства борьбы с участившимися случаями краж личных вещей и материалов из отдела снабжения.