"I had a problem, I did set <IsSovereign>0</IsSovereign> yet, they still able to cast power, and I unable cast Death Ward on I created or mod..."
I believe IsSovereign only makes it so you can or cannot select that character in the character selection screen and if they can be a random leader. If you want to add them as a random hero you'd need to add the character to one of the units ".xml" files. As for spells, you'd probably need to disable something from the created character so they can't use magic.
For a per turn city resource:
Notes: Seeing if I even need all this shit
Resource Is it a resource. What resource is it?
DiplomaticCapital Input resource here (Gold, DiplomaticCapital, Research, Metal...)
1.0 Total value provided?
1 Per # turns?
1 How many shared with city? EDIT: I'm unusure what it's sharing with, seems unrelated to city. Unknown. Appears to be unneeded
+1 Diplomatic Capital Hopefully just a description. EDIT: Nope, looks like this determines overall output and will crash if wrong. Might also be unused and unneeded.
I want to say, this doesn't work just for a city. It workes global, so it doesn't matter if a Sovereign or a NPC is in a city or not, The resource will be produce. Mod Type "resource" only works for cities with impovements.
It seems that just this Mod Types works exclusive for cities with NPCs or Sovereigns:
This was REALLY old code, lol. Back upon release'ish time there was a way to code resources and certain bonuses so they'd tie in with a city or only activate when in a city. Unfortunately, this was changed and I don't know if there is any way to resurrect it or if it's still changed or what.
p.s. Can we not have multiple quotes?
God... I just noticed the last date of a response. Apologies. I saw January and assumed it was '12.