Ichor double-metabolize fix + Very minor cleanup (#37107)
Not a yaml vacation apparently
This commit is contained in:
committed by
GitHub
parent
1ee4c1fe72
commit
64f7fe10cc
@@ -29,8 +29,6 @@ public sealed class DevourSystem : SharedDevourSystem
|
||||
if (component.FoodPreference == FoodPreference.All ||
|
||||
(component.FoodPreference == FoodPreference.Humanoid && HasComp<HumanoidAppearanceComponent>(args.Args.Target)))
|
||||
{
|
||||
ichorInjection.ScaleSolution(0.5f);
|
||||
|
||||
if (component.ShouldStoreDevoured && args.Args.Target is not null)
|
||||
{
|
||||
ContainerSystem.Insert(args.Args.Target.Value, component.Stomach);
|
||||
@@ -47,7 +45,7 @@ public sealed class DevourSystem : SharedDevourSystem
|
||||
|
||||
_audioSystem.PlayPvs(component.SoundDevour, uid);
|
||||
}
|
||||
|
||||
|
||||
private void OnGibContents(EntityUid uid, DevourerComponent component, ref BeingGibbedEvent args)
|
||||
{
|
||||
if (!component.ShouldStoreDevoured)
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
foodPreference: Humanoid
|
||||
shouldStoreDevoured: true
|
||||
chemical: Ichor
|
||||
healRate: 15.0
|
||||
healRate: 7.5
|
||||
whitelist:
|
||||
components:
|
||||
- MobState
|
||||
|
||||
@@ -164,8 +164,6 @@
|
||||
- !type:SatiateThirst
|
||||
factor: 1.5
|
||||
# Dragon doesn't require airloss healing, so omnizine is still best for humans.
|
||||
Medicine:
|
||||
effects:
|
||||
- !type:ModifyBloodLevel
|
||||
amount: 3
|
||||
- !type:HealthChange
|
||||
|
||||
Reference in New Issue
Block a user