Every character has the five shared moods, in this order, and may add more
of its own. With no character, it lists the shared moods. With a
character, it lists that character's moods: the shared ones first, then its
own in the order its author wrote them.
Arguments
- character
NULL(the default) for the shared moods, or a character: an id string such as"tessa"or amascot_character()helper.
Value
A data frame with character columns name (the value you pass to
mascot_mood()), description, status (the text shown beside the mascot
for that mood), a logical column shared (TRUE for the five shared
moods), and a character column fallback (the mood used instead when this
one is not available, or NA). Shared moods have no fallback.
A base data frame. Columns may be added at the end in later versions; existing columns keep their
names and types.
See also
Other mascot helpers:
mascot_action(),
mascot_anchors(),
mascot_bubble(),
mascot_character(),
mascot_characters(),
mascot_check_character(),
mascot_colour_roles(),
mascot_families(),
mascot_gesture(),
mascot_gestures(),
mascot_mood(),
mascot_motion_settings(),
mascot_palettes(),
mascot_placement(),
mascot_popup_menu(),
mascot_preview(),
mascot_read_character(),
mascot_size(),
mascot_status(),
mascot_theme()
Examples
mascot_moods()
#> name description status
#> 1 idle At rest; the starting mood. Idle
#> 2 thinking Working on something, such as a long calculation. Thinking
#> 3 happy Something went well. Happy
#> 4 worried Something needs attention, such as an invalid field. Worried
#> 5 celebrating A big success, such as a finished task. Celebrating
#> shared fallback
#> 1 TRUE <NA>
#> 2 TRUE <NA>
#> 3 TRUE <NA>
#> 4 TRUE <NA>
#> 5 TRUE <NA>
mascot_moods("tessa")
#> name description
#> 1 idle At rest; the starting mood.
#> 2 thinking Working on something, such as a long calculation.
#> 3 happy Something went well.
#> 4 worried Something needs attention, such as an invalid field.
#> 5 celebrating A big success, such as a finished task.
#> status shared fallback
#> 1 Resting, ready for the next piece. TRUE <NA>
#> 2 Working out how the parts fit. TRUE <NA>
#> 3 That came together nicely. TRUE <NA>
#> 4 One part needs a closer look. TRUE <NA>
#> 5 Finished, and built to last. TRUE <NA>
