PA Scripts
Scripts
  • Overview
  • Hookers
    • 🔧 Installation
    • 🎮 Gameplay & Usage
    • ⚙ Configuration Details
  • Multiplayer Roof Running
    • 🔧 Installation
    • 🔍 Gameplay & Usage
    • ⚙️ Configuration Details
  • Crafting System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙️ Configuration Details
  • Lockpick System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙️ Configuration Details
  • Racing System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙️ Configuration Details
  • Hacking System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙️ Configuration Details
  • Money Laundering System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙️ Configuration Options
  • Radial Menu
    • 🔧 Installation
    • 🔍 Usage
    • ⚙️ Configuration Options
  • Prop System
    • 🔧 Installation
    • 🔍 Usage
    • Configuration Details
  • Hq App + Art Asylum Heist
    • ⚔️General information page
    • 🧠Installation
  • Inventory
    • Readme file
    • 🧠Installation
    • 🪶Config Settings
  • Craft System
    • 💻General features
    • 🧠Installation
    • 🪶Config Settings
    • 🟦Blueprints
  • UI Pack
    • ⚙️Setting for Core
    • 🪶Usage examples
Powered by GitBook
On this page

Was this helpful?

  1. Crafting System

⚙️ Configuration Details

Custom Crafting Recipes

The crafting system allows defining items and their required materials in config.lua. Example:

PA.Crafting = {
    Workbenches = {
        {x = 123.45, y = -456.78, z = 789.01, type = "general"},
        {x = 223.45, y = -556.78, z = 889.01, type = "weapons"},
    },
    Recipes = {
        weapons = {
            {
                item = "weapon_pistol",
                label = "Pistol",
                materials = {
                    {item = "steel", quantity = 10},
                    {item = "plastic", quantity = 5},
                },
                time = 30, -- Seconds to craft
                failChance = 5, -- 5% chance to fail
                jobRestriction = "gunsmith",
            },
        },
        general = {
            {
                item = "lockpick",
                label = "Lockpick",
                materials = {
                    {item = "metal_scrap", quantity = 3},
                },
                time = 10,
                failChance = 0,
                jobRestriction = nil,
            },
        }
    }
}

Key Configuration Options

  • Workbenches: Define locations and types of crafting stations.

  • Recipes: Configure crafting blueprints with material requirements.

  • Time: Set crafting durations per item.

  • FailChance: Introduce a risk of failure.

  • JobRestriction: Restrict crafting to specific job roles.

🚀 Conclusion

The PA Crafting System enhances roleplay by adding depth to item creation. With customizable recipes, workbench mechanics, and job-based restrictions, it provides an engaging crafting experience tailored to your server’s economy and gameplay style.

Previous🔍 UsageNextLockpick System

Last updated 4 months ago

Was this helpful?