Jump to content

Making a patch mod: Difference between revisions

m (→‎Sample patch: wording)
Line 19: Line 19:


===Syntax===
===Syntax===
.oni-patches are essentially XmlTools files, which is to say that they use a syntax that only XmlTools understands. You should take the time to read about it [[XmlTools#Patch_file_operations|HERE]] now. Between the @ADDTO and @REMOVE commands and the ability to use XmlTools' normal command-line operations with @COMMAND, you have a fair amount of power over the .oni in XML form.
.oni-patches are essentially XmlTools files, which is to say that they use a syntax that only XmlTools understands. You should take the time to read about it [[XmlTools#Patch_file_operations|HERE]] now. Between the @ADD_INSIDE_NODES, @REMOVE_NODES, @COMMAND (XmlTools' normal command-line operations) and @CUSTOM_CODE (custom JavaScript editing code) you have a fair amount of power over the .oni in XML form.


===Sample patch===
===Sample patch===
489

edits