mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Nubody * fix test fails * gibbing * lung test returns * doc comment * hand organ test * giblet test * yaml formatting * returning * relocate * trimming * re-smite * oops thusd tweak * arachnids have slower metabolism i guess * never mind the old behaviour is bad actually * rider whyyy * style changes and allat * fix collision --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
20 lines
568 B
C#
20 lines
568 B
C#
namespace Content.Server.Cargo.Components;
|
|
|
|
/// <summary>
|
|
/// This is used for calculating the price of mobs.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class MobPriceComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The base price this mob should fetch.
|
|
/// </summary>
|
|
[DataField("price", required: true)]
|
|
public double Price;
|
|
|
|
/// <summary>
|
|
/// The percentage of the actual price that should be granted should the appraised mob be dead.
|
|
/// </summary>
|
|
[DataField("deathPenalty")]
|
|
public double DeathPenalty = 0.2f;
|
|
}
|