From 9f39931732046ca52b837f05bef0d7e3d18f633c Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Fri, 20 Dec 2024 05:38:08 +0000 Subject: [PATCH] early merge of rebalanced salv weapon researching (#2077) * add fauna protection module * re-add crusher recipes to secfab, move pka to secfab, t1 -> t2 * remove shovel from mining module, add recipes to emagged lathes * you have died of dissin terry * add an icon * re-add crusher recipes to secfab, move pka to secfab, t1 -> t2 --------- Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: deltanedas <@deltanedas:kde.org> --- .../Locale/en-US/research/technologies.ftl | 2 +- .../Specific/Robotics/borg_modules.yml | 18 ++++++++- .../Objects/Weapons/Guns/Basic/pka.yml | 16 ++++++++ .../Entities/Structures/Machines/lathe.yml | 11 ++++- .../Prototypes/Recipes/Lathes/devices.yml | 10 ----- .../Prototypes/Recipes/Lathes/robotics.yml | 7 ++++ .../Prototypes/Recipes/Lathes/security.yml | 38 ++++++++++++++++++ Resources/Prototypes/Research/arsenal.yml | 33 +++++++-------- .../Actions/actions_borg.rsi/fauna-module.png | Bin 0 -> 456 bytes .../Actions/actions_borg.rsi/meta.json | 5 ++- .../Robotics/borgmodule.rsi/icon-carp.png | Bin 0 -> 253 bytes .../Robotics/borgmodule.rsi/meta.json | 5 ++- 12 files changed, 114 insertions(+), 31 deletions(-) create mode 100644 Resources/Textures/Interface/Actions/actions_borg.rsi/fauna-module.png create mode 100644 Resources/Textures/Objects/Specific/Robotics/borgmodule.rsi/icon-carp.png diff --git a/Resources/Locale/en-US/research/technologies.ftl b/Resources/Locale/en-US/research/technologies.ftl index 0b0970ec08f..91a803da6ea 100644 --- a/Resources/Locale/en-US/research/technologies.ftl +++ b/Resources/Locale/en-US/research/technologies.ftl @@ -22,7 +22,6 @@ research-technology-portable-fission = Portable Fission research-technology-space-scanning = Space Scanning research-technology-excavation = Mass Excavation -research-technology-salvage-weapons = Salvage Weapons research-technology-draconic-munitions = Draconic Munitions research-technology-uranium-munitions = Uranium Munitions research-technology-explosive-technology = Explosive Technology @@ -32,6 +31,7 @@ research-technology-nonlethal-ammunition = Nonlethal Ammunition research-technology-practice-ammunition = Practice Ammunition research-technology-concentrated-laser-weaponry = Concentrated Laser Weaponry research-technology-wave-particle-harnessing = Wave Particle Harnessing +research-technology-experimental-salvage-weaponry = Experimental Salvage Weaponry research-technology-advanced-riot-control = Advanced Riot Control research-technology-portable-microfusion-weaponry = Portable Microfusion Weaponry research-technology-experimental-battery-ammo = Experimental Battery Ammo diff --git a/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml b/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml index c37189f4148..b179c7aa042 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml @@ -220,7 +220,6 @@ - type: ItemBorgModule items: - MiningDrill - - Shovel - MineralScannerUnpowered - OreBag - Crowbar @@ -244,6 +243,23 @@ - type: BorgModuleIcon icon: { sprite: Interface/Actions/actions_borg.rsi, state: grappling-module } +- type: entity + parent: [ BaseBorgModuleCargo, BaseProviderBorgModule ] + id: BorgModuleFauna + name: fauna protection module + description: A borg module for protection from deadly space fauna. + components: + - type: Sprite + layers: + - state: cargo + - state: icon-carp + - type: ItemBorgModule + items: + - WeaponProtoKineticAcceleratorOneHanded + - WeaponCrusherDagger + - type: BorgModuleIcon + icon: { sprite: Interface/Actions/actions_borg.rsi, state: fauna-module } + # engineering modules - type: entity id: BorgModuleAdvancedTool diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml index 409f622f89c..9bbc8129a4b 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml @@ -13,3 +13,19 @@ map: [ "empty-icon" ] # todo: add itemcomponent with inhandVisuals states using unused texture and animation assets in kinetic_accelerator.rsi # todo: add clothingcomponent with clothingVisuals states using unused texture and animations assets in kinetic_accelerator.rsi + +- type: entity + parent: WeaponProtoKineticAccelerator + id: WeaponProtoKineticAcceleratorOneHanded + suffix: One-Handed, DO NOT MAP + description: Fires low-damage kinetic bolts at a short range. This kind has a gyroscope to keep a cyborg's aim steady. + components: + - type: GunWieldBonus + wieldBonusExamineMessage: null + minAngle: 0 + maxAngle: 0 + - type: Gun + minAngle: 1 + maxAngle: 2 + - type: UseDelay + delay: 0 # You can't dual wield this as a borg so no need for a delay diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index d58d5f4f75a..0806d6e99c4 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -232,6 +232,7 @@ - RiotShield - SpeedLoaderMagnum - SpeedLoaderMagnumEmpty + - WeaponProtoKineticAccelerator # DeltaV - .38 special ammo - Add .38 special lethals to emagged autolathe - SpeedLoaderSpecial - SpeedLoaderSpecialEmpty @@ -350,7 +351,6 @@ - SyringeBluespace #- WeaponForceGun # DeltaV - WeaponLaserSvalinn - - WeaponProtoKineticAccelerator - WeaponGrapplingGun #- WeaponTetherGun # DeltaV - ClothingBackpackHolding @@ -377,6 +377,7 @@ # End DeltaV additions - type: EmagLatheRecipes emagDynamicRecipes: + - BorgModuleFauna - BoxBeanbag - BoxShotgunIncendiary - BoxShotgunUranium @@ -416,6 +417,9 @@ - WeaponLaserCannon - WeaponLaserCarbine - WeaponXrayCannon + - WeaponCrusher + - WeaponCrusherDagger + - WeaponCrusherGlaive # Begin DeltaV additions - BoxShellSoulbreaker # Nyanotrasen - Shotgun shell to get rid of psionics - WeaponEnergyGun # Energy Gun @@ -807,6 +811,7 @@ - WeaponDisablerPractice - WeaponFlareGunSecurity - WeaponLaserCarbinePractice + - WeaponProtoKineticAccelerator - Zipties # Begin DeltaV additions - ClothingNeckShockCollar # Nyanotrasen - Shock Collar recipe @@ -821,6 +826,7 @@ # End DeltaV additions dynamicRecipes: - EncryptionKeySyndie # Nyano + - BorgModuleFauna - BoxBeanbag - BoxShotgunIncendiary - BoxShotgunUranium @@ -871,6 +877,9 @@ - WeaponLaserCarbine - WeaponXrayCannon - ClothingBackpackElectropack + - WeaponCrusher + - WeaponCrusherDagger + - WeaponCrusherGlaive # Begin DeltaV additions - BoxShellSoulbreaker # Nyanotrasen - Shotgun shell to get rid of psionics - ClothingHeadHelmetInsulated # Nyanotrasen - Insulative headgear diff --git a/Resources/Prototypes/Recipes/Lathes/devices.yml b/Resources/Prototypes/Recipes/Lathes/devices.yml index 88ea4459dc9..368ddf7bacc 100644 --- a/Resources/Prototypes/Recipes/Lathes/devices.yml +++ b/Resources/Prototypes/Recipes/Lathes/devices.yml @@ -175,16 +175,6 @@ Glass: 100 Uranium: 100 -- type: latheRecipe - id: WeaponProtoKineticAccelerator - result: WeaponProtoKineticAccelerator - category: Weapons - completetime: 5 - materials: - Steel: 1000 - Glass: 500 - Silver: 100 - #- type: latheRecipe #DeltaV - LRP # id: WeaponTetherGun # result: WeaponTetherGun diff --git a/Resources/Prototypes/Recipes/Lathes/robotics.yml b/Resources/Prototypes/Recipes/Lathes/robotics.yml index a4413e01ebe..36ceff065b3 100644 --- a/Resources/Prototypes/Recipes/Lathes/robotics.yml +++ b/Resources/Prototypes/Recipes/Lathes/robotics.yml @@ -146,6 +146,13 @@ id: BorgModuleTool result: BorgModuleTool +# Mining Modules + +- type: latheRecipe + parent: BaseGoldBorgModuleRecipe + id: BorgModuleFauna + result: BorgModuleFauna + # Engineering Modules - type: latheRecipe diff --git a/Resources/Prototypes/Recipes/Lathes/security.yml b/Resources/Prototypes/Recipes/Lathes/security.yml index f6f303e5e3b..ac695f314a0 100644 --- a/Resources/Prototypes/Recipes/Lathes/security.yml +++ b/Resources/Prototypes/Recipes/Lathes/security.yml @@ -106,6 +106,44 @@ Plastic: 250 Gold: 100 +- type: latheRecipe + parent: BaseWeaponRecipeLong + id: WeaponProtoKineticAccelerator + result: WeaponProtoKineticAccelerator + materials: + Steel: 1000 + Glass: 500 + Gold: 100 + +- type: latheRecipe + parent: BaseWeaponRecipeLong + id: WeaponCrusher + result: WeaponCrusher + materials: + Steel: 1500 + Glass: 500 + Plastic: 250 + Gold: 100 + +- type: latheRecipe + parent: BaseWeaponRecipe + id: WeaponCrusherDagger + result: WeaponCrusherDagger + materials: + Steel: 750 + Glass: 300 + Gold: 200 + +- type: latheRecipe + parent: BaseWeaponRecipeLong + id: WeaponCrusherGlaive + result: WeaponCrusherGlaive + materials: + Steel: 2000 + Glass: 500 + Silver: 250 + Gold: 250 + - type: latheRecipe id: ClothingBackpackElectropack result: ClothingBackpackElectropack diff --git a/Resources/Prototypes/Research/arsenal.yml b/Resources/Prototypes/Research/arsenal.yml index c7409565dd4..a768ac45639 100644 --- a/Resources/Prototypes/Research/arsenal.yml +++ b/Resources/Prototypes/Research/arsenal.yml @@ -1,19 +1,5 @@ # Tier 1 -- type: technology - id: SalvageWeapons - name: research-technology-salvage-weapons - icon: - sprite: Objects/Weapons/Guns/Basic/kinetic_accelerator.rsi - state: icon - discipline: Arsenal - tier: 1 - cost: 5000 - recipeUnlocks: - - WeaponProtoKineticAccelerator - - ShuttleGunKineticCircuitboard - # These are roundstart but not replenishable for salvage - - type: technology id: DraconicMunitions name: research-technology-draconic-munitions @@ -174,6 +160,22 @@ # recipeUnlocks: # - WeaponXrayCannon +- type: technology + id: ExperimentalSalvageWeaponry + name: research-technology-experimental-salvage-weaponry + icon: + sprite: Objects/Weapons/Melee/crusher_glaive.rsi + state: icon + discipline: Arsenal + tier: 2 + cost: 10000 + recipeUnlocks: + - WeaponCrusher + - WeaponCrusherDagger + - WeaponCrusherGlaive + - BorgModuleFauna + - ShuttleGunKineticCircuitboard + - type: technology id: BasicShuttleArmament name: research-technology-basic-shuttle-armament @@ -193,8 +195,7 @@ - ShuttleGunSvalinnMachineGunCircuitboard - ShuttleGunPerforatorCircuitboard - ShuttleGunFriendshipCircuitboard - technologyPrerequisites: - - SalvageWeapons + technologyPrerequisites: # DeltaV: added prerequesite - ExplosiveTechnology # Tier 3 diff --git a/Resources/Textures/Interface/Actions/actions_borg.rsi/fauna-module.png b/Resources/Textures/Interface/Actions/actions_borg.rsi/fauna-module.png new file mode 100644 index 0000000000000000000000000000000000000000..888ddb464e67de02f8a203988866ef04c4b597bd GIT binary patch literal 456 zcmV;(0XP1MP)NCu5t(CbZ2X@dmYzL(mJ!1NFw23GG_@RP4~ipL z&|JpAz$Zy--@_e&;Q%n;5ut7Pe|nC>#dN@zH*`&e!!HC}H8~k}U;hs0U!5Arpq;&* zJ|W<${EtC|pN*kJhMmDqn}^}Xqpz4|(kcW%J{RF+Wsqk72e$ms)h`TUyo?0Rq)G_D zd@jxY18zCpLI9i3K{T;uQWOHXd=3I2-+MbdFld(_rdhphwp4}hdp+PO5 y6BPnI$5F-5`J-(@s)qomy-u%=$)M?)jRF93<<|v5Z(mmc0000