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" )
|diff.apply (name)||Applies a diff by name.|
|diff.isApplied (name)||Checks to see if a diff is currently applied.|
|diff.remove (name)||Removes a diff by name.|
- diff.apply (name)
Applies a diff by name.
- name: Name of the diff to apply.
- diff.isApplied (name)
Checks to see if a diff is currently applied.
- name: Name of the diff to check.
Return value:true if diff is applied, false if it isn't.
- diff.remove (name)
Removes a diff by name.
- name: Name of the diff to remove.