Jump to content

Programmatic way to detect what mods are used as part of quests (would it require script parsing?)


Recommended Posts

I'm hoping there is a way to programmatically find all items that are parts of quests/scripts/story events, so I can more confidently wipe out items with my Deletefier, without breaking any story/quest events.

At the moment, I'm just assuming items of enchantment > 0 and of price > N (what's a good amount?  I've been testing 50 to 400, they all seem decent, as most quest items have a low vendor price) - but I think it'd be even better to grep the decompiled bcs files for item matches.

Would this be doable?  Some sort of grep for all ".+\.itm" matches?  (assuming scripts reference with the .itm tag)?

Would it have too many false positives?  (perhaps due to scripts referencing the item resref for things like equipping/unequipping gear as part of AI logic?)

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...