]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Revert "Revert "Reenable kudzu."" (#20876)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Tue, 10 Oct 2023 03:34:41 +0000 (23:34 -0400)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 03:34:41 +0000 (20:34 -0700)
Content.Server/Botany/Systems/MutationSystem.cs
Resources/Prototypes/GameRules/events.yml

index 94a450ebeffb14ac754a8237e69c51d7b1b23d0f..672139fbca2dec6763a1578705a870abb85a89eb 100644 (file)
@@ -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);
index 927aea0973fb6f282fbdad57b0291b3c4990b555..e15d65b50891670dfe3cedbd5bafdb2136900ddf 100644 (file)
     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