Water gun cargo crate (#16172)

This commit is contained in:
Nemanja
2023-05-06 23:14:54 -04:00
committed by GitHub
parent 883d6646ea
commit 4c2b521c90
22 changed files with 221 additions and 13 deletions

View File

@@ -5,6 +5,13 @@ namespace Content.Shared.Sprite;
[RegisterComponent, NetworkedComponent]
public sealed class RandomSpriteComponent : Component
{
/// <summary>
/// Whether or not all groups from <see cref="Available"/> are used,
/// or if only one is picked at random.
/// </summary>
[DataField("getAllGroups")]
public bool GetAllGroups;
/// <summary>
/// Available colors based on group, parsed layer enum, state, and color.
/// Stored as a list so we can have groups of random sprites (e.g. tech_base + tech_flare for holoparasite)