Lua bindings to apply/remove Universe Diffs.
Universe Diffs are patches you can apply to the universe to make permanent changes. They are defined in dat/unidiff.xml.
Typical usage would be:
diff.apply( "collective_dead" )
|apply (name)||Applies a diff by name.|
|remove (name)||Removes a diff by name.|
|isApplied (name)||Checks to see if a diff is currently applied.|
- apply (name)
Applies a diff by name.
- name string Name of the diff to apply.
- remove (name)
Removes a diff by name.
- name string Name of the diff to remove.
- isApplied (name)
Checks to see if a diff is currently applied.
- name string Name of the diff to check.
true if diff is applied, false if it isn't.