Botany tweaks vol. 2.5 (#19039)

* Buff nutriment on plants

* Super composting buff

* 1984 pt. 2

* Use standard function
This commit is contained in:
Doru991
2023-08-13 10:10:22 +03:00
committed by GitHub
parent 22ece21d2c
commit 3af1cc0dbd
3 changed files with 15 additions and 4 deletions

View File

@@ -300,7 +300,12 @@ namespace Content.Server.Botany.Systems
ForceUpdateByExternalCause(uid, component);
}
}
var seed = produce.Seed;
if (seed != null)
{
var nutrientBonus = seed.Potency / 2.5f;
AdjustNutrient(uid, nutrientBonus, component);
}
EntityManager.QueueDeleteEntity(args.Used);
}
}