SlashCo Wiki

SlashCo.GetFoodHealMultiplier

 number SlashCo.GetFoodHealMultiplier( Player ply )

Description

Returns the healing multiplier that food items should apply for the given player, based on their active perks.
The "Healthy" perk adds 0.5, the "Glutton" perk subtracts 0.5, and the result is never lower than 0.

Arguments

1Player ply

The player to check

Returns

1number multiplier

The healing multiplier. 1 if the player is invalid or not a Survivor.