using Robust.Shared.GameStates;
namespace Content.Shared.Delivery;
///
/// Component given to deliveries.
/// Applies a random multiplier to the delivery on init.
/// Added additively to the total multiplier.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(DeliveryModifierSystem))]
public sealed partial class DeliveryRandomMultiplierComponent : Component
{
///
/// The highest the random multiplier can go.
///
[DataField]
public float MaxMultiplierOffset = 0.2f;
///
/// The lowest the random multiplier can go.
///
[DataField]
public float MinMultiplierOffset = -0.2f;
///
/// The current multiplier this component provides.
/// Gets randomized between MaxMultiplierOffset and MinMultiplierOffset on MapInit.
///
[DataField, AutoNetworkedField]
public float CurrentMultiplierOffset;
}