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

grillable

Vars

added_reagentsReagents that should be added to the result
cook_resultResult atom type of grilling this object
current_cook_timeTime spent cooking so far
positive_resultIs this a positive grill result?
required_cook_timeAmount of time required to cook the food
use_large_steam_spriteDo we use the large steam sprite?
who_placed_usREF() to the mind which placed us on the griddle

Procs

finish_grillingRan when an object finished grilling
on_examineRan when an object almost finishes grilling
on_grillRan every time an item is grilled by something
on_grill_placedSignal proc for COMSIG_ITEM_GRILL_PLACED, item is placed on the grill.
on_grill_turned_offSignal proc for COMSIG_ITEM_GRILL_TURNED_OFF, stops the grilling process.
on_grill_turned_onSignal proc for COMSIG_ITEM_GRILL_TURNED_ON, starts the grilling process.
on_movedRan when an object moves from the grill

Var Details

added_reagents

Reagents that should be added to the result

cook_result

Result atom type of grilling this object

current_cook_time

Time spent cooking so far

positive_result

Is this a positive grill result?

required_cook_time

Amount of time required to cook the food

use_large_steam_sprite

Do we use the large steam sprite?

who_placed_us

REF() to the mind which placed us on the griddle

Proc Details

finish_grilling

Ran when an object finished grilling

on_examine

Ran when an object almost finishes grilling

on_grill

Ran every time an item is grilled by something

on_grill_placed

Signal proc for COMSIG_ITEM_GRILL_PLACED, item is placed on the grill.

on_grill_turned_off

Signal proc for COMSIG_ITEM_GRILL_TURNED_OFF, stops the grilling process.

on_grill_turned_on

Signal proc for COMSIG_ITEM_GRILL_TURNED_ON, starts the grilling process.

on_moved

Ran when an object moves from the grill