overriding core files by exception

Hi,

Under which circumstances is it safe to override a core file by exception. For example, can you have a single mod that overrides elemental defs like this:

Code: xml
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ElementalDefinitions>
  3.     <DataChecksum NoParse="1">
  4.         <Ignore>DisplayName</Ignore>
  5.         <Translate>DisplayName</Translate>
  6.     </DataChecksum>
  7.     <ElementalDefs>
  8.         <PlayerStartingMoney>250.0</PlayerStartingMoney>
  9.     </ElementalDefs>
  10. <ElementalDefinitions>

What are the rules which govern whether or not you can or cannot do this?

 

 

3,645 views 3 replies
Reply #2 Top

Thank you for that. For elemental defs, you wrote:

" another container that requires you to copy all the contents of the files if you wish to mod a single one. Most tags in this file should be treated like a top-level node. "

I understand the first sentence well enough: it seems to be saying that if you want to mod elemental defs, copy the entire file (or modify it in place), however the second sentence says that the tag can be a "top-level node." What did you mean by this last?

 

 

 

Reply #3 Top

They are treated as if they are part of a structure, they should be treated as if they weren't.