Give some love to farming (#1124)

* give some love to farming

* Queryptimization

* Fuck soil!!!

* fuck soil in prototypes!

* seeds improve

* partial merge wild and farm

* some strange fix

* plant kills refactor, add compost

* fix compost

* Update migration.yml

* rain can watering plants

* sage update

* Update seeds.yml

* sage smoking update

* Update seeds.yml
This commit is contained in:
Ed
2025-04-03 15:29:08 +03:00
committed by GitHub
parent 16c4f8be53
commit 48831380b4
98 changed files with 1143 additions and 1322 deletions

View File

@@ -89,13 +89,6 @@ public sealed class InjectorSystem : SharedInjectorSystem
if (args.Target is not { Valid: true } target || !HasComp<SolutionContainerManagerComponent>(entity))
return;
//CP14 - Shitcode retarget plant -> soil
//TODO: fix it
if (TryComp<CP14PlantComponent>(args.Target, out var plant) && plant.SoilUid is not null)
target = plant.SoilUid.Value;
//CP14 - end shitcode
// Is the target a mob? If yes, use a do-after to give them time to respond.
if (HasComp<MobStateComponent>(target) || HasComp<BloodstreamComponent>(target))
{