Jump to content

Removing Shipments


Recommended Posts

Hey Everyone,

 

I'm attempting to remove shipments of items from the game as a learning exercise. I went through and editted all the LL_Vendor_Component files and removed all the shipments and that seemed to work. However ...

 

The quest [0024A06A] Patch_WorkshopShipments adds the following to the leveled list [00070513] LLI_Misc_AllComponents

 

pLLI_Misc_AllComponents.AddForm(pShipment_Ceramic_large, 1, 1)
pLLI_Misc_AllComponents.AddForm(pShipment_Copper_large, 1, 1)
pLLI_Misc_AllComponents.AddForm(pShipment_Rubber_large, 1, 1)
pLLI_Misc_AllComponents.AddForm(pShipment_Steel_250, 1, 1)
pLLI_Misc_AllComponents.AddForm(pShipment_Wood_250, 1, 1)

 

The quest [02000822] DLC02WorkshopAttackStarter adds the following to the leveled list [00070513] LLI_Misc_AllComponents

 

pLLI_Misc_AllComponents.AddForm(pDLC02shipment_Concrete_100, 1, 1)
pLLI_Misc_AllComponents.AddForm(pDLC02shipment_Concrete_200, 1, 1)

 

I attempted to edit these quests and remove the associated properties from the quest. However when I load up the game the shipments are still on the vendors. I'm guessing this is because the quest has already executed to completion and the shipments have been added to LLI_Misc_AllComponents which the vendors are pulling from. Attempting to reset the quest and execute it again without the shipment properties has had no effect. My next idea is to create a quest of my own and have it remove the forms from LLI_Misc_AllComponents via RemoveAddedForm but my knowledge of papyrus is limited and it doesn't seem to be working either. Any help, guidance, or ideas would be greatly appreciated. Am I even attacking this from the correct angle? What is the best way to remove items from a vendor list?

Link to comment
Share on other sites

The method RemoveAddedForm should work for this end, but I would say it is easier using pLLI_Misc_AllComponents.Revert() which would remove every form added by scripts.

Note that this item leveled list is probably added to the vendor container, it spawns the leveled items in the vendor container, which resets every 2 in-game days, the objects will not disappear from the vendor container just after modifying the leveled list, you need to wait for the reset to happen.

 

Edit: RemoveAddedForm is a FormList function, but I think that pLLI_Misc_AllComponents is a LeveledItem, and the only functions for LeveledItem Script are AddForm and Revert.

 

https://www.creationkit.com/fallout4/index.php?title=LeveledItem_Script

Edited by DieFeM
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...