Add arrivals (#14755)
* Arrivals * More arrivals and shitty uhh preload * cvar * a * clockin + maps * shitter prevention * Placement * a * cvar for tests and dev * weh
This commit is contained in:
21
Content.Shared/Tiles/FloorTileComponent.cs
Normal file
21
Content.Shared/Tiles/FloorTileComponent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Content.Shared.Maps;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
|
||||
namespace Content.Shared.Tiles
|
||||
{
|
||||
/// <summary>
|
||||
/// This gives items floor tile behavior, but it doesn't have to be a literal floor tile.
|
||||
/// A lot of materials use this too. Note that the AfterInteract will fail without a stack component on the item.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class FloorTileComponent : Component
|
||||
{
|
||||
[DataField("outputs", customTypeSerializer: typeof(PrototypeIdListSerializer<ContentTileDefinition>))]
|
||||
public List<string>? OutputTiles;
|
||||
|
||||
[DataField("placeTileSound")]
|
||||
public SoundSpecifier PlaceTileSound = new SoundPathSpecifier("/Audio/Items/genhit.ogg");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user