saintgrimm92 Posted October 11, 2022 Share Posted October 11, 2022 (edited) I'm working on a mod that adds a unique plant that I want to give 10 of a single item. I figure I could use a script with an onactivate event, but I have no idea how to write a script to check and only give the items if the ingredient has respawned and is harvestable again, so I'm hoping someone can give me a more simple way to just add 10 of the ingredient when the specific plant is harvested instead of the default 1 item. If there's no other way, could someone fill me in on how to set up a script so it only works when the ingredients on a plant are available? EDIT:Found a script called DefaultFakeHarvestableScript in CK. For anyone else trying to do the same thing, make your plant an activator instead of a tree, copy the body of that entire script into a new script, and change "1" in the line: (akActivator as actor).addItem(IngredientHarvested, 1, true)to however many ingredients you want to add, in the properties you can manually set the respawn time and etc. EDIT2: Hearthfires adds plants that give multiple harvests through a misc item/script as well, slightly easier than scripting a fake plant activator, but I already have the script for activator, so I won't bother looking into detail how the BYOH plants work Edited October 11, 2022 by saintgrimm92 Link to comment Share on other sites More sharing options...
magnet55sphere Posted March 23 Share Posted March 23 make a new LeveledItem list with only the item you want to give but a quantity of 10 at 100%, have the plant give you that itemlist Link to comment Share on other sites More sharing options...
Recommended Posts