Add cigarettes and matches to SS14 (#2522)
* Add resources for cigs/matches * Add files for cigarettes * Remove Shared Components * Applied some of the suggestions * Change priority to allow matches to be set alight by matchbox * Added item for pack of cigars * Add swepts resources. Fix naming * Fix naming, implement suggestions. * Addressed Paul's suggestions * Remove unused resources * Fix Paul's suggestions
This commit is contained in:
13
Content.Shared/GameObjects/Components/SharedBurningStates.cs
Normal file
13
Content.Shared/GameObjects/Components/SharedBurningStates.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum SharedBurningStates : byte
|
||||
{
|
||||
Unlit,
|
||||
Lit,
|
||||
Burnt,
|
||||
}
|
||||
}
|
||||
11
Content.Shared/GameObjects/Components/SmokingVisuals.cs
Normal file
11
Content.Shared/GameObjects/Components/SmokingVisuals.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum SmokingVisuals : byte
|
||||
{
|
||||
Smoking,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.Interfaces.GameObjects.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// This interface gives components hot quality when they are used.
|
||||
/// E.g if you hold a lit match or a welder then it will be hot,
|
||||
/// presuming match is lit or the welder is on respectively.
|
||||
/// However say you hold an item that is always hot like lava rock,
|
||||
/// it will be permanently hot.
|
||||
/// </summary>
|
||||
public interface IHotItem
|
||||
{
|
||||
bool IsCurrentlyHot();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user