Unturned

Unturned

Creative Survivors Needed
Download and play community created maps, items, vehicles, models, translations and more!
Learn More
How to make a custom crafting recipe mod?
I am making my own nation rp server and I want to make crafting recipe for weapons. Anyone know how to because their is nothing about this on search.
Last edited by The Unknown; 16 May, 2023 @ 4:26pm
< >
Showing 1-1 of 1 comments
Ongjming 24 21 May, 2023 @ 9:28am 
Hi! If it is to add new crafting recipes for existing weapons, you could create a dummy Item type asset .dat. (Essentially any random item that could contain the blueprint crafting recipes that you would want for those other weapons on your server)

You can find out more via here as a start: https://docs.smartlydressedgames.com/en/stable/assets/item-asset/introduction.html#blueprints-and-actions

Actions, when you set it up nicely, allow players to just click on that option to perform the crafting/redirect them to the craft recipe in the craft interface.

e.g:
Blueprints (Number of blueprints you have inclusive of 0 to whatever much you have)
Blueprint_#_Type Apparel
Blueprint_#_Supplies 2
Blueprint_#_Supply_0_ID 66
Blueprint_#_Supply_0_Amount 5
Blueprint_#_Supply_1_ID 256
Blueprint_#_Supply_1_Amount 2
Blueprint_#_Tool 70
Blueprint_#_Skill Repair
Blueprint_#_Level 2
Blueprint_#_Build (Numbers reference here: https://unturned.gameinfo.io/effects/set/effect)
Blueprint_#_Outputs 1
Blueprint_#_Output_0_ID 1135
Blueprint_#_Output_0_Amount 1

....so on and so forth with the Blueprint_#_ series (0 to whatever number)

This would craft a Green scarf from 5 pieces of cloth and 2 green flares, with presence of glue in your inventory, provided you also have invested 2 levels into Engineer skill.

You can add lots of this into that one .dat file so that every weapon in your server has a way to be crafted.
< >
Showing 1-1 of 1 comments
Per page: 1530 50