Ichor double-metabolize fix + Very minor cleanup (#37107)

Not a yaml vacation apparently
This commit is contained in:
Princess Cheeseballs
2025-05-06 11:16:13 -07:00
committed by GitHub
parent 1ee4c1fe72
commit 64f7fe10cc
3 changed files with 2 additions and 6 deletions

View File

@@ -29,8 +29,6 @@ public sealed class DevourSystem : SharedDevourSystem
if (component.FoodPreference == FoodPreference.All || if (component.FoodPreference == FoodPreference.All ||
(component.FoodPreference == FoodPreference.Humanoid && HasComp<HumanoidAppearanceComponent>(args.Args.Target))) (component.FoodPreference == FoodPreference.Humanoid && HasComp<HumanoidAppearanceComponent>(args.Args.Target)))
{ {
ichorInjection.ScaleSolution(0.5f);
if (component.ShouldStoreDevoured && args.Args.Target is not null) if (component.ShouldStoreDevoured && args.Args.Target is not null)
{ {
ContainerSystem.Insert(args.Args.Target.Value, component.Stomach); ContainerSystem.Insert(args.Args.Target.Value, component.Stomach);
@@ -47,7 +45,7 @@ public sealed class DevourSystem : SharedDevourSystem
_audioSystem.PlayPvs(component.SoundDevour, uid); _audioSystem.PlayPvs(component.SoundDevour, uid);
} }
private void OnGibContents(EntityUid uid, DevourerComponent component, ref BeingGibbedEvent args) private void OnGibContents(EntityUid uid, DevourerComponent component, ref BeingGibbedEvent args)
{ {
if (!component.ShouldStoreDevoured) if (!component.ShouldStoreDevoured)

View File

@@ -141,7 +141,7 @@
foodPreference: Humanoid foodPreference: Humanoid
shouldStoreDevoured: true shouldStoreDevoured: true
chemical: Ichor chemical: Ichor
healRate: 15.0 healRate: 7.5
whitelist: whitelist:
components: components:
- MobState - MobState

View File

@@ -164,8 +164,6 @@
- !type:SatiateThirst - !type:SatiateThirst
factor: 1.5 factor: 1.5
# Dragon doesn't require airloss healing, so omnizine is still best for humans. # Dragon doesn't require airloss healing, so omnizine is still best for humans.
Medicine:
effects:
- !type:ModifyBloodLevel - !type:ModifyBloodLevel
amount: 3 amount: 3
- !type:HealthChange - !type:HealthChange