Fix uncooked animal proteins metabolism (#42942)
* Update toxins.yml * poison!!!! * I hate solutions sytem I hate solutions sytem I hate solutions system --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
parent
0cc560e036
commit
0130273a54
|
|
@ -52,9 +52,16 @@ public sealed class VomitSystem : EntitySystem
|
|||
|
||||
private void TryVomitSolution(Entity<StomachComponent> ent, ref BodyRelayedEvent<TryVomitEvent> args)
|
||||
{
|
||||
if (_solutionContainer.ResolveSolution(ent.Owner, StomachSystem.DefaultSolutionName, ref ent.Comp.Solution, out var sol))
|
||||
_solutionContainer.TryTransferSolution(ent.Comp.Solution.Value, args.Args.Sol, sol.AvailableVolume);
|
||||
if (!_solutionContainer.ResolveSolution(ent.Owner,
|
||||
StomachSystem.DefaultSolutionName,
|
||||
ref ent.Comp.Solution,
|
||||
out var sol))
|
||||
return;
|
||||
|
||||
args.Args.Sol.AddSolution(sol, _proto);
|
||||
|
||||
// Remind the stomach that it's empty.
|
||||
_solutionContainer.UpdateChemicals(ent.Comp.Solution.Value);
|
||||
args.Args = args.Args with { Handled = true };
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,12 @@
|
|||
groups:
|
||||
Brute: -3
|
||||
Burn: -1.25
|
||||
Bloodstream: # Don't inject someone else's blood into yourself! Your own blood won't actually metabolise.
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
damage:
|
||||
types:
|
||||
Poison: 0.2
|
||||
plantMetabolism:
|
||||
- !type:PlantAdjustWater
|
||||
amount: 0.5
|
||||
|
|
@ -164,7 +170,7 @@
|
|||
flavor: metallic
|
||||
color: "#f4692e"
|
||||
recognizable: true
|
||||
metabolisms:
|
||||
metabolisms:
|
||||
Bloodstream:
|
||||
effects:
|
||||
- !type:SatiateThirst
|
||||
|
|
|
|||
|
|
@ -510,7 +510,7 @@
|
|||
flavor: bitter
|
||||
color: "#FFFFE5"
|
||||
metabolisms:
|
||||
Digestion:
|
||||
Bloodstream:
|
||||
effects:
|
||||
- !type:PopupMessage
|
||||
conditions:
|
||||
|
|
|
|||
Loading…
Reference in New Issue