Buff flashlight duration, minor buff for flare. (#7293)

Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
Fishfish458
2022-03-27 01:28:59 -05:00
committed by GitHub
parent 879fe20a8a
commit 31c12cab4c
2 changed files with 2 additions and 21 deletions

View File

@@ -1,25 +1,6 @@
using System.Threading.Tasks;
using Content.Server.Clothing.Components;
using Content.Server.Light.EntitySystems; using Content.Server.Light.EntitySystems;
using Content.Shared.ActionBlocker;
using Content.Shared.Examine;
using Content.Shared.Interaction;
using Content.Shared.Light.Component; using Content.Shared.Light.Component;
using Content.Shared.Popups;
using Content.Shared.Rounding;
using Content.Shared.Sound; using Content.Shared.Sound;
using JetBrains.Annotations;
using Robust.Server.GameObjects;
using Robust.Shared.Analyzers;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Maths;
using Robust.Shared.Player;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Utility;
using Robust.Shared.ViewVariables;
namespace Content.Server.Light.Components namespace Content.Server.Light.Components
{ {
@@ -30,7 +11,7 @@ namespace Content.Server.Light.Components
[Friend(typeof(HandheldLightSystem))] [Friend(typeof(HandheldLightSystem))]
public sealed class HandheldLightComponent : SharedHandheldLightComponent public sealed class HandheldLightComponent : SharedHandheldLightComponent
{ {
[ViewVariables(VVAccess.ReadWrite)] [DataField("wattage")] public float Wattage { get; set; } = 3f; [ViewVariables(VVAccess.ReadWrite)] [DataField("wattage")] public float Wattage { get; set; } = .8f;
/// <summary> /// <summary>
/// Status of light, whether or not it is emitting light. /// Status of light, whether or not it is emitting light.

View File

@@ -13,7 +13,7 @@
- type: ExpendableLight - type: ExpendableLight
spentName: spent flare spentName: spent flare
spentDesc: It looks like this flare has burnt out. What a bummer. spentDesc: It looks like this flare has burnt out. What a bummer.
glowDuration: 45 glowDuration: 165
fadeOutDuration: 15 fadeOutDuration: 15
iconStateOn: flare_unlit iconStateOn: flare_unlit
iconStateSpent: flare_spent iconStateSpent: flare_spent