From fbe0bc7d05c552338d8069237259be2afea4cd67 Mon Sep 17 00:00:00 2001 From: SaltyKarl <84060664+SaltyKarl@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:51:47 +0800 Subject: [PATCH 1/4] New pack --- .../Defs/Spacer Pack/Defs_Projectiles.xml | 33 +++++++++ .../Patches/Spacer Pack/Backpacks.xml | 72 ++++++++++++++++++- .../Patches/Spacer Pack/Damage.xml | 32 +++++++++ .../Patches/Spacer Pack/Hediff.xml | 36 ++++++++++ 4 files changed, 172 insertions(+), 1 deletion(-) create mode 100644 ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml create mode 100644 ModPatches/Spacer Pack/Patches/Spacer Pack/Hediff.xml diff --git a/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml b/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml index 0db59b7c29..4706d7f5ce 100644 --- a/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml +++ b/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml @@ -32,6 +32,39 @@ + + dvd_Projectile_RipperRack_CE + CombatExtended.ProjectileCE_Explosive + + + Graphic_Single + Things/Projectile/Grenade_RipperMechanites + + + 0 + True + 5 + dvd_RipperBomb + 50 + 3.0 + dvd_Filth_RipperMechanites + 1 + + +
  • + +
  • + dvd_Fleck_RipperMechanites_Random + 0.5 + 0 + .5 + 1 +
  • + + +
    +
    + dvd_SkipBolt_CE diff --git a/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml b/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml index 809ee84417..897bb4d7be 100644 --- a/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml +++ b/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml @@ -131,7 +131,7 @@ CombatExtended.Verb_LaunchProjectileStaticCE true True - 2 + 1.5 35 5 true @@ -170,6 +170,76 @@ + + + + Defs/ThingDef[defName="dvd_minerpack"]/equippedStatOffsets/VEF_MassCarryCapacity + + 80 + + + + + Defs/ThingDef[defName="dvd_minerpack"]/costList + + 1 + + + + + Defs/ThingDef[defName="dvd_minerpack"]/equippedStatOffsets/MoveSpeed + + + + Defs/ThingDef[defName="dvd_minerpack"]/statBases/Mass + + 4 + 5 + + + + + Defs/ThingDef[defName="dvd_minerpack"]/comps + +
  • + +
  • 30
  • +
  • 50
  • +
  • 70
  • +
  • 90
  • + + +
    +
    + + + Defs/ThingDef[defName="dvd_minerpack"]/verbs + + +
  • + + CombatExtended.Verb_LaunchProjectileStaticCE + true + True + 1.0 + 17 + 4 + true + ThrowGrenade + GunTail_Medium + 14 + true + + true + + true + dvd_Projectile_RipperRack_CE + Combat_RangedFire_Thrown +
  • +
    +
    +
    + diff --git a/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml b/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml new file mode 100644 index 0000000000..3fb5c2d589 --- /dev/null +++ b/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml @@ -0,0 +1,32 @@ + + + + + + + Defs/DamageDef[defName="dvd_SkipBolt"] + ParentName + Bullet + + + + Defs/DamageDef[defName="dvd_RipperBomb"] + ParentName + Bomb + + + + Defs/DamageDef[defName="dvd_RipperBomb"]/defaultArmorPenetration + + 62 + + + + + Defs/DamageDef[defName="dvd_RipperBomb"]/armorCategory + + Blunt + + + + \ No newline at end of file diff --git a/ModPatches/Spacer Pack/Patches/Spacer Pack/Hediff.xml b/ModPatches/Spacer Pack/Patches/Spacer Pack/Hediff.xml new file mode 100644 index 0000000000..63621ffc43 --- /dev/null +++ b/ModPatches/Spacer Pack/Patches/Spacer Pack/Hediff.xml @@ -0,0 +1,36 @@ + + + + + + + Defs/HediffDef[defName="dvd_RipperMechanites"]/stages/li[label="limited"]/statOffsets + + + -3 + -5 + + + + + + Defs/HediffDef[defName="dvd_RipperMechanites"]/stages/li[label="moderate"]/statOffsets + + + -7 + -10 + + + + + + Defs/HediffDef[defName="dvd_RipperMechanites"]/stages/li[label="extensive"]/statOffsets + + + -15 + -20 + + + + + \ No newline at end of file From 3bd377446bf6d57d0481d1cb0cd6960036a57917 Mon Sep 17 00:00:00 2001 From: SaltyKarl <84060664+SaltyKarl@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:23:51 +0800 Subject: [PATCH 2/4] remove mortar behavior --- .../Defs/Spacer Pack/Defs_Projectiles.xml | 7 +++---- .../Patches/Spacer Pack/Backpacks.xml | 18 ++---------------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml b/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml index 4706d7f5ce..f7142da932 100644 --- a/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml +++ b/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml @@ -41,12 +41,11 @@ Things/Projectile/Grenade_RipperMechanites - 0 - True - 5 + 20 + 3 dvd_RipperBomb 50 - 3.0 + 5.0 dvd_Filth_RipperMechanites 1 diff --git a/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml b/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml index 897bb4d7be..1a96cbae8a 100644 --- a/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml +++ b/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml @@ -198,20 +198,6 @@ - - Defs/ThingDef[defName="dvd_minerpack"]/comps - -
  • - -
  • 30
  • -
  • 50
  • -
  • 70
  • -
  • 90
  • - - -
    -
    - Defs/ThingDef[defName="dvd_minerpack"]/verbs @@ -222,8 +208,8 @@ true True 1.0 - 17 - 4 + 21 + 6 true ThrowGrenade GunTail_Medium From efc29b1b3d8c852061ca16dc8aa8b3876088b529 Mon Sep 17 00:00:00 2001 From: n7huntsman Date: Thu, 7 Nov 2024 19:57:53 -0500 Subject: [PATCH 3/4] Housekeeping --- ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml b/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml index 1a96cbae8a..4d7df8809a 100644 --- a/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml +++ b/ModPatches/Spacer Pack/Patches/Spacer Pack/Backpacks.xml @@ -170,7 +170,7 @@ - + Defs/ThingDef[defName="dvd_minerpack"]/equippedStatOffsets/VEF_MassCarryCapacity @@ -179,7 +179,7 @@ - + Defs/ThingDef[defName="dvd_minerpack"]/costList 1 From 3581ae3a4dcd8974949a8b7b97f5b0d8cb3d573d Mon Sep 17 00:00:00 2001 From: n7huntsman Date: Thu, 7 Nov 2024 20:10:41 -0500 Subject: [PATCH 4/4] Tweaks and housekeeping --- .../Defs/Spacer Pack/Defs_Projectiles.xml | 15 +++++++++------ .../Spacer Pack/Patches/Spacer Pack/Damage.xml | 5 +++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml b/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml index f7142da932..18f444f3b4 100644 --- a/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml +++ b/ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml @@ -32,9 +32,8 @@
    - + dvd_Projectile_RipperRack_CE - CombatExtended.ProjectileCE_Explosive Graphic_Single @@ -45,7 +44,11 @@ 3 dvd_RipperBomb 50 - 5.0 + 3.0 + 0.25 + 3.0 + 50 + 3.9 dvd_Filth_RipperMechanites 1 @@ -56,7 +59,7 @@ dvd_Fleck_RipperMechanites_Random 0.5 0 - .5 + 0.5 1 @@ -84,14 +87,14 @@ dvd_Fleck_ArchoPack_Main 0.5 0 - .5 + 0.5 1
  • dvd_Fleck_ArchoPack_Smoke 0.5 0 - .5 + 0.5 1 120~240
  • diff --git a/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml b/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml index 3fb5c2d589..eb9872e8fd 100644 --- a/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml +++ b/ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml @@ -29,4 +29,9 @@ + + + Defs/ThingDef[defName="dvd_Projectile_RipperRack"] + + \ No newline at end of file