FutureVisions Posted December 18, 2008 Share Posted December 18, 2008 Hi. I'm loosing my mind trying to add an item to moira's House Theme or House Item container. As this is an item i only want to be sold once, i didn't add it to her chest container, since that is a respawnable container. So I wanted to add it to one of the other containers she sells stuff from. the house themes, or house items containers.The problem is, i can make the item appear in the containers, but it just doesn't appear in her vendor list in-game. :wallbash: I reall have no idea of what im missing. And would appreciate the help since i've written all the dialogue and quest already, and im only missing this. Link to comment Share on other sites More sharing options...
FutureVisions Posted December 18, 2008 Author Share Posted December 18, 2008 these are the scripts im using: i've made 3 scripts that mention this item actually. 1st is the main quest script:------------------------------------------Scn HD01aQuestScript short MerchSetup Begin gameMode ;Merch Container Stuff adding Hd00KeyMegatonBasement if ( MerchSetup == 0 ) if ( GetQuestRunning HD01a == 1 ) MD01MerchRef.Enable MD01MerchRef.SetOwnership MoiraBrown MD01MerchRef.additem Hd00KeyMegatonBasement 1 set MerchSetup to 1 endifendif End---------------- (In this case the quest is running at start game!) 2nd i made another quest (GECK wiki suggestion to add an item to an existing vendor container) that adds the item to the container i wanted it in. This quest i also running at Start Game. ------------------------- scn HD01aAddItemToVendorListscr begin gameMode MD01MerchRef.additem Hd00KeyMegatonBasement 1 stopQuest HD01aAddItemToVendorListEnd --------------------------- 3rd is the result scrip i used, also to place the item in the vendor container, during the dialogue in the quest I mentioned in 1st.--------------------------- if ( MD01MerchRef.GetItemCount Hd00KeyMegatonBasement == 0 ) MD01MerchRef.AddItem Hd00KeyMegatonBasement 1endif--------------------------- But still the dam thing doesnt appear in Moira's barter menu.Has any1 got any idea why? :wallbash: Link to comment Share on other sites More sharing options...
FutureVisions Posted December 19, 2008 Author Share Posted December 19, 2008 Temporary solution (not what i wanted since barter skill cant be involved) in dialogue result script: ------------------if(player.GetItemCount yourItem == 0) player.addItem yourItem itemCount (how many will be added to inventory) player.removeItem caps001 itemCount (how many bottlecaps will be removed from your inventory) merchContainerREF.additem caps001 itemCount (this item count should be equal to the caps that were removed from your inv. cause it represent the payment and will be added to the merchant inv) endif------------------ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.