Go to file
Lars Mueller cbad65e52b Implemented deepcopy, improved code quality 2020-08-23 22:38:55 +02:00
Readme.md Additional configuration formats, experimental vector library, other utilities 2020-06-28 22:42:24 +02:00
class.lua rolling-9 2020-03-23 20:20:43 +01:00
conf.lua Additional configuration formats, experimental vector library, other utilities 2020-06-28 22:42:24 +02:00
data.lua Structure overhaul 2020-02-09 01:39:54 +01:00
file.lua Structure overhaul 2020-02-09 01:39:54 +01:00
func.lua rolling-9 2020-03-23 20:20:43 +01:00
init.lua Large configuration improvements, text helpers 2020-06-02 23:07:33 +02:00
log.lua rolling-8 2020-03-13 18:13:45 +01:00
minetest.lua rolling-9 2020-03-23 20:20:43 +01:00
mod.conf Large configuration improvements, text helpers 2020-06-02 23:07:33 +02:00
mod.lua Changes to environment handling, get_current_modname convenience 2020-07-08 20:08:31 +02:00
number.lua rolling-16 2020-04-21 15:14:27 +02:00
player.lua Additional configuration formats, experimental vector library, other utilities 2020-06-28 22:42:24 +02:00
screenshot.png Large configuration improvements, text helpers 2020-06-02 23:07:33 +02:00
table.lua Implemented deepcopy, improved code quality 2020-08-23 22:38:55 +02:00
text.lua Rename handle_ifndefs to handle_ifdefs 2020-08-23 22:37:17 +02:00
threading.lua Structure overhaul 2020-02-09 01:39:54 +01:00
vector.lua Additional configuration formats, experimental vector library, other utilities 2020-06-28 22:42:24 +02:00

Readme.md

Modding Library (modlib)

Multipurpose Minetest Modding Library

About

No dependencies. Licensed under the MIT License. Written by Lars Mueller aka LMD or appguru(eu).

API

Mostly self-documenting code. Mod namespace is modlib or _ml, containing all variables & functions.

Configuration

  1. Configuration is loaded from <worldpath>/config/<modname>.<extension>, the following extensions are supported and loaded (in the given order), with loaded configurations overriding properties of previous ones:
    1. json
    2. lua
    3. luon, Lua but without the return
    4. conf
  2. Settings are loaded from minetest.conf and override configuration values