I am trying to create a mod that gives players access to the two backpacks that many miss at ostigar. At first I just wanted to somehow link that merchants inventory to another merchant who was more readily accessable, but I realised that probably wasn't going to be possible when I noticed he actually seems to restock after the wild meaning he only ever has one even if you negelct to purchase the first backpack before hand.
So my question is this. Is it feasable to create a script that checks to see if the player purchased these two backpacks? I don't want the backpacks to be avaible if the player actually bought them; only if they missed them.
Thank you in advance.
Further Explaination:
What I think I need to do is watch for the event that causes the quartermaster to restock the backpack (no idea what that event is or how to find it.) Then, before it runs check to see if the backpack has been bought and if it has not add a backpack to the other merchants inventory. This should be repeated when the talk with Duncan begins the Battle at Ostigar.
Alternately, (and this one somehow seems more elegant to me) start the alternate merchant with 2 backpacks and when you purchase a backpack while in Ostigar subtract one from his inventory.
I also have the concern that my merchant, by nessicity of what I am trying to do, has to be someplace else; possibly Denerim. Is is possible for me to effect a merchant in a different area like that?
Either way, I am not sure if what I am doing is possible and I don't particularly want to spend a ton of time figuring out how to do if it can't be done. Any points on functions that would help me with either method of determinging if backpacks have been bought would be lovely.
Modifié par Silverque, 06 mai 2010 - 07:09 .





Retour en haut






