View Single Post
Diaz Ex Machina
Member
 
Join Date: Feb 2017
Location: Italy
Posts: 65

Old April 22nd, 2022, 12:04 PM
Quote:
Originally Posted by ploturo View Post
On the copies of the items you are using to replace the existing items, do you have multiple usesource elements?

You should only have your source listed on the replacement things, otherwise they will be active whenever any source from any of its usesource elements is active.

For example
Code:
<thing id="ExampleThing" replaces="OldThing">

     ...

     <usesource source="OldSource"/>
     <usesource source="NewSource"/>

</thing>
ExampleThing will replace OldThing whenever OldSource is active or NewSource is active.



If you remove the usesource element for OldSource, it will only replace OldThing when NewSource is active.

Code:
<thing id="ExampleThing" replaces="OldThing">

     ...

     <usesource source="NewSource"/>

</thing>
ExampleThing will only replace OldThing whenever NewSource is active.
I have just the new source, not the old one.
Diaz Ex Machina is offline   #4 Reply With Quote