Skip to content

Brewery & BreweryXπŸ”—

ItemsπŸ”—

BrewπŸ”—

Brewery usage is integrated to the Items system and thus used for actions and conditions.

The first argument is the name and the second the quality. You can specify the mode to select the brew by either the name or its id, defaulting to the name.
The quality is not used for determining equality, only for generating the brew item.
In addition, you can also add quest-item argument to tag them as "QuestItem".

Example
items:
  appleLiquor: 'brew "Apple Liquor" 2'
  hotChocolate: "brew hot_choc 10 mode:id quest-item"
conditions:
  hasAppleLiquor: "item appleLiquor"
  brewId: "hand hotChocolate"
actions:
  giveHotChocolate: "give hot_chocolate"
  takeLiquor: "take appleLiquor"

ConditionsπŸ”—

DrunkπŸ”—

Context:
Syntax: drunk <drunkness>
Description: Whether the player is drunk.

The only argument is the minimal drunkness (0-100).

Example
conditions:
  drunk50: "drunk 50"

DrunkQualityπŸ”—

Context:
Syntax: drunkquality <quality>
Description: Whether the player has the given drunk quality.

The only argument is the minimal drunk quality (1-10).

Example
conditions:
  quality3: "drunkquality 3"