Is there away to make an identify all spell? I have plagiarised spells already so I know roughly what to do, it is just the coding for the .py's in the src folder, I have no idea how to do that bit. I reckon I need to change the target_item = spell.target_list[0] to something else and maybe add a line or two? Help very much appreciated!
Nm. I worked it out in a hamfisted way. I copied the identify spell and added at the end of the def OnSpellEffect (spell): for pc in game.party: pc.identify_all() ^I found that coding somewhere at some point... Hmmm... It identifies everything in everyones packs though, not quite what I was after.
I was hoping to have it identify everything in the casters pack, rather than everything in everyones pack. I would prefer it to cost gold per item, but I don't think that would be possible, so I will just set up a base cost (don't need help with the cost bit, unless there actually is a way to add nin cost per item, maybe through the .py part of the spell).
You're using Temple+, right? If so this might help: https://github.com/GrognardsFromHel...datasrc/co8infra/scr/Spell385 - Read Magic.py
You are a scholar and a gent! I am indeed using Temple+. I was looking for that spell because of the description saying it id'd all scrolls and potions, but I couldnt find it in the game folder or the temple+ one. Thank you kindly. This will help. Weird how its not in either folder, I wonder if I messed up the install or something.
The install is ok, it's just inside an archive (.dat file). See the modding wiki for info on how to extract those (link in my sig).
@Endarire Thanks for the info, I haven't came across that spell yet. I am guessing it may be a house rule spell.