Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend rotting/respawn times #1073

Merged
merged 3 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading