Yogstation 13 - Modules - TypesVar Details - Proc Details

plate

Vars

max_height_offsetThe max height offset the food can reach on the plate
max_itemsHow many things fit on this plate?
max_x_offsetThe offset from side to side the food items can have on the plate
placement_offsetOffset of where the click is calculated from, due to how food is positioned in their DMIs.

Procs

AddToPlateThis proc adds the food to viscontents and makes sure it can deregister if this changes.
ItemMovedThis proc is called by signals that remove the food from the plate.
ItemRemovedFromPlateThis proc cleans up any signals on the item when it is removed from a plate, and ensures it has the correct state again.

Var Details

max_height_offset

The max height offset the food can reach on the plate

max_items

How many things fit on this plate?

max_x_offset

The offset from side to side the food items can have on the plate

placement_offset

Offset of where the click is calculated from, due to how food is positioned in their DMIs.

Proc Details

AddToPlate

This proc adds the food to viscontents and makes sure it can deregister if this changes.

ItemMoved

This proc is called by signals that remove the food from the plate.

ItemRemovedFromPlate

This proc cleans up any signals on the item when it is removed from a plate, and ensures it has the correct state again.