Skip to content

GetCarryItemDrink

What a carry item holds to drink.

GetCarryItemDrink(entityId)
Parameter Type
entityId number the carry item

string, number - the drink’s item class ("" none) and the sips left (-1 endless)

local drink, sips = GetCarryItemDrink(mug)
if sips == 0 then SetCarryItemDrink(mug, drink, 3) end -- the barmaid refills it

SetCarryItemDrink · the Carry items group of the index