Fix lua_api.html links
This commit is contained in:
parent
bbaa2a9329
commit
426ee5bd3f
@ -102,7 +102,7 @@ minetest.create_detached_inventory("inventory_name", callbacks)
|
||||
{% endhighlight %}
|
||||
|
||||
This creates a detached inventory or, if the inventory already exists, it is cleared.
|
||||
You can also supply a [table of callbacks](../lua_api.html#detached-inventory-callbacks).
|
||||
You can also supply a [table of callbacks]({{ page.root }}lua_api.html#detached-inventory-callbacks).
|
||||
|
||||
## InvRef and Lists
|
||||
|
||||
|
@ -134,5 +134,5 @@ items:set_metadata(meta)
|
||||
## More Methods
|
||||
|
||||
Have a look at the
|
||||
[list of methods for an ItemStack](http://rubenwardy.com/minetest_modding_book/lua_api.html#methods_5).
|
||||
[list of methods for an ItemStack]({{ page.root }}lua_api.html#methods_5).
|
||||
There are a lot more available than talked about here.
|
||||
|
@ -36,7 +36,7 @@ minetest.register_chatcommand("antigravity", {
|
||||
## Available Overrides
|
||||
|
||||
player:set_physics_override() is given a table of overrides.\\
|
||||
According to [lua_api.txt](../lua_api.html#player-only-no-op-for-other-objects),
|
||||
According to [lua_api.txt]({{ page.root }}lua_api.html#player-only-no-op-for-other-objects),
|
||||
these can be:
|
||||
|
||||
* speed: multiplier to default walking speed value (default: 1)
|
||||
|
@ -10,7 +10,7 @@ After you've read this book, take a look at the following
|
||||
|
||||
### Minetest Modding
|
||||
|
||||
* Minetest's Lua API Reference - [HTML version](../lua_api.html) |
|
||||
* Minetest's Lua API Reference - [HTML version]({{ page.root }}lua_api.html) |
|
||||
[Text version](https://github.com/minetest/minetest/blob/master/doc/lua_api.txt).
|
||||
* Explore the [Developer Wiki](http://dev.minetest.net/Main_Page).
|
||||
* Look at [existing mods](https://forum.minetest.net/viewforum.php?f=11).
|
||||
|
Loading…
Reference in New Issue
Block a user