From 2a75e7213e84c4f84a866d45ad69e8635c227e14 Mon Sep 17 00:00:00 2001 From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:59:39 -0400 Subject: [PATCH] Wow kudzu is back! (#20822) --- .../Botany/Systems/MutationSystem.cs | 7 +++--- Resources/Prototypes/GameRules/events.yml | 24 +++++++++---------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Content.Server/Botany/Systems/MutationSystem.cs b/Content.Server/Botany/Systems/MutationSystem.cs index 94a450ebef..672139fbca 100644 --- a/Content.Server/Botany/Systems/MutationSystem.cs +++ b/Content.Server/Botany/Systems/MutationSystem.cs @@ -37,7 +37,7 @@ public sealed class MutationSystem : EntitySystem } // Add up everything in the bits column and put the number here. - const int totalbits = 265; + const int totalbits = 270; // Tolerances (55) MutateFloat(ref seed.NutrientConsumption , 0.05f, 1.2f, 5, totalbits, severity); @@ -69,8 +69,7 @@ public sealed class MutationSystem : EntitySystem MutateBool(ref seed.Sentient , true , 10, totalbits, severity); MutateBool(ref seed.Ligneous , true , 10, totalbits, severity); MutateBool(ref seed.Bioluminescent, true , 10, totalbits, severity); - // Kudzu disabled until superkudzu bug is fixed - // MutateBool(ref seed.TurnIntoKudzu , true , 10, totalbits, severity); + MutateBool(ref seed.TurnIntoKudzu , true , 10, totalbits, severity); MutateBool(ref seed.CanScream , true , 10, totalbits, severity); seed.BioluminescentColor = RandomColor(seed.BioluminescentColor, 10, totalbits, severity); @@ -119,7 +118,7 @@ public sealed class MutationSystem : EntitySystem CrossBool(ref result.Sentient, a.Sentient); CrossBool(ref result.Ligneous, a.Ligneous); CrossBool(ref result.Bioluminescent, a.Bioluminescent); - // CrossBool(ref result.TurnIntoKudzu, a.TurnIntoKudzu); + CrossBool(ref result.TurnIntoKudzu, a.TurnIntoKudzu); CrossBool(ref result.CanScream, a.CanScream); CrossGasses(ref result.ExudeGasses, a.ExudeGasses); diff --git a/Resources/Prototypes/GameRules/events.yml b/Resources/Prototypes/GameRules/events.yml index 927aea0973..e15d65b508 100644 --- a/Resources/Prototypes/GameRules/events.yml +++ b/Resources/Prototypes/GameRules/events.yml @@ -132,18 +132,18 @@ startDelay: 20 - type: GasLeakRule -#- type: entity -# id: KudzuGrowth -# parent: BaseGameRule -# noSpawn: true -# components: -# - type: StationEvent -# earliestStart: 15 -# minimumPlayers: 15 -# weight: 5 -# startDelay: 50 -# duration: 240 -# - type: KudzuGrowthRule +- type: entity + id: KudzuGrowth + parent: BaseGameRule + noSpawn: true + components: + - type: StationEvent + earliestStart: 15 + minimumPlayers: 15 + weight: 5 + startDelay: 50 + duration: 240 + - type: KudzuGrowthRule - type: entity id: MeteorSwarm