mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
22 lines
398 B
C#
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; }
|
|
}
|
|
|