Smokables can now expose temperature to the atmosphere, causing fires. (#6142)

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Vera Aguilera Puerto
2022-01-18 07:35:17 +01:00
committed by GitHub
parent 98e5b5e484
commit c2bbc01ff2
3 changed files with 18 additions and 2 deletions

View File

@@ -25,6 +25,12 @@ namespace Content.Server.Nutrition.Components
[DataField("state")]
public SmokableState State { get; set; } = SmokableState.Unlit;
[DataField("exposeTemperature")]
public float ExposeTemperature { get; set; } = 0;
[DataField("exposeVolume")]
public float ExposeVolume { get; set; } = 1f;
// clothing prefixes
[DataField("burntPrefix")]
public string BurntPrefix = "unlit";