Jump to content

Uncraftable+infinite durability starting item?


Recommended Posts

Hello, forums! I'm currently trying my hand at creating a character mod: I need something akin to Lucy the Axe in that it's uncraftable and that it has no durability limit (two necklaces, no special effects as of now). The character should start with those in the inventory, but there's also other items (but it also has to serve a purpose; in this case, it's an infinite-use sewing kit). How should I code this, especially in modmain.lua where I think you need the recipes for all custom items? Thank you!

Link to comment
Share on other sites

For the no durability, it should be easy, you could simply not put durability on item when you make the prefab.

Starting with items in inventory is pretty simple if i'm not wrong, don't have the code here but should be doable.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...