yarddogg77 Posted May 29, 2017 Share Posted May 29, 2017 I'm looking for a way to craft an item only once. I guess I'll tell you what I'm doing first. I'm making a mod which will have the player quest to find a forge that will craft reusable soul gems. I have the reusable soul gems working in game but am having issues. At first I had my reusable soul gems working just fine. I had about 4 of them in my inventory, I could fill them and they would say filled, then I could enchant with them and I would have the empties in my inventory again. Once I added the Black Star to my inventory and started using it, the reusable soul gems I had made and was using, stopped stacking in my inventory correctly. My inventory shows the gems, then I soul trap one black soul, and it shows the entire stack as full gems. I can enchant 1 item and the stack shows all empty gems. So I decided It would be best it they did not stack in my inventory, and decided 6 reusable soul gems would be more than enough for game play. I duplicated the gem 5 times so the gems will not stack in my inventory and will hopefully work correctly for filling and emptying. The only trouble is, I need to have 6 seperate recipes to craft the gems, and I only want the recipes to craft the soul gems once. I know this was an issue a long time ago on the Old Skyrim, and the mod author had to make a seperate quest to add an empty soul gem to the intentory whenever a soul gem was consumed in order to create the effect of reusable soul gems for the same reasons I'm having to fiddle with this. Whatever script that decides how the Black Star is used, seems to screw up everything I'm trying to do in one way or another. The key word to make a soul gem reusable is 'reusablesoulgem'. I assume this keyword is attached to the script that runs The Black Star. I am at my wits end trying to keep my reusable soul gems working and stacking in my inventory as they should. If I found a way to add an empty gem to my inventory whenever one is consumed, then I could get around the pesky Black Star script, but I'm not an experienced scripter, and I'm not comfortable messing around with the enchanting table script, it's a little complicated, because it is actually listed as a quest, and then in the advanced tab it shows the script used during enchanting, which I will have to unpack and look at. So the question is, does anyone know a way to make an item craftable only once? I'm actually using the smelter to craft the gems at the time just for simplicity and for testing with standard recipes. Link to comment Share on other sites More sharing options...
thumbincubation Posted May 29, 2017 Share Posted May 29, 2017 With the understanding that scripting and complicated modding is out of my league, my first thought was to give it a necessary ingredient and only put one of them in the game, kind of like the Jarrin root. That doesn't stop people from consoling themselves extra, but then most mods are vulnerable to that. Link to comment Share on other sites More sharing options...
lofgren Posted May 30, 2017 Share Posted May 30, 2017 Easiest way to make something creatable only once is to simply condition the recipe to only appear when a global has a certain value and then once it's created set the global to a different value. Link to comment Share on other sites More sharing options...
Recommended Posts