%drinkSetStat()

Aliases%drinkSetStat( )
Parametersobject @entity, string @statName, mixed @value

    Sets the value for a given statName that belongs to the drink object.  The
entity may be an object pointer or object keyword. The statName may be any
one of the following stat IDs:

poisoned affectDrunk
name affectHunger
colour affectThirst
maxCapacity
usedCapacity

Example:

%drinkSetStat( @o, usedCapacity, %drinkGetStat( @o, maxCapacity ) )