Videniofthesith Posted January 24, 2011 Share Posted January 24, 2011 I have created my own mods with my own set of ingredients, I want to use them ingredients in Alchemy to create a poison I created also. So the player can harvest the ingredients, then make the poison themselves. Only, I can't find a way to do that. Any ideas if it is even possible? Link to comment Share on other sites More sharing options...
WastelandAssassin Posted January 24, 2011 Share Posted January 24, 2011 wait, what exactly are you asking?? you have created your own ingredients, and they can't be used for alchemy for some reason??or do you want that a combination of these specific ingredients will create a specific type of poison?? because if it's the second, then i don't think it's possible (at least not like this)however, you can make a chest, that if you put inside of it 1 of each of these ingredients, you will get 1 bottle of your poison (if this is what you are looking for) Link to comment Share on other sites More sharing options...
Videniofthesith Posted January 24, 2011 Author Share Posted January 24, 2011 Yeah, the second one. How would I go about creating this chest? I guess it would be scripted, but I don't know much about scripting just yet, hardly anything. Do you have a link or something that will explain this? Link to comment Share on other sites More sharing options...
WastelandAssassin Posted January 24, 2011 Share Posted January 24, 2011 well, this page has quite a lot of scripting information, but it won't give you the specific script you need to write i'm afraid that on this, you would either have to ask for help from someone who knows scripting, or look through the commands and functions, and find what you are looking for however, i can give you one advice, and that is how i would approach this scripti would make a script that happens when you open the chest (or close it, if it's possible) that would check if the chest has in it the needed ingredients, and if so, removes them, and puts in it 1 bottle of the poison or, you could maybe do it better, by making an activator, that when activates, checks your inventory for the items, and if they are found, removes them for 1 bottle of the poisonas a replacement for just getting the poison to your inventory, you could make another activator, that one you make one of these poisons, you see a bottle next to the item you used (i know this can be done, but not sure how) i'm afraid i can't offer you much more than this, as my scripting experience is slim at best Link to comment Share on other sites More sharing options...
Videniofthesith Posted January 24, 2011 Author Share Posted January 24, 2011 Well dang, I hope I can get this working. I was in hopes you could tell me how lol. I will look over the site but I doubt I am going to be able to make it work without a setup to follow. Link to comment Share on other sites More sharing options...
WastelandAssassin Posted January 24, 2011 Share Posted January 24, 2011 well, you can use this function to check for the amount of items in the inventory, which you will have to do then use this function to remove the items from the inventory, and this function to add the poison to the inventory if you choose to go with an activator, then you need to check your own inventory, and the block type should be OnActivate as for how to write the script itself, look at the script tutorials on this site, they should give you a general idea of how the script should lookand i'm sure the checks are quite obvious (if the character has at least 1 item of each ingredient, do the process) i hope this helps some more good luck :) Link to comment Share on other sites More sharing options...
Recommended Posts