Naev

Module diff

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" )
 

Functions

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.


Functions

apply (name)
Applies a diff by name. ( name )

Parameters:

  • name string Name of the diff to apply.
remove (name)
Removes a diff by name. ( name )

Parameters:

  • name string Name of the diff to remove.
isApplied (name)
Checks to see if a diff is currently applied. ( name )

Parameters:

  • name string Name of the diff to check.

Returns:

    boolean true if diff is applied, false if it isn't.
generated by LDoc 1.4.6 Last updated 2020-11-30 07:37:22