update readme/settings

This commit is contained in:
BuckarooBanzay 2020-01-16 15:40:08 +01:00
parent 8f9486cc37
commit 66ed9431dd
2 changed files with 44 additions and 13 deletions

View File

@ -1,22 +1,53 @@
Technic
=======
-----------------
Credits for contributing to the project (in alphabetical order):
* kpoppel
* Nekogloop
* Nore/Ekdohibs
* ShadowNinja
* VanessaE
* And many others...
A mod for [minetest](http://www.minetest.net)
FAQ
---
# Overview
This is a fork of https://github.com/minetest-mods/technic with various enhancements.
Suitable for multiplayer environments.
* chainsaw re-implementation (@OgelGames)
* Switching station lag/polyfuse and globalstep execution (@BuckarooBanzay)
* various others...
# Recommended mods
Recommended mods that build on the `technic mod`:
* https://github.com/mt-mods/jumpdrive
* https://github.com/OgelGames/powerbanks
# Settings
* **technic.quarry.quota** per-player and second quarry dig limit (default: 10)
* **technic.switch_max_range** max cable length (default: 256)
# Open issues
* Documentation (markdown)
* Luacheck / testing
* More settings, remove hardcoded values
# Contributors
* kpoppel
* Nekogloop
* Nore/Ekdohibs
* ShadowNinja
* VanessaE
* @BuckarooBanzay
* @OgelGames
* And many others...
# FAQ
1. My technic circuit doesn't work. No power is distrubuted.
* A: Make sure you have a switching station connected.
License
-------
# License
Unless otherwise stated, all components of this modpack are licensed under the
LGPL, V2 or later. See also the individual mod folders for their

View File

@ -4,7 +4,7 @@ technic.networks = {}
technic.cables = {}
technic.redundant_warn = {}
local switch_max_range = tonumber(minetest.settings:get("technic.switch_max_range") or "64")
local switch_max_range = tonumber(minetest.settings:get("technic.switch_max_range") or "256")
local mesecons_path = minetest.get_modpath("mesecons")
local digilines_path = minetest.get_modpath("digilines")