CatStation/Content.Shared/Random/IBudgetEntry.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

22 lines
398 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Random;
/// <summary>
/// Budgeted random spawn entry.
/// </summary>
public interface IBudgetEntry : IProbEntry
{
float Cost { get; set; }
EntProtoId Proto { get; set; }
}
/// <summary>
/// Random entry that has a prob. See <see cref="RandomSystem"/>
/// </summary>
public interface IProbEntry
{
float Prob { get; set; }
}