Refactors smoking to ECS, smoking actually makes you inhale reagents. (#4678)

This commit is contained in:
Vera Aguilera Puerto
2021-09-26 15:19:00 +02:00
committed by GitHub
parent 0767bd3777
commit f913d8361d
19 changed files with 284 additions and 150 deletions

View File

@@ -0,0 +1,15 @@
using Content.Server.Nutrition.EntitySystems;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
namespace Content.Server.Nutrition.Components
{
/// <summary>
/// A disposable, single-use smokable.
/// </summary>
[RegisterComponent, Friend(typeof(SmokingSystem))]
public class CigarComponent : Component
{
public override string Name => "Cigar";
}
}