/tg/ Station 13 - Modules - TypesVar Details - Proc Details

cup

Vars

drink_typeLike Edible's food type, what kind of drink is this?
gulp_sizeHow much we drink at once, shot glasses drink more.
isGlassWhether the 'bottle' is made of glass or not so that milk cartons dont shatter when someone gets hit by it.
last_check_timeThe last time we have checked for taste.

Procs

checkLikedChecks if the mob actually liked drinking this cup.
on_cup_changeCallback for datum/component/takes_reagent_appearance to inherent style footypes
on_cup_resetCallback for datum/component/takes_reagent_appearance to reset to no foodtypes

Var Details

drink_type

Like Edible's food type, what kind of drink is this?

gulp_size

How much we drink at once, shot glasses drink more.

isGlass

Whether the 'bottle' is made of glass or not so that milk cartons dont shatter when someone gets hit by it.

last_check_time

The last time we have checked for taste.

Proc Details

checkLiked

Checks if the mob actually liked drinking this cup.

This is a bunch of copypaste from the edible component, consider reworking this to use it!

on_cup_change

Callback for datum/component/takes_reagent_appearance to inherent style footypes

on_cup_reset

Callback for datum/component/takes_reagent_appearance to reset to no foodtypes