Minetest fake userdata library
Go to file
2024-05-19 15:24:43 +10:00
.github/workflows luacheck and stuff 2024-05-15 18:52:02 +10:00
.gitattributes luacheck and stuff 2024-05-15 18:52:02 +10:00
.luacheckrc luacheck and stuff 2024-05-15 18:52:02 +10:00
init.lua add vector check 2024-05-19 15:23:58 +10:00
inventory.lua check list size is greater than zero 2024-05-19 15:24:43 +10:00
LICENSE luacheck and stuff 2024-05-15 18:52:02 +10:00
metadata.lua simplify creation functions 2024-05-19 01:17:15 +10:00
misc.lua add vector check 2024-05-19 15:23:58 +10:00
mod.conf update readme 2024-05-15 19:55:19 +10:00
player.lua add vector check 2024-05-19 15:23:58 +10:00
README.md update readme 2024-05-15 19:55:19 +10:00
tests.lua more tests 2024-05-19 15:24:30 +10:00

Minetest fake userdata library [fakelib]

luacheck License Minetest

Overview

This mod is a code library for creating fake userdata (players, inventories and metadata), replicating their functionality as closely as possible.

Usage

Simply add fakelib to your mod's dependencies, and call any of the API functions from your code.

See API.md for detailed documentation.

Installation

Download the master branch or the latest release, and follow the usual installation steps.

License

All code is licensed under the MIT License.