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

cup

Vars

assembly_pixel_yVisual y-offset for the assembly on our lid
attached_cellPower cell duct-taped to the side of the beaker
can_lidCan we put a lid on this container?
cell_wiredHave we added wiring to the cell?
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.
has_lidDoes this container have a lid on right now?
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.
lid_assemblyAssembly attached to our lid
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

assembly_pixel_y

Visual y-offset for the assembly on our lid

attached_cell

Power cell duct-taped to the side of the beaker

can_lid

Can we put a lid on this container?

cell_wired

Have we added wiring to the cell?

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.

has_lid

Does this container have a lid on right now?

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.

lid_assembly

Assembly attached to our lid

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