Crafting #

Crafting systems range from a simple exchange of materials for gear, to complex, nested, pseudo-random rolled item grant and upgrade systems. Pragma Engine is designed to enable simple workflows powered entirely by content and configuration, and rich workflows with custom game logic defined in plugins.

To learn more about how crafting fits into our larger content systems, as well as how to access crafting content catalogs in Portal, visit the Content Data services page.

Basic Crafting #

The Store system works in a pinch to support basic crafting systems as well. This means crafting can be implemented directly through content and configuration.

It can be helpful to think of the store system as a simple crafting system. You can define as many store catalogs as needed, and the in-game UI could be anything from an NPC shopkeeper to a workbench to an in-game menu.

Advanced Crafting #

Some games have more involved crafting systems with custom requirements or initialization logic. The Craft system provides a very powerful, flexible API through the Craft plugin.

Time-Based Crafting #

Many games require time-based crafting where players wait in real time for an operation to complete.

This can be quickly implemented by creating a workflow out of existing systems:

  1. A store catalog is defined to allow players to exchange crafting materials for a crafting token.
  2. The crafting token includes a timestamp (set by the platform) that specifies when the item will be ready to be redeemed.
  3. Another store entry exchanges the crafting token for the actual item after a simple plugin check to confirm the wait time has completed.

For full examples, see the Crafting User Guide and the Crafting: Time Based User Guide.