Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save v1ld/b8f7ab4301ffe30d6710c3c0fa7a312e to your computer and use it in GitHub Desktop.

Select an option

Save v1ld/b8f7ab4301ffe30d6710c3c0fa7a312e to your computer and use it in GitHub Desktop.
Cyberpunk 2077 2.0 - Adding Crafting Recipes via TweakXL

Outline of how to add a new crafting recipe to the game. From a Discord message from _jackthestripper.

Items.CommonMaterial1:
  CraftingData: 
    $type: CraftingPackage_Record
    craftingExpModifier: 1
    overcraftPenaltyModifier: 1
    craftingRecipe:
      - $type: RecipeElement_Record
        amount: 1
        ingredient: Items.IntermediateCrafting_Common
      - $type: RecipeElement_Record
        amount: 1
        ingredient: Items.IntermediateCrafting_Mechanical
        
Items.RecipeCommonCraftingMaterial:
  $base: Items.RecipeUncommonCraftingMaterial
  iconPath: material_common
  craftingResult:
    $type: CraftingResult_Record
    amount: 1
    item: Items.CommonMaterial1
  buyPrice:
    - Price.OneEurodollar

Price.OneEurodollar:
  $base: Price.PriceMultiplier
  value: 1```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment