mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* Added new anomaly particle
* Add basic anomaly behaviour
* +2 parametres
* add functional to new particle
* add components to behaviours
* big content
* add shuffle, moved thing to server
* clean up
* fixes
* random pick redo
* bonjour behavioUr
* fix AJCM
* fix
* add some new behaviours
* power modifier behaviour
* rmeove timer
* new event for update ui fix
* refactor!
* fixes
* enum
* Fix mapinit
* Minor touches
---------
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit a4ec01d471)
29 lines
769 B
C#
29 lines
769 B
C#
using Content.Server.Anomaly.Effects;
|
|
|
|
namespace Content.Server.Anomaly.Components;
|
|
|
|
/// <summary>
|
|
/// Shuffle Particle types in some situations
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(ShuffleParticlesAnomalySystem))]
|
|
public sealed partial class ShuffleParticlesAnomalyComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Prob() chance to randomize particle types after Anomaly pulation
|
|
/// </summary>
|
|
[DataField]
|
|
public bool ShuffleOnPulse = false;
|
|
|
|
/// <summary>
|
|
/// Prob() chance to randomize particle types after APE or CHIMP projectile
|
|
/// </summary>
|
|
[DataField]
|
|
public bool ShuffleOnParticleHit = false;
|
|
|
|
/// <summary>
|
|
/// Chance to random particles
|
|
/// </summary>
|
|
[DataField]
|
|
public float Prob = 0.5f;
|
|
}
|