The spell list is in tpdatasrc\tpgamefiles\rules\char_class\class047_warmage.py. You should be able to add the cantrip to line 63.
Thank you unfortunately I lack the know-how to edit the tpgamefiles.dat file directly and have been extracting class047_warmage.py from it and dropping the file (edited on line 63 as you describe above) into overrides\rules\char_class which causes ToEE to crash at start.
There is a lack of information regarding how modding with Temple+ is achieved, no obvious tutorials on even the most basic functions, as someone with only very basic Python coding knowledge, I feel I lack the ability to mod ToEE with Temple+, purely because I can't find out how to do it.
OK, here is my attempt to post an error-log and savegame. Let's see if it works:- It hasn't. The file had .dmp as the filename-type but the upload on Co8 would not allow it as it did not have the right extension, despite it being my latest savegame file. No idea why this is all so difficult.
@StrontiumDog You can add the file to an archive (.zip) with 7zip, a free zip and rar archiving and extraction program. Download and install 7zip, right click the .dmp file, select add to archive.
You know, you can select all of the files for one save and archive them together in one .zip file right? Left click and drag a box over the files you want to select, release the left mouse button when all items are selected, right click one of the highlighted files, then add to a .zip archive. You could also select the first file with a left click, hold shift, select the last file with a left click, and all files in between will be selected.
Are you aware of the Temple+ modding wiki? I spent quite a lot of time on that. https://github.com/GrognardsFromHell/TemplePlus/wiki Also, as always feel free to ask...
Here is my attempt at adding scintillating sphere as an additional 3rd level spell [which causes a crash at start]. You will see I have made a couple of test changes to base attack bonus and hit dice size which work once any additional spells are removed. I don't understand how it fails as the warmage spell list contains many non-existent spells and scintillating sphere is an actual spell...
Scintillating sphere doesn't have an enum, since the spell was added by co8. spell_scintillating_sphere is an invalid symbol, hence the crash. Instead of that, you can directly specify its spell enum (as a number).
Thank you. Two supplementary questions please 1. Is its spell enum 798? or is that too simple? 2. was wall of fire added "properly" so it can be specified by name? as it has been in the warmage spell list. Please ignore above I've had a look at constants.py (as Doug suggests) and the penny has suddenly dropped.....