Currently, energy resistances given by items such as the Rings of Energy Resistance, the various shield and armor modifications, and various other items are represented by SPROPs, rather than other data coding. I tried changing this one way by copying and modifying the lines related to a monster's energy resistance, and it seems to work pretty well. Since the items I want to modify are magic, I changed the type of the ability from "Extraordinary" to "SpellLike", and adopted a system of appending "Sp" and "(Sp)" to the existing names. I then just copied and modified the Sirrush’s complete set of energy resistances to work with the non-epic-in-with-the-epic item, the Ring of Universal Energy Resistance (Minor). (Presumably, another set could be made for any Supernatural resistances, and the various equipment customizations could be altered.) There doesn’t seem to be a problem with the stacking of resistances, although when a Sirrush wears the ring the “Special Qualities” section becomes longer…
The files and modified/added sections are:
Ring of Universal Energy Resistance (Minor)
###Block: Resistances (Sp)
###Block: Resistances Output (Sp)
Addendum part 1: I worked some more on it and redid things, resulting in the newly-attached zip file. Now, it works for each level of energy resistance/immunity, and either applied directly to the item or through item customization.
The items affected (so far identified and changed, in my version of the files) are
All Minor, Major, and Great Rings of Energy Resistance (Acid, Cold, Electricity, Fire, and Sonic)
The Minor and Greater Rings of Universal Energy Resistance
The Rings of Energy Immunity (Acid, Cold, Electricity, Fire, and Sonic)
The Ring of Universal Energy Immunity
The Bulwarks of the Great Dragon
The Dragonskin Armors
The Invulnerable Coat
The Staff of Fiery Power
The Helm of Brilliance
The regular EQMODs of Minor, Major, and Greater Energy Resistance (Acid, Cold, Electricity, Fire, and Sonic)
The Epic EQMODs of Acid, Cold, Fire, Lightening, and Sonic Warding
Addendum part 2: I was also working on making SpellLike abilities of other Extraordinary abilities, and creating a few from scratch for possible application to other items.
For example, the description of Golem Armor, an Epic rules Major Artifact, reads:
This enormous suit of black iron +10 full plate armor increases the wearer’s size by one category (to a maximum of Colossal). The wearer gains a +10 enhancement bonus to Strength and is rendered immune to mind-affecting effects, poison, disease, and similar effects. He or she is not subject to critical hits, nonlethal damage, ability damage, energy drain, or death from massive damage. Golem Armor is immune to rust attacks. The wearer of Golem Armor gains damage reduction 15/adamantine. He or she also cannot regain hit points by any means (mundane or magical) while the armor is worn. It requires 1 hour to don or extract oneself from Golem Armor. "
I modeled most of the as yet uncoded parts of the description by adding various SpellLike abilities to rsrd_abilities_monsters (Massive Damage and Nonlethal Damage from scratch) and to the item line:
Name and ABILITY (with the KEY)
Immunity to Ability Damage - ABILITY:Special Ability|VIRTUAL|Immunity to Ability Damage (Sp)
Immunity To Critical Hits - ABILITY:Special Ability|VIRTUAL|Immunity To Critical Hits (Sp)
Immunity To Disease - ABILITY:Special Ability|VIRTUAL|Immunity To Disease (Sp)
Immunity To Energy Drain - ABILITY:Special Ability|VIRTUAL|Immunity To Energy Drain (Sp)
Immunity to Massive Damage - ABILITY:Special Ability|VIRTUAL|Immunity To Massive Damage (Sp)
Immunity To Mind Affecting Effects - ABILITY:Special Ability|VIRTUAL|Immunity To Mind Affecting Effects (Sp)
Immunity To Nonlethal Damage - ABILITY:Special Ability|VIRTUAL|Immunity To Nonlethal Damage (Sp)
Immunity To Poison - ABILITY:Special Ability|VIRTUAL|Immunity To Poison (Sp)
Rustproof - ABILITY:Special Ability|VIRTUAL|Rustproof (Sp)
Rustproof can be reused with the Gauntlet of Rust, Immunity to Disease with the Periapt of Health, Immunity to Poison with the Periapt of Proof Against Poison. The Robe of Eyes can use ABILITY:Special Ability|VIRTUAL|Immunity To Flanking (Sp).
Other items can use new Special Abilities:
Ioun Stone (Clear) - ABILITY:Special Ability|VIRTUAL|Do Not Need Food or Water (Sp)
Ioun Stone (Iridescent) - ABILITY:Special Ability|VIRTUAL|Do Not Need Air (Sp)
Ring (Sustenance) - ABILITY:Special Ability|VIRTUAL|Do Not Need Food or Water (Sp)|Need 2 Hours Sleep (Sp)
BTW, I tended to make them all VIRTUAL Special Abilities, since AUTOMATIC seemed, from at least one source in the docs, to be best applied to abilities that are gained for racial or class reasons.
Are those the actual ability names?
Need 2 Hours Sleep (Sp)?
Um, yeah... (or rather, the KEYs). Well, I thought I would name it in a straightforward manner, if rather blandly/prosaically.
I had (Sp) on all of the keys to distinguish them from the existing, Extraordinary abilities, and to be consistent with any new ones. Presumably, an elf that trances instead of sleeping could have an extraordinary version of 'Need 4 Hours Rest'.
Pt. 1, Completed: At revision: 19989
Pt. 2, Completed: At revision: 19990
Only did the Energy Resistances part of the JIRA, not the additional comments about possible extensions into other special qualities/abilities.
Used TYPE=Base for SpellLike E.R. stacking purposes--could change to another name if desired. (Resistance is obvious, but would have made some lines even longer, so I didn't use it.)
Pt. 3, Completed: At revision: 20017 – fixed a stacking problem with the energy resistances.