formspec-editor/fs51
luk3yx fb528cb7f3 Initial commit. 2020-01-31 20:27:51 +13:00
..
LICENSE.md Initial commit. 2020-01-31 20:27:51 +13:00
README.md Initial commit. 2020-01-31 20:27:51 +13:00
depends.txt Initial commit. 2020-01-31 20:27:51 +13:00
init.lua Initial commit. 2020-01-31 20:27:51 +13:00
mod.conf Initial commit. 2020-01-31 20:27:51 +13:00

README.md

fs51 - WIP formspec backport thing

Attempts to backport real_coordinates[true] formspecs.

Dependencies

This mod depends on my formspec_ast library.

API functions:

  • fs51.backport(tree): Applies backports to a formspec_ast tree and returns the modified tree. This does not modify the existing tree in place.
  • fs51.backport_string(formspec): Similar to formspec_ast.unparse(fs51.backport(formspec_ast.parse(formspec))).