Make Items and Boops react, remember, and change.

Sugar is JOI's programming language for defining what your creations do. Control text and media, build games, change Items, move Lore, and connect behavior across an App.

Where should I start?

Define the whole interaction in code.

An action can keep its variables, conditions, text, and behavior together. Begin with one response, then add memory and logic without rebuilding the creation through separate forms.

SUGAR
action greet -> "Greet" {
  text "@1 gives @2 "+
    Rand::pick("a kiss", "a playful bite", "a tight hug")+".";
}
Already know Sugar 1? See what changed in Sugar 2.