error #1 id assign
Thing extension "deiGozreh" - tag "cdTempest" not defined
So, a little weird, but I had to make a dummy deity and assign cdTempest as an allowed domain before this would work. I can only assume that the inner mechanics require this tag to exist on a deity somewhere before it qualifies as "existing" in the system. I added this to your file and attached here. Unfortunately, the Helper.Helper tag isn't preventing it from showing in the Deity selection list, so you will probably want to change this. You have two options:
Create your own deity, or new (copy) an existing one and use the replace thingid. Either way, as long as your deity has this tag, you can use the extend thing on any other deities you want to allow this domain.
Code:
error #2 add domain spells
script has no errors, but the spells do not appear on the spell list.
Yea, so this didn't work as I'd hoped. The solution probably depends on how many spells you want to grant the Cleric. I tried using a selection with some pulltags, replacetags, pushtags shenanigans, but it crashed the system so that's not ideal.
Instead, what I've done is replace your script and assigned ClsAllowSp.spFogClo2 to the domain as a test. The script takes any tags with this precursor (ClsAllowSp.?) and assigns it to the Cleric. This allows the spell to be taken. If you have a small number of spells you want to allow this way, just add any additional tags like this to the domain.
It you want it to be more dynamic, we may need another solution.
Also, it should be noted that by specifically applying the changes you're making to the Cleric class, other classes that can allow domains won't get these changes. Something to consider if you want to allow that.
Finally, I used Mathias's suggestion to add the CustomCost.2 tag to the domain and removed the script for you. This is a better solution for the reasons stated above.
sorry for the wait. I wanted to get to your message earlier, but college.
*grumble* darn kids *grumble* ... er, I mean, no problem!