i dont quite get the problem here... you guys should prolly play and check more of my mods
1- make a leveled list with all your items, set it up like you want, for example with other leveled lists inside, with a chance none will appear, etc
2- make a quest (give it some id -MyItemDistributionQuest- and check "start game enabled")
3- make a quest script:
scn MyItemDistributionQuestScriptshort doonce ;;this thing makes sure the script only runs once and doesnt clog the container with your stuff aswell as not lagging the gamebegin gamemodeif doonce == 0addleveleditem GunRunnerHQStoreGuns yourLeveledListfullofstuffyouwannasell 3 2 1 ;; adds 2 leveled lists to the gunrunner HQ aka a list inside vendertron's chest at level 3 with a condition of 100%set doonce to 1stopquest MyItemDistributionQuest ;;stops the quest and script from running and frees up performanceendifend
4- attach the script to your new quest
done...
what this does:
it adds an item to a leveled list that is inside vendortronics merchant chest once the game starts, since you do not add it directly to the chest but to the list the chest can still respawn but the items will appear again
if you dont want the items to respawn use:
VendorContainerGunRunnerHQ.additem Mylevellistfullofstuff 1
instead of the additemtoleveldlist line in the above script
since the chest respawns it will reset its content to what its base object includes after 3 days, without the newly added item
if you want to keep the item for ever until its sold:
either add a new chest owned by vendortron which doesnt respawn and is owned by him, afaik it can be in a random location
OR use a quest script variable to determine if the player got the item yet
OR simply extend the above script by the following block:
if player.getitemcount myItem >= 1GunRunnerHQStoreGuns.removeitem myItem 1 endif
OR give the item its own script block ala:
begin onAdd playerGunRunnerHQStoreGuns.removeitem myItem 1 end