From 9bdbbf26e2b2825bb60b43cf6262ae3254d76987 Mon Sep 17 00:00:00 2001 From: riccardi48 <39341154+riccardi48@users.noreply.github.com> Date: Mon, 15 Jun 2026 23:32:01 +0100 Subject: [PATCH] init (#13) --- .../PlantAttributes/BasePlantAdjustAttributeEntityEffect.cs | 2 +- Resources/Locale/en-US/guidebook/entity-effects/effects.ftl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Shared/EntityEffects/Effects/Botany/PlantAttributes/BasePlantAdjustAttributeEntityEffect.cs b/Content.Shared/EntityEffects/Effects/Botany/PlantAttributes/BasePlantAdjustAttributeEntityEffect.cs index 9b235e68d4..a1b36c8599 100644 --- a/Content.Shared/EntityEffects/Effects/Botany/PlantAttributes/BasePlantAdjustAttributeEntityEffect.cs +++ b/Content.Shared/EntityEffects/Effects/Botany/PlantAttributes/BasePlantAdjustAttributeEntityEffect.cs @@ -32,6 +32,6 @@ public abstract partial class BasePlantAdjustAttribute : EntityEffectBase Loc.GetString("entity-effect-guidebook-plant-attribute", ("attribute", Loc.GetString(GuidebookAttributeName)), ("amount", Amount.ToString("0.00")), - ("positive", GuidebookIsAttributePositive), + ("positive", GuidebookIsAttributePositive == Amount > 0f), ("chance", Probability)); } diff --git a/Resources/Locale/en-US/guidebook/entity-effects/effects.ftl b/Resources/Locale/en-US/guidebook/entity-effects/effects.ftl index 6186281080..ed6451e916 100644 --- a/Resources/Locale/en-US/guidebook/entity-effects/effects.ftl +++ b/Resources/Locale/en-US/guidebook/entity-effects/effects.ftl @@ -479,8 +479,8 @@ entity-effect-guidebook-plant-attribute = [1] Adjusts *[other] adjust } {$attribute} by {$positive -> - [true] [color=red]{$amount}[/color] - *[false] [color=green]{$amount}[/color] + [false] [color=red]{$amount}[/color] + *[true] [color=green]{$amount}[/color] } entity-effect-guidebook-plant-cryoxadone =