From fbb957d6d5cffd015d84f6069529d8afa9e750fe Mon Sep 17 00:00:00 2001 From: Remuchi Date: Sun, 14 Apr 2024 13:53:04 +0700 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D1=8B=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=20=D0=B1=D0=B5=D1=82=D0=B0=20=D1=82=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Damage/Systems/DamageExamineSystem.cs | 3 +- .../ru-RU/White/items/smoke-implant.ftl | 12 +++++++ .../entities/clothing/hands/colored.ftl | 24 ++++--------- Resources/Locale/ru-RU/store/categories.ftl | 12 +++---- .../Locale/ru-RU/store/uplink-catalog.ftl | 7 ++-- .../ru-RU/white/items/hardlight_spear.ftl | 5 +-- .../Catalog/ReagentDispensers/beverage.yml | 36 +++++++++---------- .../Prototypes/Catalog/uplink_catalog.yml | 20 +---------- Resources/Prototypes/_White/Actions/types.yml | 4 +-- .../Prototypes/_White/Catalog/uplink.yml | 8 ++--- .../Objects/Misc/subdermal_implants.yml | 4 +-- .../Prototypes/_White/store_categories.yml | 2 +- 12 files changed, 61 insertions(+), 76 deletions(-) create mode 100644 Resources/Locale/ru-RU/White/items/smoke-implant.ftl diff --git a/Content.Shared/Damage/Systems/DamageExamineSystem.cs b/Content.Shared/Damage/Systems/DamageExamineSystem.cs index 8273719110..a48d4d66a5 100644 --- a/Content.Shared/Damage/Systems/DamageExamineSystem.cs +++ b/Content.Shared/Damage/Systems/DamageExamineSystem.cs @@ -2,6 +2,7 @@ using Content.Shared.Damage.Components; using Content.Shared.Damage.Events; using Content.Shared.Examine; using Content.Shared.FixedPoint; +using Content.Shared.Ghost; using Content.Shared.Verbs; using Robust.Shared.Utility; @@ -20,7 +21,7 @@ public sealed class DamageExamineSystem : EntitySystem private void OnGetExamineVerbs(EntityUid uid, DamageExaminableComponent component, GetVerbsEvent args) { - if (!args.CanInteract || !args.CanAccess) + if ((!args.CanInteract || !args.CanAccess) && !HasComp(args.User)) return; var ev = new DamageExamineEvent(new FormattedMessage(), args.User); diff --git a/Resources/Locale/ru-RU/White/items/smoke-implant.ftl b/Resources/Locale/ru-RU/White/items/smoke-implant.ftl new file mode 100644 index 0000000000..847e3eaea2 --- /dev/null +++ b/Resources/Locale/ru-RU/White/items/smoke-implant.ftl @@ -0,0 +1,12 @@ +use-smoke-implant-action-name = Выпустить облако дыма +use-smoke-implant-action-desc = Выпускает облако дыма вокруг вас. + +uplink-smoke-implant-name = Имплант дыма +uplink-smoke-implant-desc = Выпускает облако дыма при активации. + +ent-SmokeImplanter = { ent-BaseImplanter } + .desc = {""} + .suffix = дым + +ent-SmokeImplant = имплант дыма + .desc = Этот имплант выпускает облако дыма при активации. \ No newline at end of file diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/hands/colored.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/hands/colored.ftl index 8307b15838..95e4c8d204 100644 --- a/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/hands/colored.ftl +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/hands/colored.ftl @@ -1,39 +1,29 @@ +ent-ClothingHandsGlovesSyntheticBase = { ent-ClothingHandsButcherable } + .desc = { ent-ClothingHandsButcherable.desc } ent-ClothingHandsGlovesColorPurple = фиолетовые перчатки .desc = Обычные фиолетовые перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorRed = красные перчатки .desc = Обычные красные перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorBlack = чёрные перчатки .desc = Обычные чёрные перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorBlue = синие перчатки .desc = Обычные синие перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorBrown = коричневые перчатки .desc = Обычные коричневые перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorGray = серые перчатки .desc = Обычные серые перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorGreen = зелёные перчатки .desc = Обычные зелёные перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorLightBrown = светло-коричневые перчатки .desc = Обычные светло-коричневые перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorOrange = оранжевые перчатки .desc = Обычные оранжевые перчатки, которые не спасут вас от поджаривания. - .suffix = { "" } ent-ClothingHandsGlovesColorWhite = белые перчатки .desc = Эти перчатки выглядят роскошно. - .suffix = { "" } ent-ClothingHandsGlovesColorYellow = изолированные перчатки .desc = Эти перчатки защищают пользователя от поражения электрическим током. - .suffix = { "" } -ent-ClothingHandsGlovesColorYellowBudget = дешевые изолированные перчатки - .desc = Всего лишь дешевая подделка заветных перчаток - не может быть, чтобы это плохо кончилось. - .suffix = { "" } -ent-ClothingHandsGlovesCluwne = перчатки клувна - .desc = Проклятые перчатки... - .suffix = Неснимаемое +ent-ClothingHandsGlovesColorYellowBudget = дешёвые изолированные перчатки + .desc = Всего лишь дешёвая подделка заветных перчаток - не может быть, чтобы это плохо кончилось. +ent-ClothingHandsGlovesConducting = { ent-ClothingHandsGlovesColorYellow } + .suffix = Проводящий + .desc = { ent-ClothingHandsGlovesColorYellow.desc } \ No newline at end of file diff --git a/Resources/Locale/ru-RU/store/categories.ftl b/Resources/Locale/ru-RU/store/categories.ftl index 7f2502e19e..da6685c5d5 100644 --- a/Resources/Locale/ru-RU/store/categories.ftl +++ b/Resources/Locale/ru-RU/store/categories.ftl @@ -4,13 +4,13 @@ store-category-debug2 = debug category 2 store-category-weapons = Вооружение store-category-ammo = Боеприпасы store-category-explosives = Взрывчатка -store-category-misc = Разное -store-category-bundles = Наборы -store-category-tools = Инструменты -store-category-utility = Утилиты +store-category-chemicals = Химия +store-category-deception = Обман +store-category-disruption = Саботаж store-category-implants = Импланты -store-category-job = Работа -store-category-armor = Броня +store-category-allies = Подкрепления +store-category-job = Уникальное +store-category-wearables = Надеваемое store-category-pointless = Безделушки # Revenant && Changeling diff --git a/Resources/Locale/ru-RU/store/uplink-catalog.ftl b/Resources/Locale/ru-RU/store/uplink-catalog.ftl index 3f5fd7c246..c69363ede5 100644 --- a/Resources/Locale/ru-RU/store/uplink-catalog.ftl +++ b/Resources/Locale/ru-RU/store/uplink-catalog.ftl @@ -204,10 +204,10 @@ uplink-uplink-implanter-desc = Незаметно заказывайте обо uplink-deathrattle-implant-name = Коробка имплантатов предсмертного хрипа uplink-deathrattle-implant-desc = Коробка с достаточным количеством предсмертных хрипов для всего отряда. Передает сообщение, содержащее вашу позицию, на канал синдиката, когда вы переходите в критическое состояние или умираете. -uplink-death-acidifier-implant-name = Имплантер расплавления +uplink-death-acidifier-implant-name = Имплант расплавления uplink-death-acidifier-implant-desc = Полностью расплавляет пользователя и его снаряжение при использовании или смерти. -uplink-micro-bomb-implanter-name = Имплантер микро-бомбы +uplink-micro-bomb-implanter-name = Имплант микро-бомбы uplink-micro-bomb-implanter-desc = Взорвитесь при смерти или ручной активации с помощью этого имплантата. Уничтожает тело со всем снаряжением. # Bundles @@ -341,6 +341,9 @@ uplink-decoy-disk-desc = Кусок пластика с лентикулярны uplink-cigarettes-name = Пачка сигарет Синдиката uplink-cigarettes-desc = Элитные сигареты для элитных агентов. Насыщенные лекарствами, когда вам нужно больше, чем просто успокоить нервы. +uplink-clothing-conducting-gloves-name = Токопроводящие перчатки +uplink-clothing-conducting-gloves-desc = Выглядят как изолированные перчатки, но удар током нанесёт вам гораздо больше повреждений, чем если бы у вас вообще ничего не было на руках! Лучше всего подойдут в качестве подарка пассажирам, которых вы искренне недолюбливаете. + uplink-snack-box-name = Коробка закусок Синдиката uplink-snack-box-desc = Коробка с вкусными закусками и напитками, которые можно съесть в одиночку или разделить с командой. Включает одну нежеланную игрушку. diff --git a/Resources/Locale/ru-RU/white/items/hardlight_spear.ftl b/Resources/Locale/ru-RU/white/items/hardlight_spear.ftl index 421650fba6..471bcb5c34 100644 --- a/Resources/Locale/ru-RU/white/items/hardlight_spear.ftl +++ b/Resources/Locale/ru-RU/white/items/hardlight_spear.ftl @@ -1,7 +1,7 @@ hardlight-spear-pickup-failed = Вы не можете подобрать световое копьё. use-hardlight-spear-implant-action-name = Создать световое копьё. use-hardlight-spear-implant-action-description = Создает световое копьё в ваших руках. -uplink-hardlight-spear-implant-name = Имплантер световое копьё +uplink-hardlight-spear-implant-name = Имплант светового копья uplink-hardlight-spear-implant-desc = Имплант, вводимый в тело и активируемый по желанию пользователя. Он вызывает копье из твердого света, с помощью которого пользователь может сеять хаос. ent-SpearHardlight = световое копьё @@ -14,6 +14,3 @@ ent-HardlightSpearImplanter = { ent-BaseImplanter } ent-HardlightSpearImplant = имплант световое копьё .desc = Этот имплант создаёт световое копьё в ваших руках. -ent-SmokeImplanter = { ent-BaseImplanter } - .desc = {""} - .suffix = дым diff --git a/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml b/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml index d88ce161f3..089f560dc3 100644 --- a/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml +++ b/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml @@ -1,24 +1,24 @@ - type: reagentDispenserInventory id: SodaDispenserInventory inventory: - - DrinkCoconutWaterJug - - DrinkCoffeeJug - - DrinkColaBottleFull - - DrinkCreamCartonXL - - DrinkDrGibbJug - - DrinkGreenTeaJug - - DrinkIceJug - - DrinkJuiceLimeCartonXL - - DrinkJuiceOrangeCartonXL - - DrinkLemonLimeJug - - DrinkRootBeerJug - - DrinkSodaWaterBottleFull - - DrinkSpaceMountainWindBottleFull - - DrinkSpaceUpBottleFull - - DrinkSugarJug - - DrinkTeaJug - - DrinkTonicWaterBottleFull - - DrinkWaterMelonJuiceJug + - CoconutWater + - Coffee + - Cola + - Cream + - DrGibb + - GreenTea + - Ice + - JuiceLime + - JuiceOrange + - LemonLime + - RootBeer + - SodaWater + - SpaceMountainWind + - SpaceUp + - Sugar + - Tea + - TonicWater + - JuiceWatermelon - type: reagentDispenserInventory id: BoozeDispenserInventory diff --git a/Resources/Prototypes/Catalog/uplink_catalog.yml b/Resources/Prototypes/Catalog/uplink_catalog.yml index 3d1bf45487..1299135cda 100644 --- a/Resources/Prototypes/Catalog/uplink_catalog.yml +++ b/Resources/Prototypes/Catalog/uplink_catalog.yml @@ -129,11 +129,6 @@ Telecrystal: 8 categories: - UplinkWeaponry - conditions: - - !type:StoreWhitelistCondition - whitelist: - tags: - - NukeOpsUplink saleLimit: 1 - type: listing @@ -1540,20 +1535,6 @@ whitelist: - Botanist -- type: listing - id: uplinkRiggedBoxingGlovesPassenger - name: uplink-rigged-boxing-gloves-name - description: uplink-rigged-boxing-gloves-desc - productEntity: ClothingHandsGlovesBoxingRigged - cost: - Telecrystal: 6 - categories: - - UplinkJob - conditions: - - !type:BuyerJobCondition - whitelist: - - Passenger - - type: listing id: uplinkRiggedBoxingGlovesBoxer name: uplink-rigged-boxing-gloves-name @@ -1646,6 +1627,7 @@ - !type:BuyerJobCondition whitelist: - Clown + saleLimit: 1 - type: listing id: UplinkHoloclownKit diff --git a/Resources/Prototypes/_White/Actions/types.yml b/Resources/Prototypes/_White/Actions/types.yml index 5e15fa1039..d6b15755d9 100644 --- a/Resources/Prototypes/_White/Actions/types.yml +++ b/Resources/Prototypes/_White/Actions/types.yml @@ -1,7 +1,7 @@ - type: entity id: ActivateSmokeImplant - name: Выпустить облако дыма - description: Выпускает облако дыма вокруг вас. + name: use-smoke-implant-action-name + description: use-smoke-implant-action-desc noSpawn: true components: - type: InstantAction diff --git a/Resources/Prototypes/_White/Catalog/uplink.yml b/Resources/Prototypes/_White/Catalog/uplink.yml index 37846a1dfc..38ade88b96 100644 --- a/Resources/Prototypes/_White/Catalog/uplink.yml +++ b/Resources/Prototypes/_White/Catalog/uplink.yml @@ -72,12 +72,12 @@ cost: Telecrystal: 2 categories: - - UplinkUtility + - UplinkDeception - type: listing id: UplinkSmokeImplanter - name: Имплант дыма - description: Выпускает облако дыма при активации. + name: uplink-smoke-implant-name + description: uplink-smoke-implant-desc icon: { sprite: /Textures/Objects/Weapons/Grenades/smoke.rsi, state: icon } productEntity: SmokeImplanter cost: @@ -260,5 +260,5 @@ cost: Telecrystal: 8 categories: - - UplinkUtility + - UplinkDisruption saleLimit: 2 diff --git a/Resources/Prototypes/_White/Entities/Objects/Misc/subdermal_implants.yml b/Resources/Prototypes/_White/Entities/Objects/Misc/subdermal_implants.yml index 7236c1567c..33e09c8eb5 100644 --- a/Resources/Prototypes/_White/Entities/Objects/Misc/subdermal_implants.yml +++ b/Resources/Prototypes/_White/Entities/Objects/Misc/subdermal_implants.yml @@ -1,8 +1,8 @@ - type: entity parent: BaseSubdermalImplant id: SmokeImplant - name: имплант дыма - description: Этот имплант выпускает облако дыма при активации. + name: smoke implant + description: This implant releases smoke cloud on activation. noSpawn: true components: - type: SubdermalImplant diff --git a/Resources/Prototypes/_White/store_categories.yml b/Resources/Prototypes/_White/store_categories.yml index d839634d1b..b12ffea1d2 100644 --- a/Resources/Prototypes/_White/store_categories.yml +++ b/Resources/Prototypes/_White/store_categories.yml @@ -1,4 +1,4 @@ - type: storeCategory id: UplinkSales name: Скидки! - priority: 10 + priority: 11