Skip to content

Commit

Permalink
Extend rotting/respawn times (#1073)
Browse files Browse the repository at this point in the history
* extend rotting/cloning times 5 mins

* raw meat rotting balance
  • Loading branch information
Leander-0 authored Mar 4, 2024
1 parent 5fb597c commit 44badd5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Atmos/Rotting/PerishableComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public sealed partial class PerishableComponent : Component
/// <summary>
/// How long it takes after death to start rotting.
/// </summary>
[DataField]
public TimeSpan RotAfter = TimeSpan.FromMinutes(10);
[DataField("rotAfter"), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan RotAfter = TimeSpan.FromMinutes(15);

/// <summary>
/// How much rotting has occured
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/_NF/CCVars/CCVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed class NF14CVars
/// Respawn time, how long the player has to wait in seconds after death.
/// </summary>
public static readonly CVarDef<float> RespawnTime =
CVarDef.Create("nf14.respawn.time", 600.0f, CVar.SERVER | CVar.REPLICATED);
CVarDef.Create("nf14.respawn.time", 900.0f, CVar.SERVER | CVar.REPLICATED);

/// <summary>
/// Whether or not returning from cryosleep is enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
- Raw
- Meat
- type: Perishable
# raw meat rots in 5 minutes, get it into the freezer fast
rotAfter: 300
# raw meat rots in 15 mins like all meats from other species
# don't want meat giving off ammonia only bodies
molsPerSecondPerUnitMass: 0
- type: RotInto
Expand Down

0 comments on commit 44badd5

Please sign in to comment.