Skip to content

Brewery & BreweryXπŸ”—

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: drunkπŸ”—

This condition is true if the player is drunken. Only argument is the minimal drunkness (0-100).

Example
conditions:
  drunk50: "drunk 50"

Drunk Quality: drunkqualityπŸ”—

This condition is true if the player has the given drunk quality. Only argument is the minimal drunk quality (1-10).

Example
conditions:
  quality3: "drunkquality 3"