Jump to content

Recommended Posts

Hello! I am working on a character mod, the character itself works just fine, but i have some questions as to the next step, which is custom items.

  1. Is it possible to create an item that raises sanity of everyone around you.
  2. Can you code it so that said item is unable to be used by other character.
  3. I know you can create items that only one character can create, but can you make it so one character can craft a pre-existing item in a different way? (for example, make it so a modded character can craft a pan-flute without a mandrake, or a beefalo hat without the horn.)

Thanks in advanced!

Link to comment
https://forums.kleientertainment.com/forums/topic/63476-custom-item-questions/
Share on other sites

  • Developer

Hey there, @Augustusc! Welcome to the forums :D

Let me try and answer your questions as best as I can. Since I'm not very good at modding, I won't be able to help you through the code. But maybe another programmer will be willing to lend a hand?

Anyway, the questions:

1. I think so, yes. You'd just need to give it a sanity aura.

2. Well, you could look into Woodie's code for that, since he's the only one that can pick Lucy, the Axe.

3. Hmm... theoretically, yes, but I heard DST handles recipes differently than DS, and I don't know if it'd be possible to change the recipes for only 1 character...

Oh, and hey! I'm gonna leave the links to some REALLY helpful tutorials regarding items! Although meant for DS, I'm pretty sure they work for DST as well. (Do correct me if I'm wrong.)

The Artist's Guide to Character and Item Modding: 

 

Creating a "Handslot-Equippable Item" From Scratch: 

I hope I helped! Do post here any other questions you have, someone is bound to help you with them :)

Thanks for replying! It means a lot!

For question number one, I didn't do a good job describing what i meant. But your reply will be useful for something else I'm doing. what i meant was an item  like a pan flute (in terms of an item with durability, and a right click to use function) , but it raises sanity for everyone around the user instead of putting things to sleep.

The other two questions were answered perfectly, and I am really glad you give me some links, super helpful! Thanks for everything!

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
×
  • Create New...