Botany tweaks vol. 2.5 (#19039)
* Buff nutriment on plants * Super composting buff * 1984 pt. 2 * Use standard function
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user