From ad3bb59e0ac3e7722b59d77ce21ae43bfcea98bf Mon Sep 17 00:00:00 2001 From: Marco <4279489-marco_a@users.noreply.gitlab.com> Date: Mon, 4 May 2020 22:55:04 +0100 Subject: [PATCH] Update links to Gitlab and fix repetition --- _en/basics/getting_started.md | 4 ---- _en/basics/lua.md | 1 - _en/index.md | 6 +++--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/_en/basics/getting_started.md b/_en/basics/getting_started.md index 6d209f8..b754838 100644 --- a/_en/basics/getting_started.md +++ b/_en/basics/getting_started.md @@ -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 diff --git a/_en/basics/lua.md b/_en/basics/lua.md index e97f337..1be8486 100644 --- a/_en/basics/lua.md +++ b/_en/basics/lua.md @@ -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 diff --git a/_en/index.md b/_en/index.md index 630dc92..d5ea154 100644 --- a/_en/index.md +++ b/_en/index.md @@ -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).