Intuitive Posted December 12, 2021 Share Posted December 12, 2021 I'm looking to add a few custom items for my character, but I am very inexperienced. I'm not sure if all my ideas are possible, and I have no idea where to start with coding them. Any help would be greatly appreciated! Here's what I'd like to add: 1. A Dream item - Would be collected after waking up from sleeping. - Could only be used by the modded character. - Could be used on sleeping mobs to extend their sleeping time and prevent them from waking up until the Dream wears off. - Could also be harvested from sleeping mobs, once per mob. - Could be used on self to restore some sanity over time, but become groggy until it wears off. - Could be used on non sleeping mobs to temporarily slow them down and weaken their attacks. 2. A Nightmare item - Crafted from 1 Dream and 1 Nightmare fuel in the Magic tab. - Could only be used by the modded character. - Immediately wakes the sleeping mob it is used on, and prevents them from falling asleep for some time. - Could be used on self to prevent sleeping, grogginess, and stop any sanity gain until it wears off. 3. A Nightmare sword - Crafted from 1 Dark sword and 5 Nightmares in the Magic tab. - Does extra damage to sleeping targets, and does not wake them. Would these ideas be possible to implement? How would I go about doing this? Link to comment Share on other sites More sharing options...
Leonidas IV Posted December 18, 2021 Share Posted December 18, 2021 The best way to learn to mod is by looking at the code for items similar to what you want to implement, as well as looking for similar effects. As well as looking at how other mods add items. Link to comment Share on other sites More sharing options...
Intuitive Posted December 19, 2021 Author Share Posted December 19, 2021 Alright, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.