promotional bannermobile promotional banner

LibLazyCrafting

Library allowing addons to easily craft complicated items

File Details

Scions of Ithelia+Furniture Support

  • R
  • Mar 11, 2024
  • 48.22 KB
  • 3.3K
  • 8.0+2

File Name

LibLazyCrafting-4.006.zip

Supported Versions

  • 8.0
  • 5.3.8
  • 2.6.11

Highlights:
Furniture crafting is now supported by the library API

 

Version 4.006:

Fixed a bug where the compile mat requirements for provisioning would set times to make to 1 (and then use 1 for calculations)

Version 4.005:

Recipe map is now up to date

Version 4.004:

API Bump
Now calculates material requirements for unknown recipes. This will fix the current known bug in set crafter where unknown recipes do not have material requirements in the materials scroll list.

Version 4.003:

Fixed a bug where attempting to use a request table to calculate the material requirements for provisioning items would fail if it was a returned table from a craft success event. In those, the timesToMake field is a quantity field.

Version 4.002:

Added LibLazyCrafting:AddListeningAddon(addonName, callbackFunction)
Addons can call this function to hear about everything created by LLC.
callBackFunction has the signature (String LLCEvent, String addonRequester, int station, table returnTable)
addonRequester is whatever addon asked for the item to be created. Is nil for some events.

Version 4.001:

Fixed a bug where generating recipe material requirements would not take into account increased quantities

Version 4.0:

Added support for the mat requirements for provisioning
Also increased version number to 4.0 :D

Version 3.0.866:

Fixed a bug when using the CraftProvisioningItemByRecipeId function

Version 3.0.865:

Added support for furniture crafting!
It uses the same functions as provisioning, but now trying to use the functions with furniture arguments will actually work. This new feature required changes to the queuing code of the library
Added some aliases for provisioning/furniture functions. Mainly, instead of saying CraftProvisioningItem you can say CraftFurnishingItem. This is solely for readability and understandability when using the functions; there is no actual difference in behaviour
Added CraftProvisioningItemByResultItemId. This will let you request to make a provisioning/furnishing item by passing the item ID of the item that you want
Added a Read Me with documentation on use and some specific functions, as well as some general useful and related info on the game API. Ideally, if you're interested you'll read it on the github, but it's still included in the zip.
Some minor code cleanup