From bbfe8910691851bd150af164a73c23e4d5330cce Mon Sep 17 00:00:00 2001 From: KaiserMaus Date: Thu, 11 Sep 2025 17:30:56 +0100 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B3=D0=BE=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=20=D0=A8=D0=B0=D1=85=D1=82=D1=91=D1=80=D0=B0?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B2=D0=B2=D0=BE=D0=B4=D0=B0=20=D0=B2?= =?UTF-8?q?=20=D1=80=D0=B0=D1=83=D0=BD=D0=B4=20(#3193)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_sunrise/entities/objects/devices/pda.ftl | 2 +- .../storage/closets/lockers/lockers.ftl | 8 ++- Resources/Prototypes/Access/misc.yml | 1 + .../Objects/Specific/Salvage/ore_bag.yml | 1 + .../Objects/Weapons/Melee/e_pickaxe.yml | 6 ++- .../Storage/Closets/Lockers/lockers.yml | 46 ++++++++++++++++++ .../Roles/Jobs/Cargo/mining_specialist.yml | 7 +-- .../Structures/Storage/closet.rsi/meta.json | 9 ++++ .../Structures/Storage/closet.rsi/mining.png | Bin 0 -> 245 bytes .../Storage/closet.rsi/mining_door.png | Bin 0 -> 256 bytes .../Storage/closet.rsi/mining_open.png | Bin 0 -> 218 bytes 11 files changed, 73 insertions(+), 7 deletions(-) create mode 100644 Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining.png create mode 100644 Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining_door.png create mode 100644 Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining_open.png diff --git a/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/objects/devices/pda.ftl b/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/objects/devices/pda.ftl index 537f00bf0e..41324fbd28 100644 --- a/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/objects/devices/pda.ftl +++ b/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/objects/devices/pda.ftl @@ -52,7 +52,7 @@ ent-NtrLeadGuardPDA = КПК командира ИСН .desc = { ent-BasePDA.desc } ent-MailCarrierPDA = КПК почтальона .desc = { ent-BasePDA.desc } -ent-MiningPDA = mining PDA +ent-MiningPDA = КПК шахтёра .desc = В каждой трещине грязь. ent-BlueShieldPDA = КПК офицера «Синий щит» .desc = { ent-BasePDA.desc } diff --git a/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/structures/storage/closets/lockers/lockers.ftl b/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/structures/storage/closets/lockers/lockers.ftl index 4eba1ca735..e42bc4ed22 100644 --- a/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/structures/storage/closets/lockers/lockers.ftl +++ b/Resources/Locale/ru-RU/_prototypes/_sunrise/entities/structures/storage/closets/lockers/lockers.ftl @@ -7,7 +7,7 @@ ent-LockerPilot = шкаф Пилота ent-GunSafeIonRifle = оружейный сейф с ионной пушкой .suffix = Ионная пушка .desc = { ent-GunSafe.desc } -ent-ClosetPatologoanatom = Шкаф патологоанатома +ent-ClosetPatologoanatom = шкафчик патологоанатома .desc = У каждого свои скелеты в шкафу... у него буквально. .suffix = Пусто ent-ClosetPatologoanatomFilled = { ent-ClosetPatologoanatom } @@ -18,3 +18,9 @@ ent-LockerBlueshield = шкаф офицера «Синий щит» ent-GunSafeRPGNanotrasen = оружейный сейф с РПГ-7 .suffix = РПГ .desc = { ent-GunSafe.desc } +ent-LockerMiningSpecialist = снаряжение специалиста по добыче руды + .desc = Налей во флягу мужественного дворфа да сумку для руды не забудь. Камни и сокровища! + .suffix = Пусто +ent-LockerMiningSpecialistFilled = { ent-LockerMiningSpecialist } + .desc = { ent-LockerMiningSpecialist.desc } + .suffix = Заполнен diff --git a/Resources/Prototypes/Access/misc.yml b/Resources/Prototypes/Access/misc.yml index 4a17affcfe..d1ebd708e1 100644 --- a/Resources/Prototypes/Access/misc.yml +++ b/Resources/Prototypes/Access/misc.yml @@ -40,6 +40,7 @@ - Ntrep # Sunrise-edit - Barber # Sunrise-edit - Mail # Sunrise-edit + - Mining # Sunrise-edit - CargoPurchaseAccess # Sunrise-edit - ResearchConsoleAccess # Sunrise-edit diff --git a/Resources/Prototypes/Entities/Objects/Specific/Salvage/ore_bag.yml b/Resources/Prototypes/Entities/Objects/Specific/Salvage/ore_bag.yml index 87643773db..2bb3f8a54b 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Salvage/ore_bag.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Salvage/ore_bag.yml @@ -5,6 +5,7 @@ description: A robust bag for salvage specialists and miners alike to carry large amounts of ore. Magnetises any nearby ores when attached to a belt. components: - type: MagnetPickup + range: 3.75 # Sunrise-add - type: Sprite sprite: Objects/Specific/Mining/ore_bag.rsi state: icon diff --git a/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Melee/e_pickaxe.yml b/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Melee/e_pickaxe.yml index eebe08f6b5..d6a02bfe92 100644 --- a/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Melee/e_pickaxe.yml +++ b/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Melee/e_pickaxe.yml @@ -1,6 +1,6 @@ - type: entity id: EnergyPickaxe - parent: EnergySword # Has a reflect chance + parent: [ BaseCargoContraband, EnergySword] # Has a reflect chance name: holopickaxe description: A holographic mining tool with blades comprised of hard light. Doesn't pack the same punch as an energy weapon, but more compact than most mining tools when turned off. components: @@ -9,6 +9,8 @@ activatedShape: - 0,0,2,0 - 1,1,1,2 + - type: MeleeWeapon + attackRate: 1.5 - type: ItemToggleMeleeWeapon activatedDamage: types: @@ -45,7 +47,7 @@ - state: inhand-right-blade shader: unshaded - type: Reflect - reflectProb: 0.05 + reflectProb: 0.1 - type: Tag tags: - Pickaxe diff --git a/Resources/Prototypes/_Sunrise/Entities/Structures/Storage/Closets/Lockers/lockers.yml b/Resources/Prototypes/_Sunrise/Entities/Structures/Storage/Closets/Lockers/lockers.yml index 75ef2302c5..2c9d545fbb 100644 --- a/Resources/Prototypes/_Sunrise/Entities/Structures/Storage/Closets/Lockers/lockers.yml +++ b/Resources/Prototypes/_Sunrise/Entities/Structures/Storage/Closets/Lockers/lockers.yml @@ -120,3 +120,49 @@ - id: RubberStampPath - id: ClothingOuterHospitalGown amount: 2 + +- type: entity + id: LockerMiningSpecialist + parent: LockerBaseSecure + suffix: Empty + name: mining specialist's equipment + description: Nevermind the pickaxe. + components: + - type: Appearance + - type: Sprite + sprite: _Sunrise/Structures/Storage/closet.rsi + - type: EntityStorageVisuals + stateBaseClosed: mining + stateDoorOpen: mining_open + stateDoorClosed: mining_door + - type: AccessReader + access: [["Mining"]] + alertAccesses: + red: RedAlertAccesses + blue: BlueAlertAccessesHOS + gamma: GammaAlertAccesses + +- type: entity + id: LockerMiningSpecialistFilled + parent: LockerMiningSpecialist + suffix: Filled, Hardsuit + name: mining specialist's equipment + description: Nevermind the pickaxe. + components: + - type: StorageFill + contents: + - id: ClothingOuterHardsuitSalvage + - id: ToolboxMechanicalFilledAllTools + - id: ClothingMaskGasExplorer + - id: AirTankFilled + - id: RadioHandheld + - id: OreBag + - id: Nanopaste + - id: WeaponProtoKineticAccelerator + - id: HandHeldMassScanner + - id: PKAUpgradeRange + prob: 0.1 + - id: PKAUpgradeFireRate + prob: 0.1 + - id: PKAUpgradeDamage + prob: 0.1 diff --git a/Resources/Prototypes/_Sunrise/Roles/Jobs/Cargo/mining_specialist.yml b/Resources/Prototypes/_Sunrise/Roles/Jobs/Cargo/mining_specialist.yml index 04e9961f6d..df10dc3fec 100644 --- a/Resources/Prototypes/_Sunrise/Roles/Jobs/Cargo/mining_specialist.yml +++ b/Resources/Prototypes/_Sunrise/Roles/Jobs/Cargo/mining_specialist.yml @@ -26,9 +26,10 @@ jumpsuit: ClothingUniformJumpsuitMiningSpecialist id: MiningPDA ears: ClothingHeadsetMining - storage: - back: - - EnergyPickaxe # Временно. + belt: OreBag + head: ClothingHeadHatHardhatYellowDark + pocket1: MineralScannerUnpowered + pocket2: EnergyPickaxe - type: chameleonOutfit id: MiningSpecialistChameleonOutfit diff --git a/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/meta.json b/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/meta.json index 0652bf4cd0..b0904294fd 100644 --- a/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/meta.json +++ b/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/meta.json @@ -63,6 +63,15 @@ }, { "name": "pilot_open" + }, + { + "name": "mining_open" + }, + { + "name": "mining" + }, + { + "name": "mining_door" } ] } diff --git a/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining.png b/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining.png new file mode 100644 index 0000000000000000000000000000000000000000..af7c7bb87e988d5902309568e691db93b9705494 GIT binary patch literal 245 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|3<7*YT!FNs zrcuNn%=Ymqb1emo7-%(b$u<|v(@b@r*dwn1?mwf z3GxeO_>T$>1avzC<-$E(978O6lM@u=43rtye3}yzQ&SU@aG=wd)mEh7^M?wINg0*`izeU!)~T93yGUt77r2xv>!Av7l|qa{XMX=aRC!k=QLK!&zlkg8-SiT YJC$>PV8FZ^Kr0wLUHx3vIVCg!0E*UE`v3p{ literal 0 HcmV?d00001 diff --git a/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining_door.png b/Resources/Textures/_Sunrise/Structures/Storage/closet.rsi/mining_door.png new file mode 100644 index 0000000000000000000000000000000000000000..92f907918c7573a80a082315eadfb78b82f07ef8 GIT binary patch literal 256 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|v;urWT!AzY z=u5FWYC3tCN`#q5lsQ&c$BIwNlb%*!w7Jd3!aZAC*H_)XQuO;gkZQh?AirRS|HvTR z>$V6`Cd<>sF~p+x?F4VW1_KV4)rJdes{X(BS{^Hzu$ue+wCR!yw$5jdP2pjb;X1VD zl*1zy4vrVC4t|<@<~0bbyB<;!Il+F|n$Jp8cuF=S>%NqE20PUtEKn0+h_Su