Class GenerateResupplyContents
java.lang.Object
mekhq.campaign.mission.resupplyAndCaches.GenerateResupplyContents
This class is responsible for generating resupply contents for various drop types,
such as parts, armor, and ammunition, based on specified parameters. It calculates
the items to be included, considering available resources, negotiator skills, and
item value constraints.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum representing different types of drops that can be generated during resupply. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
Some parts are weightless, so we include a nominal weight for those. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RESUPPLY_MINIMUM_PART_WEIGHT
public static final double RESUPPLY_MINIMUM_PART_WEIGHTSome parts are weightless, so we include a nominal weight for those.This minimum value can be hand waved as being the weight of the container the part is in.
- See Also:
-
-
Constructor Details
-
GenerateResupplyContents
public GenerateResupplyContents()
-