@@ -12,7 +12,7 @@ public sealed partial class ResetNarcolepsy : EventEntityEffect<ResetNarcolepsy>
|
||||
/// The # of seconds the effect resets the narcolepsy timer to
|
||||
/// </summary>
|
||||
[DataField("TimerReset")]
|
||||
public int TimerReset = 600;
|
||||
public TimeSpan TimerReset = TimeSpan.FromSeconds(600);
|
||||
|
||||
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
|
||||
=> Loc.GetString("reagent-effect-guidebook-reset-narcolepsy", ("chance", Probability));
|
||||
|
||||
Reference in New Issue
Block a user