Crafting

Kartik-Business features a detailed crafting system for preparing food and drinks, complete with immersive animations.

Crafting Configuration

Config.Crafting = {
    MaxCraftAmount = 10,          
    TimePerItem = 15000,          
    Animations = {
        food = {
            dict = "amb@prop_human_bbq@male@base",
            clip = "base"
        },
        -- ...
    },
}
  • MaxCraftAmount: The maximum number of items a player can craft in a single batch.

  • TimePerItem: The base duration (in ms) required to craft one item.

  • Animations: Defines the animation dictionary and clip played while crafting different categories (food, drink, side).

Consumption Animations

When players consume items purchased from a business, specific animations and props are used.

  • prop: The model of the item being held.

  • dict/animation: The animation played while consuming.

  • bone/offset: Precise positioning of the prop in the player's hand.

  • category: Links the item to specific business categories for animation selection.

Last updated