mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description Due to some inherent limitations of maintenance, code review, and me having both severely crippling ADHD and a lifelong adderal dependency, I've made the executive decision to break apart the Psionic Refactor into a multitude of smaller, bite sized PRs. I'm keeping the original Psionic Refactor PR open, because I'm going to need it for code reference to keep track of the changes I had originally worked on, but I need to essentially restart the entire refactor from scratch, and approach it from a new angle that's going to make everything actually way easier. I also need to be able to work on each available system individually wherever possible, and this fact is most readily shown by how the Lightning Refactor and Oracle Refactor were both done separately. To start off, this PR is ONLY moving all of the relevant psionics code to core folders, and nothing more. I'm doing this first so that I can immediately cut down massively on the "Files Changed" with the simplest, most basic change necessary to start my work. No changelog because this isn't player facing, and no media because there's literally nothing to show.
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
namespace Content.Server.Psionics.Glimmer;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class GlimmerEventComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Minimum glimmer value for event to be eligible. (Should be 100 at lowest.)
|
|
/// </summary>
|
|
[DataField("minimumGlimmer")]
|
|
public int MinimumGlimmer = 100;
|
|
|
|
/// <summary>
|
|
/// Maximum glimmer value for event to be eligible. (Remember 1000 is max glimmer period.)
|
|
/// </summary>
|
|
[DataField("maximumGlimmer")]
|
|
public int MaximumGlimmer = 1000;
|
|
|
|
/// <summary>
|
|
/// Will be used for _random.Next and subtracted from glimmer.
|
|
/// Lower bound.
|
|
/// </summary>
|
|
[DataField("glimmerBurnLower")]
|
|
public int GlimmerBurnLower = 25;
|
|
|
|
/// <summary>
|
|
/// Will be used for _random.Next and subtracted from glimmer.
|
|
/// Upper bound.
|
|
/// </summary>
|
|
[DataField("glimmerBurnUpper")]
|
|
public int GlimmerBurnUpper = 70;
|
|
|
|
[DataField("report")]
|
|
public string SophicReport = "glimmer-event-report-generic";
|
|
}
|