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 ||
|
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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user