RenewedPhone: This works similar to how the employment app works on the phone, it will use that employment table for different job crafting information!
UpdateMetdata: Each time a player joins, it will check the players metdata, to see if they have all the crafting skill, if not it will add and update their metadata!
Zones
Here's an example of both ways to create a crafting bench:
For items you also have the ability to leave out craftingrep all together, if you don't want players to gain any reputation for crafting items.
Now lets go over the optional features that you can utalize on each crafting location!
Locked
Lets start out with locking stations to jobs, gangs, or citizenids
When locking a location to a job or gang, instead of gaining XP for their own personal skills, they will gain shared xp and levels. With the citizenid, it works the same way as a normal bench, but it's just locked to a specific person!
If you would like to utalize any of those you would add an option to the location called Locked, like so:
You can do multiple jobs, or do a singular one if you would like If you are locking a bench to a job, or gang you don't need the craftingtype for each item
Scrapper
Now lets go over scrapping, this is another feature that you have to enable for each station. The way it works is only certain items can actually go into the station, and for each location you can define different items.
So let's say you have a mechanic bench, and you only want them to be able scrap specific mechanic items you can do so.
Here's what the config for the scrapping station looks like: For the filters, you can create your own in the shared/whitelists.lua file similar to how I have them setup
In the "shared/whitelists" file you can create your own whitelisted filters, and use them on you're different stations. By default I created 2 filters "WeaponWhitelist" and "Mechanicwhitelist".
Storage
And last but not least, storage! I made it so each location you can enable a storage if you so choose. Keep in mind on the public locations, the storage will also be public. But if it's a job crafting locked one, only the people with that job will have access! So now the last thing I will leave you with is an example using all of the above optionl features:
Here's an example utilizing all 3 of the optional features:
Exports
I decided to add an export so if anyone wants they can impliment crafting benches in their script with ease! It basically works the same as the config, for now I kept out the scrapping and storage from the export, but may add those in the future!
Here's an example of creating and destroying a zone with the exports!
And to delete the location you can use this export