diff --git a/.gitignore b/.gitignore
index 8b829940bc7..cbd954a6cd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -95,7 +95,8 @@ megamek/userdata/**
/megamek/apidocs/
#End MegaMek Other Outputs
-/megamek/docs/mm-revision.txt
/megamek/MegaMek.l4j.ini
OfficialUnitList.txt
equipment.txt
+.github/copilot-instructions.md
+*.iml
diff --git a/build.gradle b/build.gradle
index 755382a668b..1056908c071 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,7 +15,7 @@ allprojects {
subprojects {
group = 'org.megamek'
- version = '0.50.03-SNAPSHOT'
+ version = '0.50.04-SNAPSHOT'
}
// A properties_local.gradle file can be used to override any of the above options. For instance,
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 2c3521197d7..a4b76b9530d 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 9355b415575..e18bc253b85 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
diff --git a/megamek/build.gradle b/megamek/build.gradle
index 6d94571c683..aaff4bfbb0f 100644
--- a/megamek/build.gradle
+++ b/megamek/build.gradle
@@ -5,7 +5,7 @@ plugins {
id 'checkstyle'
id 'com.palantir.git-version' version '3.1.0'
id 'edu.sc.seis.launch4j' version '3.0.6'
- id "io.sentry.jvm.gradle" version '4.11.0'
+ id "io.sentry.jvm.gradle" version '5.1.0'
id 'jacoco'
id 'java'
id 'org.ec4j.editorconfig' version '0.1.0'
@@ -150,8 +150,19 @@ task copyFiles(type: Copy) {
include "sentry.properties"
include "*.ini"
exclude "**/*.psd"
+
// No need to copy the files that are going to be zipped
exclude { it.file.isDirectory() && (it.file in file(unitFiles).listFiles()) }
+
+ // User Config Files
+ exclude "${mmconf}/clientsettings.xml"
+ exclude "${mmconf}/gameoptions.xml"
+ exclude "${mmconf}/megameklab.properties"
+ exclude "${mmconf}/megameklab.properties.bak"
+ exclude "${mmconf}/mhq.preferences"
+ exclude "${mmconf}/mm.preferences"
+ exclude "${mmconf}/mml.preferences"
+
exclude "${rats}/**"
include "${userdata}/"
diff --git a/megamek/data/images/hexes/minimap/defaultminimap.theme b/megamek/data/images/hexes/minimap/default.theme
similarity index 100%
rename from megamek/data/images/hexes/minimap/defaultminimap.theme
rename to megamek/data/images/hexes/minimap/default.theme
diff --git a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (2801).blk b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (2801).blk
index 62b40a72ffa..85414680de3 100644
--- a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (2801).blk
+++ b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (2801).blk
@@ -123,7 +123,7 @@ Medium Laser
-MASH Core Component
+MASH Equipment:SIZE:1
diff --git a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3035)Dove.blk b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3035)Dove.blk
index 968ff9086e1..dacc8a7015b 100644
--- a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3035)Dove.blk
+++ b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3035)Dove.blk
@@ -122,16 +122,7 @@ Medium Laser
-MASH Core Component
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
+MASH Equipment:SIZE:10
diff --git a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3054).blk b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3054).blk
index 30cdc7d8932..2ea1c7781d3 100644
--- a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3054).blk
+++ b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3054).blk
@@ -124,7 +124,7 @@ Medium Laser
-MASH Core Component
+MASH Equipment:SIZE:1
diff --git a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3079).blk b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3079).blk
index d454d8bd8f9..646b59d3288 100644
--- a/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3079).blk
+++ b/megamek/data/mekfiles/dropships/TRO3057R/IS/Condor (3079).blk
@@ -119,7 +119,7 @@ ISERMediumLaser
-MASH Core Component
+MASH Equipment:SIZE:1
diff --git a/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (2815M).blk b/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (2815M).blk
index d5184d53355..2500e255ffe 100644
--- a/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (2815M).blk
+++ b/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (2815M).blk
@@ -115,7 +115,7 @@ Medium Laser
-MASH Core Component
+MASH Equipment:SIZE:1
diff --git a/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (3054).blk b/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (3054).blk
index 91280b39a16..7864de3d288 100644
--- a/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (3054).blk
+++ b/megamek/data/mekfiles/dropships/TRO3057R/IS/Seeker (3054).blk
@@ -118,7 +118,7 @@ Medium Laser
-MASH Core Component
+MASH Equipment:SIZE:1
diff --git a/megamek/data/mekfiles/jumpships/3057R/IS/Magellan Jumpship (2960).blk b/megamek/data/mekfiles/jumpships/3057R/IS/Magellan Jumpship (2960).blk
index 28712813216..1864233871b 100644
--- a/megamek/data/mekfiles/jumpships/3057R/IS/Magellan Jumpship (2960).blk
+++ b/megamek/data/mekfiles/jumpships/3057R/IS/Magellan Jumpship (2960).blk
@@ -143,7 +143,7 @@ ISAMS Ammo:24
-MASH Core Component
+MASH Equipment:SIZE:1
ISMobileHPG
diff --git a/megamek/data/mekfiles/vehicles/3039u/MASH Truck (ICE).blk b/megamek/data/mekfiles/vehicles/3039u/MASH Truck (ICE).blk
index 5dffb4fa8be..8a5ce492e31 100644
--- a/megamek/data/mekfiles/vehicles/3039u/MASH Truck (ICE).blk
+++ b/megamek/data/mekfiles/vehicles/3039u/MASH Truck (ICE).blk
@@ -56,11 +56,7 @@ Wheeled
-MASH core component
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
+MASH Equipment:SIZE:5
diff --git a/megamek/data/mekfiles/vehicles/3039u/MASH Truck.blk b/megamek/data/mekfiles/vehicles/3039u/MASH Truck.blk
index b2cbd69fa15..77a855a04e6 100644
--- a/megamek/data/mekfiles/vehicles/3039u/MASH Truck.blk
+++ b/megamek/data/mekfiles/vehicles/3039u/MASH Truck.blk
@@ -57,11 +57,7 @@ Wheeled
-MASH core component
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
-MASH Operation Theater
+MASH Equipment:SIZE:5
diff --git a/megamek/data/mekfiles/vehicles/3075/Saxon APC (MASH).blk b/megamek/data/mekfiles/vehicles/3075/Saxon APC (MASH).blk
index 2eab5a03c0b..89fc29777a4 100644
--- a/megamek/data/mekfiles/vehicles/3075/Saxon APC (MASH).blk
+++ b/megamek/data/mekfiles/vehicles/3075/Saxon APC (MASH).blk
@@ -61,8 +61,7 @@ Hover
-MASH core component
-MASH Operation Theater
+MASH Equipment:SIZE:2
IS Ammo MG - Full
diff --git a/megamek/data/mekfiles/vehicles/XTRs/Primitives III/Carter MERV.blk b/megamek/data/mekfiles/vehicles/XTRs/Primitives III/Carter MERV.blk
index 9b4f2be8b25..66d8a7577d1 100644
--- a/megamek/data/mekfiles/vehicles/XTRs/Primitives III/Carter MERV.blk
+++ b/megamek/data/mekfiles/vehicles/XTRs/Primitives III/Carter MERV.blk
@@ -64,10 +64,9 @@ cargobay:2.0:1:1
-MASH Operation Theater
+MASH Equipment:SIZE:2
Paramedic Equipment
ISOffRoadChassis
-MASH Core Component
diff --git a/megamek/data/mekfiles/vehicles/XTRs/RetroTech/White Tip Submarine.blk b/megamek/data/mekfiles/vehicles/XTRs/RetroTech/White Tip Submarine.blk
index 0cc9ca674bf..2cf9f16a0e0 100644
--- a/megamek/data/mekfiles/vehicles/XTRs/RetroTech/White Tip Submarine.blk
+++ b/megamek/data/mekfiles/vehicles/XTRs/RetroTech/White Tip Submarine.blk
@@ -89,7 +89,7 @@ IS Ammo LRTorpedo-10
IS Ammo LRTorpedo-10
Communications Equipment (7 ton)
FieldKitchen
-MASH Core Component
+MASH Equipment:SIZE:1