Skip to content

Instantly share code, notes, and snippets.

@Saturate
Created October 8, 2012 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Saturate/3854827 to your computer and use it in GitHub Desktop.
Save Saturate/3854827 to your computer and use it in GitHub Desktop.
How UFMM mod files could work.
// ## Replace ##
// Mod
<ufmm:replace type="textList" name="TEXT_LIST">
<text>New Text</text>
</ufmm:replace>
// Source
<textList name="TEXT_LIST">
<text>Old Text</text>
</textList>
// End Result
<textList name="TEXT_LIST">
<text>New Text</text>
</textList>
// ## Append ##
// Mod
<ufmm:append type="textList" name="TEXT_LIST">
<text>New Text</text>
</ufmm:append>
// Source
<textList name="TEXT_LIST">
<text>Old Text</text>
</textList>
// End Result
<textList name="TEXT_LIST">
<text>Old Text</text>
<text>New Text</text>
</textList>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment