cocktail
Vars | |
description | Cocktail description, applied to the glass. |
---|---|
display_ratios | The ratio displayed in the codex, which is the same as ratios prior to normalisation. |
display_types | A list of types (incl. subtypes) to display this cocktail's glass sprite on. |
glass_icon | The icon to use for the cocktail. May be null, in which case no custom icon is used. |
glass_icon_state | The icon_state to use for the cocktail. May be null, in which case the first state in the icon is used. |
hidden_from_codex | If TRUE, doesn't generate a codex entry. |
impurity_tolerance | What fraction of the total volume of the drink (ignoring ice) can be unrelated chems? |
name | Cocktail name, applied to the glass. |
order_specific | If TRUE, cocktail ingredients must be added in the order they're specified in the ratio. |
ratios | Associative list of reagents. The actual amount only matters for defining proportions and will be normalized. These should ideally be whole numbers in the lowest possible ratio, e.g. 1, 2, 3 instead of 0.1, 0.2, 0.3 or 2, 4, 6. Reagents with no assoc value will count as valid for any amount (even 0.001u). |
tastes | What tastes (and associated strengths) this cocktail adds. Scaled in taste code by total_volume. Example: list("something funny" = 0.5) Consider using a total strength proportional to the number of ingredients, i.e. 0.25 for 4 ingredients, 0.5 for 2, etc. |
Var Details
description
Cocktail description, applied to the glass.
display_ratios
The ratio displayed in the codex, which is the same as ratios prior to normalisation.
display_types
A list of types (incl. subtypes) to display this cocktail's glass sprite on.
glass_icon
The icon to use for the cocktail. May be null, in which case no custom icon is used.
glass_icon_state
The icon_state to use for the cocktail. May be null, in which case the first state in the icon is used.
hidden_from_codex
If TRUE, doesn't generate a codex entry.
impurity_tolerance
What fraction of the total volume of the drink (ignoring ice) can be unrelated chems?
name
Cocktail name, applied to the glass.
order_specific
If TRUE, cocktail ingredients must be added in the order they're specified in the ratio.
ratios
Associative list of reagents. The actual amount only matters for defining proportions and will be normalized. These should ideally be whole numbers in the lowest possible ratio, e.g. 1, 2, 3 instead of 0.1, 0.2, 0.3 or 2, 4, 6. Reagents with no assoc value will count as valid for any amount (even 0.001u).
tastes
What tastes (and associated strengths) this cocktail adds. Scaled in taste code by total_volume. Example: list("something funny" = 0.5) Consider using a total strength proportional to the number of ingredients, i.e. 0.25 for 4 ingredients, 0.5 for 2, etc.