MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
295 stars 282 forks source link

Adding a Chameleon Light Polarization Shield to an omni is classified as an Omni Repod #5665

Closed jmeickle closed 2 months ago

jmeickle commented 2 months ago

Environment

megameklab.MegaMekLab.initializeLogging(MegaMekLab.java:53) - Starting MegaMekLab v0.49.19.1
    Build Date: 2024-05-10T20:11:07.455725852
    Today: 2024-06-29
    Origin Project: MekHQ
    Java Vendor: Eclipse Adoptium
    Java Version: 21.0.1
    Platform: Windows 11 10.0 (amd64)
    System Locale: en_US
    Total memory available to MegaMekLab: 8 GB

This is the bundled version with MekHQ.

Description

A Chameleon Light Polarization Shield cannot be mounted as podded equipment on an Omni and must be fixed (TO p.112, "Construction Rules"). But it defaults to being added as a pod-mount.

Additionally, when the CLPS is changed to fixed equipment, MekLab is still calculating the time as an omni pod refit rather than a maintenance refit.

image

image

I have not tested but this could also apply to Null-Signature Systems (TO p.148), Blue Shield (TO p. 108), and Void Signature System (TO p. 160) which have similar construction rules.

HammerGS commented 2 months ago

Fixed with https://github.com/MegaMek/megamek/commit/3f61a3c329d95bee49efb9dd7adc916ddcf31959