KazFoxsen Posted May 8, 2011 Share Posted May 8, 2011 I'm almost done with my eye patch fashion mod and in order to streamline my custom vendor's list, I give the player the option to choose left or right patches when talking to her (if you want to pick the other side, you can by talking to her again). To accommodate this switch, I've buried three containers. One is Manda's assigned vendor container, which only contains caps. The other two contain left and right patches, with an ownership of NONE. All are permanent references and marked to respawn. When the player selects, for instance, "Right," my begin script in the MandasPatches quest is as follows: MandasShopRef.removeAllTypedItems MandasLeftRef 1 0 24 RightPatch;MandasShop is main container. MandasLeft holds left patches. RightPatch is a form list of all right patches.MandasRightRef.removeAllitems MandasShopRefSHOWBARTERMENU Same thing for left, with directions switched. For all the goodbye dialog options, I use this begin script to move the patches out of the main shop to their respective containers: MandasShopRef.removeAllTypedItems MandasRightRef 1 0 24 LeftPatchMandasShopRef.removeAllTypedItems MandasLeftRef 1 0 24 RightPatch As a respawn test, I bought a left and a right patch, and sold her a gun. After 3 days, the gun was gone from the shop, however, the patches I bought were not replenished, leading me to believe that the left and right containers never respawned. Does anyone know what's going on? Link to comment Share on other sites More sharing options...
majinshinsa Posted May 8, 2011 Share Posted May 8, 2011 you could make a script that says: if MandasLeftRef.GetItemCount LeftPatch == 0 MandasLeftRef.AddItem LeftPatch 1endif Link to comment Share on other sites More sharing options...
KazFoxsen Posted May 8, 2011 Author Share Posted May 8, 2011 (edited) you could make a script that says: if MandasLeftRef.GetItemCount LeftPatch == 0 MandasLeftRef.AddItem LeftPatch 1endif I actually tried that, but it doesn't work when I buy something like one red patch. Once the container respawns, the red one I bought is still missing. :( I don't know why it just won't work like it's supposed to. EDIT: I found a workaround. It's not realistic since it replenishes her stock every time you talk to her, but it gets the job done. For each greeting line I attached the following script: MandasRightRef.removeItem RightPatch 1MandasRightRef.additem RightPatch 1MandasLeftRef.removeItem LeftPatch 1MandasLeftRef.additem LeftPatch 1 Edited May 8, 2011 by KazFoxsen Link to comment Share on other sites More sharing options...
majinshinsa Posted May 8, 2011 Share Posted May 8, 2011 try making leveled right/left lists and click on "use all" see if that works. if it doesnt then you only have to do a single additem statement Link to comment Share on other sites More sharing options...
Recommended Posts