ahungry Posted October 17, 2022 Share Posted October 17, 2022 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?) Quote Link to comment
ahungry Posted October 17, 2022 Author Share Posted October 17, 2022 CamDawg let me know in discord that bit0 in 0x18 item offset can/does handle this for quest items - I'm wondering how prevalent this is in the modding community (to flag mod quest items as such). Quote Link to comment
jastey Posted October 17, 2022 Share Posted October 17, 2022 17 minutes ago, ahungry said: I'm wondering how prevalent this is in the modding community (to flag mod quest items as such). I'm not doing it for all quest items. Amongst them very important ones. Reason being that 7th party membrs cannot carry them. Quote Link to comment
Sam. Posted October 17, 2022 Share Posted October 17, 2022 1 hour ago, ahungry said: Some sort of grep for all ".+\.itm" matches? (assuming scripts reference with the .itm tag)? It doesn't. You could try searching for TakePartyItem, tho. Quote Link to comment
Recommended Posts
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.