Idea

Linda Shi avatar image
Linda Shi suggested

Crafting with recipe

I'm currently working on a system that allows the player to combine some items to make a new item. Currently I setup the recipe data in the custom data for the items, but as the recipes gets more complicated it would be great if we can have this as a separate field.

The way I had in mind is similar to how currently the container item is working, except with the Unlock with item ID field and the container contents swapped around. This way we can just call a function to consume the keys as ingredients for the recipe and rewarded the container contents.

example:

{
   "ItemId":"recipe_purple_block",
   "ItemClass":"Recipe",
   "CatalogVersion":"Inventory",
   "DisplayName":"Purple Block Recipe",
   "Description":"A recipe for a giant purple block",
   "VirtualCurrencyPrices":{


   },
   "RealCurrencyPrices":null,
   "Tags":[


   ],
   "CustomData":null,
   "Consumable":{
      "UsageCount":null,
      "UsagePeriod":null,
      "UsagePeriodGroup":null
   },
   "Container":{
      "KeyItemId":[
         "blue_paint",
         "red_paint",
         "giant_block"
      ],
      "ItemContents":"giant_purple_block",
      "ResultTableContents":[


      ],
      "VirtualCurrencyContents":null
   },
   "Bundle":null,
   "CanBecomeCharacter":false,
   "IsStackable":false,
   "IsTradable":false,
   "ItemImageUrl":null,
   "IsLimitedEdition":false,
   "InitialLimitedEditionCount":0,
   "ActivatedMembership":null
}<br>
In-Game Economydata
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Comment

·
Andrew avatar image
Andrew commented

This is a feature I'm currently looking for as well. It would be great to be able to consume one or more items and receive one or more items in return.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.