formspec-editor/fs51
luk3yx c01a5fa734 Add WIP digistuff touchscreen exporting 2020-10-21 18:37:38 +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 Add WIP digistuff touchscreen exporting 2020-10-21 18:37:38 +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))).