From 2a94750b43fb8b5e2e69a25407daf4227b0f9dac Mon Sep 17 00:00:00 2001 From: ThereDrD0 <88589686+ThereDrD0@users.noreply.github.com> Date: Thu, 18 Jul 2024 00:21:50 +0300 Subject: [PATCH 1/8] Random fixes (#460) * captain gloves fix * fix janitor starting gear * fix for fix * add shoes for reporter and zookeeper * fix walkman * fix lights size and stored rotation * fix cult weapons size * trashbag rework --- .../Prototypes/Entities/Objects/Power/lights.yml | 5 +++++ .../Objects/Specific/Janitorial/trashbag.yml | 13 +++---------- .../Entities/Objects/Weapons/Melee/cult.yml | 6 ++++++ Resources/Prototypes/Loadouts/loadout_groups.yml | 2 +- Resources/Prototypes/Loadouts/role_loadouts.yml | 3 +++ .../Prototypes/Roles/Jobs/Civilian/janitor.yml | 4 ---- .../_White/JukeboxAndStuff/jukebox_stuff.yml | 2 +- 7 files changed, 19 insertions(+), 16 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Power/lights.yml b/Resources/Prototypes/Entities/Objects/Power/lights.yml index a5cf712d09..55a0ee45a3 100644 --- a/Resources/Prototypes/Entities/Objects/Power/lights.yml +++ b/Resources/Prototypes/Entities/Objects/Power/lights.yml @@ -12,6 +12,8 @@ layers: - map: [ enum.LightBulbVisualLayers.Base ] state: normal + - type: Item + size: Tiny - type: LightBulb - type: Damageable damageContainer: Inorganic @@ -75,6 +77,9 @@ id: BaseLightTube abstract: true components: + - type: Item + size: Small + storedRotation: -44 - type: Sprite sprite: Objects/Power/light_tube.rsi - type: LightBulb diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml index c749102518..0be2889d18 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml @@ -9,19 +9,15 @@ - state: icon-0 map: ["enum.StorageFillLayers.Fill"] - type: Storage - maxItemSize: Normal + maxItemSize: Large grid: - - 0,0,7,5 + - 0,0,3,8 quickInsert: true areaInsert: true storageOpenSound: collection: trashBagRustle storageInsertSound: collection: trashBagRustle - whitelist: - tags: - - Cartridge - - Trash - type: Tag tags: - TrashBag @@ -31,11 +27,8 @@ maxFillLevels: 4 fillBaseName: icon - type: Dumpable - - type: Clothing - slots: [belt] - sprite: Objects/Specific/Janitorial/trashbag.rsi - type: Item - size: Normal + size: Huge - type: entity name: trash bag diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/cult.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/cult.yml index 77ba283654..7961c3af43 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/cult.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/cult.yml @@ -18,6 +18,9 @@ path: /Audio/Weapons/bladeslice.ogg - type: Item size: Normal + storedRotation: 47 # It just works + shape: + - 0, 0, 2, 0 - type: Clothing sprite: Objects/Weapons/Melee/cult_dagger.rsi quickEquip: false @@ -68,6 +71,9 @@ path: /Audio/Weapons/bladeslice.ogg - type: Item size: Huge + storedRotation: 44 # It just works + shape: + - 0, 0, 4, 0 - type: Clothing sprite: Objects/Weapons/Melee/cult_blade.rsi quickEquip: false diff --git a/Resources/Prototypes/Loadouts/loadout_groups.yml b/Resources/Prototypes/Loadouts/loadout_groups.yml index 0407c9781b..f90079001a 100644 --- a/Resources/Prototypes/Loadouts/loadout_groups.yml +++ b/Resources/Prototypes/Loadouts/loadout_groups.yml @@ -77,7 +77,7 @@ - CaptainWintercoat - type: loadoutGroup - id: CaptainOuterClothing + id: CaptainGloves name: loadout-group-gloves minLimit: 0 loadouts: diff --git a/Resources/Prototypes/Loadouts/role_loadouts.yml b/Resources/Prototypes/Loadouts/role_loadouts.yml index eb9415617b..1fc85efb52 100644 --- a/Resources/Prototypes/Loadouts/role_loadouts.yml +++ b/Resources/Prototypes/Loadouts/role_loadouts.yml @@ -10,6 +10,7 @@ - CaptainJumpsuit - CaptainBackpack - CaptainOuterClothing + - CaptainGloves # WD - CaptainShoes - CaptainPDA # WD - Trinkets @@ -584,6 +585,7 @@ - CommonGlasses # WD - ZookeeperJumpsuit # WD - CommonBackpack + - CommonShoes # WD - ZookeeperPDA # WD - Trinkets @@ -597,6 +599,7 @@ - ReporterJumpsuit - CommonGloves # WD - CommonBackpack + - CommonShoes # WD - ReporterPDA # WD - Trinkets diff --git a/Resources/Prototypes/Roles/Jobs/Civilian/janitor.yml b/Resources/Prototypes/Roles/Jobs/Civilian/janitor.yml index f10d47093b..26d92839ce 100644 --- a/Resources/Prototypes/Roles/Jobs/Civilian/janitor.yml +++ b/Resources/Prototypes/Roles/Jobs/Civilian/janitor.yml @@ -17,10 +17,6 @@ - type: startingGear id: JanitorGear - equipment: - shoes: ClothingShoesGaloshes - id: JanitorPDA - ears: ClothingHeadsetService - type: startingGear id: JanitorMaidGear diff --git a/Resources/Prototypes/_White/JukeboxAndStuff/jukebox_stuff.yml b/Resources/Prototypes/_White/JukeboxAndStuff/jukebox_stuff.yml index de5bcb675a..c763495388 100644 --- a/Resources/Prototypes/_White/JukeboxAndStuff/jukebox_stuff.yml +++ b/Resources/Prototypes/_White/JukeboxAndStuff/jukebox_stuff.yml @@ -36,7 +36,7 @@ description: Mini cassette player suffix: Empty components: - - type: Jukebox + - type: WhiteJukebox maxAudioRange: 5 rolloffFactor: 3.5 - type: Sprite From d449396273f34de616d75defdd2d2e1681100f94 Mon Sep 17 00:00:00 2001 From: RavmorganButOnCocaine Date: Wed, 17 Jul 2024 21:22:53 +0000 Subject: [PATCH 2/8] Automatic changelog update --- Resources/Changelog/ChangelogWhite.yml | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Resources/Changelog/ChangelogWhite.yml b/Resources/Changelog/ChangelogWhite.yml index f5beb56f42..9a7987f08f 100644 --- a/Resources/Changelog/ChangelogWhite.yml +++ b/Resources/Changelog/ChangelogWhite.yml @@ -5986,3 +5986,46 @@ id: 390 time: '2024-07-17T18:06:22.0000000+00:00' url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/459 +- author: ThereDrD + changes: + - message: "\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u043D \u043C\ + \u0435\u0448\u043E\u043A \u0434\u043B\u044F \u043C\u0443\u0441\u043E\u0440\u0430\ + , \u0442\u0435\u043F\u0435\u0440\u044C \u043E\u043D \u043C\u043E\u0436\u0435\ + \u0442 \u043F\u043E\u0434\u0431\u0438\u0440\u0430\u0442\u044C \u0430\u0431\u0441\ + \u043E\u043B\u044E\u0442\u043D\u043E \u0432\u0441\u0435 \u043F\u0440\u0435\u0434\ + \u043C\u0435\u0442\u044B. \u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\ + \ \u0441\u0442\u0430\u043B\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\ + \u044C\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0431\u043E\u043B\u044C\ + \u0448\u0435 \u0431\u044B\u0442\u044C \u043F\u043E\u0445\u043E\u0436\u0438\u043C\ + \ \u043D\u0430 \u043C\u0435\u0448\u043E\u043A \u0434\u043B\u044F \u043C\u0443\ + \u0441\u043E\u0440\u0430. \u0410 \u0435\u0449\u0435 \u0435\u0433\u043E \u0442\ + \u0435\u043F\u0435\u0440\u044C \u043D\u0435\u043B\u044C\u0437\u044F \u043D\u0430\ + \u0434\u0435\u0442\u044C \u043D\u0430 \u043F\u043E\u044F\u0441 \u0432 \u0440\ + \u0430\u043C\u043A\u0430\u0445 \u0431\u0430\u043B\u0430\u043D\u0441\u0430" + type: Tweak + - message: "\u0420\u0430\u0437\u043C\u0435\u0440\u044B \u043B\u0430\u043C\u043F\u043E\ + \u0447\u0435\u043A \u0438 \u043C\u0435\u0447\u0430 \u0441 \u043A\u0438\u043D\ + \u0436\u0430\u043B\u043E\u043C \u043A\u0443\u043B\u044C\u0442\u0430 \u0438\u0437\ + \u043C\u0435\u043D\u0438\u043B\u0438\u0441\u044C \u0438 \u0441\u0442\u0430\u043B\ + \u0438 \u043B\u0443\u0447\u0448\u0435." + type: Tweak + - message: "\u041F\u043E\u0444\u0438\u043A\u0448\u0435\u043D\u044B \u043B\u043E\u0430\ + \u0434\u0430\u0443\u0442\u044B \u043A\u0430\u043F\u0438\u0442\u0430\u043D\u0441\ + \u043A\u0438\u0445 \u043F\u0435\u0440\u0447\u0430\u0442\u043E\u043A, \u043D\u0435\ + \u0434\u043E\u0441\u0442\u0430\u044E\u0449\u0438\u0435 \u0431\u043E\u0442\u0438\ + \u043D\u043A\u0438 \u0443 \u0440\u0435\u043F\u043E\u0440\u0442\u0435\u0440\u0430\ + \ \u0438 \u0445\u0440\u0430\u043D\u0438\u0442\u0435\u043B\u044F \u0437\u043E\ + \u043E\u043F\u0430\u0440\u043A\u0430" + type: Fix + - message: "\u041F\u043E\u0444\u0438\u043A\u0448\u0435\u043D \u0441\u0442\u0430\u0442\ + \u0438\u0447\u043D\u044B\u0439 \u043B\u0443\u0442 \u0443 \u0443\u0431\u043E\u0440\ + \u0449\u0438\u043A\u0430, \u0442\u0435\u043F\u0435\u0440\u044C \u0443 \u043D\ + \u0435\u0433\u043E \u043D\u0435\u0442 \u0432\u0442\u043E\u0440\u043E\u0433\u043E\ + \ \u043F\u0434\u0430 \u0438 \u0433\u0430\u043B\u043E\u0448" + type: Fix + - message: "\u041F\u043E\u0444\u0438\u043A\u0448\u0435\u043D \u0434\u0438\u0434\u0436\ + \u0435\u0439\u0441\u043A\u0438\u0435 \u043F\u043B\u0435\u0435\u0440" + type: Fix + id: 391 + time: '2024-07-17T21:21:50.0000000+00:00' + url: https://api.github.com/repos/frosty-dev/ss14-core/pulls/460 From 8cfb81bbace2e4269a0746ca74b80b3dbde12a41 Mon Sep 17 00:00:00 2001 From: ThereDrD0 <88589686+ThereDrD0@users.noreply.github.com> Date: Thu, 18 Jul 2024 01:10:03 +0300 Subject: [PATCH 3/8] Fix loadouts 4 (#461) * add detective pda * add mime gloves * add appraisal tool and clipboard for cargo * more limits * rename and folders fix --- .../ru-RU/_white/loadouts/loadoutGroups.ftl | 2 +- .../Prototypes/Loadouts/Jobs/Cargo/common.yml | 23 +++++++++++----- .../Loadouts/Jobs/Justice/common.yml | 25 +++++++++++------- .../Loadouts/Jobs/Security/detective.yml | 13 ++++++++-- Resources/Prototypes/Loadouts/Jobs/common.yml | 8 ++++++ .../Prototypes/Loadouts/loadout_groups.yml | 26 ++++++++++++++++++- .../Prototypes/Loadouts/role_loadouts.yml | 6 ++++- 7 files changed, 82 insertions(+), 21 deletions(-) diff --git a/Resources/Locale/ru-RU/_white/loadouts/loadoutGroups.ftl b/Resources/Locale/ru-RU/_white/loadouts/loadoutGroups.ftl index c1545c9782..021fcb33b5 100644 --- a/Resources/Locale/ru-RU/_white/loadouts/loadoutGroups.ftl +++ b/Resources/Locale/ru-RU/_white/loadouts/loadoutGroups.ftl @@ -10,7 +10,7 @@ loadout-group-belt = Пояс loadout-group-gloves = Перчатки loadout-group-shoes = Ботинки loadout-group-pda = ПДА -loadout-group-job-trinkets = Уник. побрякушки +loadout-group-job-trinkets = Рабочий инвентарь loadout-group-inhand = В руках loadout-group-trinkets = Побрякушки loadout-group-instruments = Муз. инструменты diff --git a/Resources/Prototypes/Loadouts/Jobs/Cargo/common.yml b/Resources/Prototypes/Loadouts/Jobs/Cargo/common.yml index a6c7cb10b9..932b5ee9a2 100644 --- a/Resources/Prototypes/Loadouts/Jobs/Cargo/common.yml +++ b/Resources/Prototypes/Loadouts/Jobs/Cargo/common.yml @@ -32,6 +32,16 @@ equipment: head: ClothingHeadHatBeretMerc +# Ears + +- type: itemLoadout # WD + id: CargoHeadset + equipment: CargoHeadset +- type: startingGear + id: CargoHeadset + equipment: + ears: ClothingHeadsetCargo + # Eyes - type: itemLoadout # WD @@ -129,12 +139,13 @@ equipment: back: ClothingBackpackMerc -# Ears +# Job Trinkets - type: itemLoadout # WD - id: CargoHeadset - equipment: CargoHeadset + id: CargoAppraisalTool + equipment: CargoAppraisalTool - type: startingGear - id: CargoHeadset - equipment: - ears: ClothingHeadsetCargo + id: CargoAppraisalTool + storage: + back: + - AppraisalTool diff --git a/Resources/Prototypes/Loadouts/Jobs/Justice/common.yml b/Resources/Prototypes/Loadouts/Jobs/Justice/common.yml index 2cad6e6086..82a625d7d3 100644 --- a/Resources/Prototypes/Loadouts/Jobs/Justice/common.yml +++ b/Resources/Prototypes/Loadouts/Jobs/Justice/common.yml @@ -5,37 +5,42 @@ equipment: FolderBlack - type: startingGear id: FolderBlack - equipment: - id: BoxFolderBlack + storage: + back: + - BoxFolderBlack - type: itemLoadout # WD id: FolderWhite equipment: FolderWhite - type: startingGear id: FolderWhite - equipment: - id: BoxFolderWhite + storage: + back: + - BoxFolderWhite - type: itemLoadout # WD id: FolderRed equipment: FolderRed - type: startingGear id: FolderRed - equipment: - id: BoxFolderRed + storage: + back: + - BoxFolderRed - type: itemLoadout # WD id: Clipboard equipment: Clipboard - type: startingGear id: Clipboard - equipment: - id: BoxFolderClipboard + storage: + back: + - BoxFolderClipboard - type: itemLoadout # WD id: JudgeHammer equipment: JudgeHammer - type: startingGear id: JudgeHammer - equipment: - id: OmntnsHammer + storage: + back: + - OmntnsHammer diff --git a/Resources/Prototypes/Loadouts/Jobs/Security/detective.yml b/Resources/Prototypes/Loadouts/Jobs/Security/detective.yml index a02a791a71..28a6015c19 100644 --- a/Resources/Prototypes/Loadouts/Jobs/Security/detective.yml +++ b/Resources/Prototypes/Loadouts/Jobs/Security/detective.yml @@ -82,13 +82,22 @@ equipment: outerClothing: ClothingOuterCoatDetective - # Gloves -- type: itemLoadout +- type: itemLoadout # WD id: GlovesForensic equipment: GlovesForensic - type: startingGear id: GlovesForensic equipment: gloves: ClothingHandsGlovesForensic + +# PDA + +- type: itemLoadout # WD + id: DetectivePDA + equipment: DetectivePDA +- type: startingGear + id: DetectivePDA + equipment: + id: DetectivePDA diff --git a/Resources/Prototypes/Loadouts/Jobs/common.yml b/Resources/Prototypes/Loadouts/Jobs/common.yml index 931d85b89d..b51c76a769 100644 --- a/Resources/Prototypes/Loadouts/Jobs/common.yml +++ b/Resources/Prototypes/Loadouts/Jobs/common.yml @@ -173,6 +173,14 @@ equipment: gloves: ClothingHandsGlovesColorBlack +- type: itemLoadout + id: GlovesColorWhite + equipment: GlovesColorWhite +- type: startingGear + id: GlovesColorWhite + equipment: + gloves: ClothingHandsGlovesColorWhite + - type: itemLoadout id: GlovesLatex equipment: GlovesLatex diff --git a/Resources/Prototypes/Loadouts/loadout_groups.yml b/Resources/Prototypes/Loadouts/loadout_groups.yml index f90079001a..97a6baf8aa 100644 --- a/Resources/Prototypes/Loadouts/loadout_groups.yml +++ b/Resources/Prototypes/Loadouts/loadout_groups.yml @@ -595,6 +595,15 @@ loadouts: - MimeWintercoat +- type: loadoutGroup + id: MimeGloves + name: loadout-group-gloves + minLimit: 0 + loadouts: + - GlovesColorWhite + - GlovesColorBlack + - GlovesFingerless + - type: loadoutGroup # WD id: MimePDA name: loadout-group-pda @@ -949,11 +958,20 @@ - SalvagePDA - type: loadoutGroup # WD - id: CommonCargoEars + id: CommonCargoHeadset name: loadout-group-ears loadouts: - CargoHeadset +- type: loadoutGroup # WD + id: CommonCargoJobTrinkets + name: loadout-group-job-trinkets + minLimit: 0 + maxLimit: 2 + loadouts: + - CargoAppraisalTool + - Clipboard + # Engineering - type: loadoutGroup id: ChiefEngineerHead @@ -1518,6 +1536,12 @@ - ShoesLeather - BootsJack +- type: loadoutGroup # WD + id: DetectivePDA + name: loadout-group-pda + loadouts: + - DetectivePDA + - type: loadoutGroup id: SecurityCadetJumpsuit name: loadout-group-jumpsuit diff --git a/Resources/Prototypes/Loadouts/role_loadouts.yml b/Resources/Prototypes/Loadouts/role_loadouts.yml index 1fc85efb52..f14a9b5069 100644 --- a/Resources/Prototypes/Loadouts/role_loadouts.yml +++ b/Resources/Prototypes/Loadouts/role_loadouts.yml @@ -173,6 +173,7 @@ - MimeJumpsuit - MimeBackpack - MimeOuterClothing + - MimeGloves # WD - CommonShoes # WD - MimePDA - Trinkets @@ -205,13 +206,14 @@ - CommonGloves # WD - QuartermasterShoes - QuartermasterPDA # WD + - CommonCargoJobTrinkets - Trinkets - type: roleLoadout id: JobCargoTechnician groups: - CargoTechnicianHead - - CommonCargoEars # WD + - CommonCargoHeadset # WD - CommonGlasses # WD - CargoTechnicianJumpsuit - CargoTechnicianBackpack @@ -219,6 +221,7 @@ - CommonGloves # WD - CargoTechnicianShoes - CargoTechnicianPDA + - CommonCargoJobTrinkets - Trinkets - type: roleLoadout @@ -435,6 +438,7 @@ - DetectiveOuterClothing - DetectiveGloves - DetectiveShoes + - DetectivePDA # WD - Trinkets - type: roleLoadout From d32eb158d4ce6cd077efa939d946bfa787335d97 Mon Sep 17 00:00:00 2001 From: Spatison <137375981+Spatison@users.noreply.github.com> Date: Thu, 18 Jul 2024 01:33:28 +0300 Subject: [PATCH 4/8] =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B5=D0=B4=D0=BC=D0=B5=D1=82=D1=8B=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B6=D0=BD=D0=BE=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=B8=D0=B7=20=D1=80=D1=83=D0=BA=20=D0=B2?= =?UTF-8?q?=20=D1=80=D1=83=D0=BA=D0=B8=20(#462)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add: Теперь предеты можно передовать из рук в руки * Кудато не туда уехало --- Content.Client/Input/ContentContexts.cs | 1 + .../Options/UI/Tabs/KeyRebindTab.xaml.cs | 1 + Content.Client/Options/UI/Tabs/MiscTab.xaml | 1 + .../Options/UI/Tabs/MiscTab.xaml.cs | 6 + .../OfferItem/OfferItemIndicatorsOverlay.cs | 72 ++++++++ .../_White/OfferItem/OfferItemSystem.cs | 52 ++++++ .../_White/Alert/Click/AcceptOffer.cs | 24 +++ .../_White/OfferItem/OfferItemSystem.cs | 83 +++++++++ Content.Shared/Alert/AlertType.cs | 3 +- Content.Shared/Input/ContentKeyFunctions.cs | 1 + .../_White/OfferItem/OfferItemComponent.cs | 26 +++ .../SharedOfferItemSystem.Interactions.cs | 74 ++++++++ .../_White/OfferItem/SharedOfferItemSystem.cs | 158 ++++++++++++++++++ Content.Shared/_White/WhiteCVars.cs | 7 + Resources/Locale/en-US/alerts/alerts.ftl | 3 + .../en-US/escape-menu/ui/options-menu.ftl | 2 + .../en-US/interaction/offer-item-system.ftl | 9 + Resources/Locale/ru-RU/alerts/alerts.ftl | 3 + .../ru-RU/escape-menu/ui/options-menu.ftl | 2 + .../ru-RU/interaction/offer-item-system.ftl | 9 + Resources/Prototypes/Alerts/alerts.yml | 11 ++ .../Prototypes/Entities/Mobs/Species/base.yml | 1 + .../Interface/Alerts/offer_item.rsi/meta.json | 14 ++ .../Alerts/offer_item.rsi/offer_item.png | Bin 0 -> 556 bytes .../Interface/give_item.rsi/give_item.png | Bin 0 -> 7276 bytes .../White/Interface/give_item.rsi/meta.json | 14 ++ Resources/keybinds.yml | 3 + 27 files changed, 579 insertions(+), 1 deletion(-) create mode 100644 Content.Client/_White/OfferItem/OfferItemIndicatorsOverlay.cs create mode 100644 Content.Client/_White/OfferItem/OfferItemSystem.cs create mode 100644 Content.Server/_White/Alert/Click/AcceptOffer.cs create mode 100644 Content.Server/_White/OfferItem/OfferItemSystem.cs create mode 100644 Content.Shared/_White/OfferItem/OfferItemComponent.cs create mode 100644 Content.Shared/_White/OfferItem/SharedOfferItemSystem.Interactions.cs create mode 100644 Content.Shared/_White/OfferItem/SharedOfferItemSystem.cs create mode 100644 Resources/Locale/en-US/interaction/offer-item-system.ftl create mode 100644 Resources/Locale/ru-RU/interaction/offer-item-system.ftl create mode 100644 Resources/Textures/White/Interface/Alerts/offer_item.rsi/meta.json create mode 100644 Resources/Textures/White/Interface/Alerts/offer_item.rsi/offer_item.png create mode 100644 Resources/Textures/White/Interface/give_item.rsi/give_item.png create mode 100644 Resources/Textures/White/Interface/give_item.rsi/meta.json diff --git a/Content.Client/Input/ContentContexts.cs b/Content.Client/Input/ContentContexts.cs index 8753654fc3..fd6eee0e7b 100644 --- a/Content.Client/Input/ContentContexts.cs +++ b/Content.Client/Input/ContentContexts.cs @@ -81,6 +81,7 @@ namespace Content.Client.Input human.AddFunction(ContentKeyFunctions.Arcade2); human.AddFunction(ContentKeyFunctions.Arcade3); human.AddFunction(ContentKeyFunctions.LieDown); // WD EDIT + human.AddFunction(ContentKeyFunctions.OfferItem); // WD EDIT // actions should be common (for ghosts, mobs, etc) common.AddFunction(ContentKeyFunctions.OpenActionsMenu); diff --git a/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs b/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs index b5449c99d2..7cd48d338f 100644 --- a/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs +++ b/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs @@ -191,6 +191,7 @@ namespace Content.Client.Options.UI.Tabs AddButton(ContentKeyFunctions.MoveStoredItem); AddButton(ContentKeyFunctions.RotateStoredItem); AddButton(ContentKeyFunctions.SaveItemLocation); + AddButton(ContentKeyFunctions.OfferItem); // WD EDIT AddButton(ContentKeyFunctions.LieDown); // WD EDIT AddCheckBox("ui-options-function-auto-get-up", _cfg.GetCVar(WhiteCVars.AutoGetUp), HandleToggleAutoGetUp); // WD EDIT diff --git a/Content.Client/Options/UI/Tabs/MiscTab.xaml b/Content.Client/Options/UI/Tabs/MiscTab.xaml index 3810cddbb9..815254b788 100644 --- a/Content.Client/Options/UI/Tabs/MiscTab.xaml +++ b/Content.Client/Options/UI/Tabs/MiscTab.xaml @@ -50,6 +50,7 @@ StyleClasses="LabelKeyText"/> +