namespace Content.Server.Cargo.Components;
///
/// This is used for calculating the price of mobs.
///
[RegisterComponent]
public sealed partial class MobPriceComponent : Component
{
///
/// How much of a penalty per part there should be. This is a multiplier for a multiplier, the penalty for each body part is calculated from the total number of slots, and then multiplied by this.
///
[DataField("missingBodyPartPenalty")]
public double MissingBodyPartPenalty = 1.0f;
///
/// The base price this mob should fetch.
///
[DataField("price", required: true)]
public double Price;
///
/// The percentage of the actual price that should be granted should the appraised mob be dead.
///
[DataField("deathPenalty")]
public double DeathPenalty = 0.2f;
}