grodrigues Posted June 21, 2019 Share Posted June 21, 2019 (edited) I have a personal mod I use that is installed before the wide-range change components of IR (IRR actually). What I do currently is to add at the end of lib/armor_list.tpa the following block: ACTION_IF MOD_IS_INSTALLED ~items_pack/items_pack.tp2~ 0 BEGIN OUTER_SET $armor("iu#leat1") = 194 // Armor of the Shadowmaster END Is there a way to do this kind of thing from my own mod so that IR will pick it up later (it is not currently picking it up without the above insertion, so that e.g. resistances are not being set) and allow the general components to do their thing? Messing with other mod's source is always very brittle. Edited June 21, 2019 by grodrigues typos; one more sentence Quote Link to post
Mike1072 Posted June 21, 2019 Share Posted June 21, 2019 Best option is to simply let us know about it, as you have, and/or issue a pull request on GitHub, adding it to the armor list in an appropriate spot. ~iu#leat1~ => 194 Quote Link to post
grodrigues Posted June 21, 2019 Author Share Posted June 21, 2019 That is precisely what I wanted to avoid, as the mod is personal-use only and I have no intentions of making it public. Anyway, thanks for the heads up; I will just use the current solution. Quote Link to post
Cahir Posted May 14, 2020 Share Posted May 14, 2020 I have added a couple of armors and shields from SoD to BG2EE Item Upgrade mod to armor_list.tpa and shield_list.tpa for my own use, so I figure I will share. @Daeros_Trollkiller if you could take a look if I get it right, that would be awesome. 1. Armors: Quote dtklea02 => 1 // The Night's Embrace +6 dtklea1a => 21 // Chromatic Shadow Dragonscale (red) dtklea1b => 21 // Chromatic Shadow Dragonscale (blue) dtklea1c => 21 // Chromatic Shadow Dragonscale (white) dtklea1d => 21 // Chromatic Shadow Dragonscale (silver) dtklea1e => 21 // Umbral Viridian Dragonscale dtkleat1 => 21 // Verdant Shadow Dragonscale dtkleat2 => 21 // Green Dragonscale +4 dtkplat1 => 22 // Verdant Crimson Dragon Plate (red dtkplt1a => 22 // Verdant Crimson Dragon Plate (shadow) dtkplt1b => 22 // Verdant Crimson Dragon Plate (blue) dtkplt1c => 22 // Verdant Crimson Dragon Plate (white) dtkplt1d => 22 // Verdant Crimson Dragon Plate (silver) dtkplt1e => 22 // Carmine Viridian Dragon Plate 2. Shields Quote dtkshld1 => 1 // Mirrored Buckler of the Fist +2 dtkskls3 => 2 // Small Shield +3 dtkshld3 => 3 // Dragonscale Aegis +4 dtkshd2a => 4 // Bulwark of Egons +4 dtkshld2 => 4 // Bulwark of Egons +3 I have checked it via Near Infinity and it seems patching routine of IR (well, I've checked on IRR but it's no different) works perfectly. Quote Link to post
Recommended Posts