mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-03 01:27:26 +00:00
* Add glimmer restyle and foxfire * Fix typo * Fix typo * Fix test fail and kobold hair bug (thanks to FaintSpeaker) * Update Content.Server/_DV/StationEvents/Events/GlimmerRestyleRule.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> * Update Content.Server/_DV/StationEvents/Events/GlimmerRestyleRule.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Content.Server/_DV/StationEvents/Components/GlimmerFoxfireSpawnRuleComponent.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> * Update Content.Server/_DV/StationEvents/Components/GlimmerFoxfireSpawnRuleComponent.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> * Update Content.Server/_DV/StationEvents/Events/GlimmerFoxfireSpawnRule.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> * Update Content.Server/_DV/StationEvents/Events/GlimmerRestyleRule.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> * Only filter for potential psionics * Lower restyle glimmer requirement * Semicolon my beloathed * Popup false when going bald to bald * Update Content.Server/_DV/StationEvents/Events/GlimmerRestyleRule.cs Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> --------- Signed-off-by: Astra <226853568+EmberAstra@users.noreply.github.com> Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Content.Server._DV.StationEvents.Events;
|
|
|
|
namespace Content.Server._DV.StationEvents.Components;
|
|
|
|
/// <summary>
|
|
/// Attempts to change the hair and facial hair markings, plus their color
|
|
/// of a small amount of people.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(GlimmerRestyleRule))]
|
|
public sealed partial class GlimmerRestyleRuleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Minimum number of valid targets that will get restyled.
|
|
/// </summary>
|
|
[DataField]
|
|
public int MinimumTargets = 1;
|
|
|
|
/// <summary>
|
|
/// Maximum number of valid targets that will get restyled.
|
|
/// </summary>
|
|
[DataField]
|
|
public int MaximumTargets = 5;
|
|
|
|
/// <summary>
|
|
/// Chance of completely removing all hair markings instead of selecting a random one.
|
|
/// </summary>
|
|
[DataField]
|
|
public float BaldChance = 0.2f;
|
|
|
|
/// <summary>
|
|
/// Chance of completely removing all facial hair markings instead of selecting a random one.
|
|
/// </summary>
|
|
[DataField]
|
|
public float CleanShavenChance = 0.5f;
|
|
}
|