Leviathan.Multiabuse said:
»Thank you for the replies.
I used to have a decent grasp on spellcast xmls. I can read them well enough, anyway. Includes are a new thing I haven't really had time to study.
Thanks Sekundes, that is what I was looking for. Hopefully this fixes my lightsday/light weather issues.
An include is a line that points to another xml and "includes" anything inside of it. It's no different than putting that stuff directly in your XML other than it has some use for keeping things hidden from sight or making code that you use in multiple xmls in one spot so it is easier to update or change.
On the whole, I find them to be unnecessary as there is no benefit to process speed and just obfuscates problems when I run in to them and makes sharing XMLs more difficult because you need to make sure you get all the bits.
Do be aware that what Jassik said about copy and pasting bits of code is right. While this particular bit is rather self contained, it will also affect spells you may not want it to so be sure to limit it with appropriate rules or put it in the proper section. As an example, it will put on the obi for actinic burst if you don't have it contained right.
Good luck!