diff --git a/docs/Lua API.rst b/docs/Lua API.rst index 107a0ba2e..aba0bcab7 100644 --- a/docs/Lua API.rst +++ b/docs/Lua API.rst @@ -4287,10 +4287,10 @@ blueprint files: The names of the functions are also available as the keys of the ``valid_phases`` table. -.. _building-hacks: +.. _building-hacks-api: -building-hacks -============== +building-hacks API +================== This plugin overwrites some methods in workshop df class so that mechanical workshops are possible. Although plugin export a function it's recommended to use lua decorated function. diff --git a/docs/plugins/building-hacks.rst b/docs/plugins/building-hacks.rst new file mode 100644 index 000000000..950d1751a --- /dev/null +++ b/docs/plugins/building-hacks.rst @@ -0,0 +1,11 @@ +building-hacks +============== + +Allows mods to create and manage powered workshops. + +Usage:: + + enable building-hacks + +Please see the `building-hacks-api` for information on accessing this plugin +from Lua scripts.