Update links to Gitlab and fix repetition
This commit is contained in:
parent
d22f99669e
commit
ad3bb59e0a
@ -158,10 +158,6 @@ you list all dependencies:
|
|||||||
|
|
||||||
Each mod name is on its own line, and mod names with a question mark
|
Each mod name is on its own line, and mod names with a question mark
|
||||||
following them are optional dependencies.
|
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
|
## Mod Packs
|
||||||
|
|
||||||
|
@ -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")
|
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:
|
A script can return a value, which is useful for sharing private locals:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
@ -22,14 +22,14 @@ Each chapter focuses on a particular part of the API, and will soon get you maki
|
|||||||
your own mods.
|
your own mods.
|
||||||
|
|
||||||
As well as [reading this book online](https://rubenwardy.com/minetest_modding_book),
|
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
|
### Feedback and Contributions
|
||||||
|
|
||||||
Noticed a mistake, or want to give feedback? Make sure to tell me about it.
|
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).
|
* Post in the [Forum Topic](https://forum.minetest.net/viewtopic.php?f=14&t=10729).
|
||||||
* [Contact me](https://rubenwardy.com/contact/).
|
* [Contact me](https://rubenwardy.com/contact/).
|
||||||
* Fancy contributing?
|
* 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).
|
||||||
|
Loading…
Reference in New Issue
Block a user