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

cup

Vars

consumption_soundWhat sound does our consumption play on consuming from the container?
drink_typeLike Edible's food type, what kind of drink is this?
gulp_sizeHow much we drink at once, shot glasses drink more.
heatableWhether to allow heating up the contents with a source of flame.
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.
reagent_consumption_methodWhat kind of chem transfer method does this cup use. Defaults to INGEST

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

consumption_sound

What sound does our consumption play on consuming from the container?

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.

heatable

Whether to allow heating up the contents with a source of flame.

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.

reagent_consumption_method

What kind of chem transfer method does this cup use. Defaults to INGEST

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