Skip to main content

Categories

Categories are the tabs shown in the crafting UI. Each recipe belongs to one category. Default categories shipped with the script: Categories are managed entirely through the admin panel and saved to data/crafting_categories.json.

Recipes

Recipes are grouped by category and managed through the admin panel. They save to data/crafting_recipes.json.

Default Recipe Examples

Materials Medical Tools Illegal Weapons (dispatch alert enabled)

Blueprints

Any recipe can optionally require a blueprint item in the player’s inventory before the recipe is visible or craftable. Set the blueprint field to the item name in the recipe config.

Dispatch Alerts

Recipes with alertDispatch = true have a configurable chance to trigger a dispatch alert when crafted. The alert message and trigger percentage are set per recipe in the admin panel. Weapon recipes default to 75–85% dispatch chance. Material and medical recipes default to 0%.

Fail Penalty & Material Loss

Per recipe and per location, you can configure:
  • Fail Penalty — Applies an XP penalty when a craft fails
  • Material Loss — Consumes ingredients even when the craft fails
Both default to false and are configured independently per bench location in the admin panel.