/tg/ Station 13 - Modules - TypesVar Details

moodlet_in_area

Vars

allowed_areasTypecache of areas that will trigger the moodlet while in them
moodlet_typeMoodlet to apply while in the area
special_checkOptional callback to run when checking if the moodlet should be applied. Should return TRUE to apply, FALSE to not.

Var Details

allowed_areas

Typecache of areas that will trigger the moodlet while in them

moodlet_type

Moodlet to apply while in the area

special_check

Optional callback to run when checking if the moodlet should be applied. Should return TRUE to apply, FALSE to not.