Update links to Gitlab and fix repetition

master
Marco 2020-05-04 22:55:04 +01:00 committed by rubenwardy
parent d22f99669e
commit ad3bb59e0a
3 changed files with 3 additions and 8 deletions

View File

@ -158,10 +158,6 @@ you list all dependencies:
Each mod name is on its own line, and mod names with a question mark
following them are optional dependencies.
If an optional dependency is installed, it is loaded before the mod;
however, if the dependency is not installed, the mod still loads.
This is in contrast to normal dependencies which will cause the current
mod not to work if the dependency is not installed.
## Mod Packs

View File

@ -297,7 +297,6 @@ The recommended way to include other Lua scripts in a mod is to use *dofile*.
dofile(minetest.get_modpath("modname") .. "/script.lua")
```
"local" variables declared outside of any functions in a script file will be local to that script.
A script can return a value, which is useful for sharing private locals:
```lua

View File

@ -22,14 +22,14 @@ Each chapter focuses on a particular part of the API, and will soon get you maki
your own mods.
As well as [reading this book online](https://rubenwardy.com/minetest_modding_book),
you can also [download it in HTML form](https://github.com/rubenwardy/minetest_modding_book/releases).
you can also [download it in HTML form](https://gitlab.com/rubenwardy/minetest_modding_book/-/releases).
### Feedback and Contributions
Noticed a mistake, or want to give feedback? Make sure to tell me about it.
* Create a [GitHub Issue](https://github.com/rubenwardy/minetest_modding_book/issues).
* Create a [GitHub Issue](https://gitlab.com/rubenwardy/minetest_modding_book/-/issues).
* Post in the [Forum Topic](https://forum.minetest.net/viewtopic.php?f=14&t=10729).
* [Contact me](https://rubenwardy.com/contact/).
* Fancy contributing?
[Read the README](https://github.com/rubenwardy/minetest_modding_book/blob/master/README.md).
[Read the README](https://gitlab.com/rubenwardy/minetest_modding_book/-/blob/master/README.md).