From 44badd5079399e54456d0bf88ac45390f981db7f Mon Sep 17 00:00:00 2001 From: AndresE55 <80334192+Leander-0@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:44:59 -0500 Subject: [PATCH] Extend rotting/respawn times (#1073) * extend rotting/cloning times 5 mins * raw meat rotting balance --- Content.Shared/Atmos/Rotting/PerishableComponent.cs | 4 ++-- Content.Shared/_NF/CCVars/CCVars.cs | 2 +- .../Prototypes/Entities/Objects/Consumable/Food/meat.yml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Content.Shared/Atmos/Rotting/PerishableComponent.cs b/Content.Shared/Atmos/Rotting/PerishableComponent.cs index 6983b872b89..47dca8964ac 100644 --- a/Content.Shared/Atmos/Rotting/PerishableComponent.cs +++ b/Content.Shared/Atmos/Rotting/PerishableComponent.cs @@ -14,8 +14,8 @@ public sealed partial class PerishableComponent : Component /// /// How long it takes after death to start rotting. /// - [DataField] - public TimeSpan RotAfter = TimeSpan.FromMinutes(10); + [DataField("rotAfter"), ViewVariables(VVAccess.ReadWrite)] + public TimeSpan RotAfter = TimeSpan.FromMinutes(15); /// /// How much rotting has occured diff --git a/Content.Shared/_NF/CCVars/CCVars.cs b/Content.Shared/_NF/CCVars/CCVars.cs index bcdad5ef8f4..9b6a3f916d6 100644 --- a/Content.Shared/_NF/CCVars/CCVars.cs +++ b/Content.Shared/_NF/CCVars/CCVars.cs @@ -15,7 +15,7 @@ public sealed class NF14CVars /// Respawn time, how long the player has to wait in seconds after death. /// public static readonly CVarDef RespawnTime = - CVarDef.Create("nf14.respawn.time", 600.0f, CVar.SERVER | CVar.REPLICATED); + CVarDef.Create("nf14.respawn.time", 900.0f, CVar.SERVER | CVar.REPLICATED); /// /// Whether or not returning from cryosleep is enabled. diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml index e49889e940d..167a0288e3f 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml @@ -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