1wolffan Posted June 28, 2020 Share Posted June 28, 2020 (edited) DM is Direct Message, yes. Not every service calls them PMs, so I wasn't sure. I'm pretty sure you've already answered everything I need to have answered. But it'd be nice to have someone to double check my actual work as I try to figure it out. You seem knowledgeable enough, and patient enough, that's why I asked. lol Edited July 2, 2020 by 1wolffan Link to comment Share on other sites More sharing options...
aoh125 Posted June 24, 2021 Share Posted June 24, 2021 (edited) <--- Necomancer (sorry, threads relevant to me) I've been working on adding some tomes into existing leveled lists/merchants via script. As per the norm with me IsharaMeradin is pointing the way from old posts. To the point, i went about this slightly different and admittedly inferior but simpler for me to grasp. Scriptname AddbooksTest extends ObjectReference ObjectReference Property LucanValeriusREF Auto Book Property SpellTomeDiamondflesh Auto Book Property SpellTomeDevineHand Auto Book Property SpellTomeArcaneFocus Auto Book Property SpellTomeBloodCloak Auto ;Vanilla Lists LeveledItem Property LItemSpellTomes75AllAlteration Auto LeveledItem Property LItemSpellTomes75AllConjuration Auto LeveledItem Property LItemSpellTomes75AllDestruction Auto LeveledItem Property LItemSpellTomes75AllIllusion Auto LeveledItem Property LItemSpellTomes75AllRestoration Auto ;CustomLists LeveledItem Property aaaLitemMyTomesListAlteration Auto LeveledItem Property aaaLitemMyTomesListConjuration Auto LeveledItem Property aaaLitemMyTomesListDestruction Auto LeveledItem Property aaaLitemMyTomesListIllusion Auto LeveledItem Property aaaLitemMyTomesListRestoration Auto Int Property Added = 0 Auto ;Change 1 to 0 and 0 to 1 for updates Event OnInit() If Added == 0 AddStuff() Added = 1 EndIf EndEvent Event OnLoad() If Added == 0 AddStuff() Added = 1 EndIf EndEvent Function AddStuff() Utility.Wait(10.0) LucanValeriusREF.addItem(SpellTomeDiamondflesh, 1) LucanValeriusREF.addItem(SpellTomeDevineHand, 1) LucanValeriusREF.addItem(SpellTomeArcaneFocus, 1) LucanValeriusREF.addItem(SpellTomeBloodCloak, 1) debug.notification("Tomes Added to riverwood trader") LItemSpellTomes75AllAlteration.AddForm(aaaLitemMyTomesListAlteration, 1, 1) LItemSpellTomes75AllConjuration.AddForm(aaaLitemMyTomesListConjuration, 1, 1) LItemSpellTomes75AllDestruction.AddForm(aaaLitemMyTomesListDestruction, 1, 1) LItemSpellTomes75AllIllusion.AddForm(aaaLitemMyTomesListIllusion, 1, 1) LItemSpellTomes75AllRestoration.AddForm(aaaLitemMyTomesListRestoration, 1, 1) debug.notification("Tomes Added to Litem Lists") EndFunction Is there a better way to do this that doesn't involve quest creation?Figure i could drop new spells (if any) into the leveled lists to have them easily added. (adding to trader is for testing) Edited June 24, 2021 by aoh125 Link to comment Share on other sites More sharing options...
Recommended Posts