Minetest fake userdata library
Go to file
2024-10-30 02:03:59 +11:00
.github/workflows luacheck and stuff 2024-05-15 18:52:02 +10:00
.gitattributes exclude tests from releases 2024-05-20 13:25:39 +10:00
.luacheckrc luacheck and stuff 2024-05-15 18:52:02 +10:00
API.md fix copy-paste mistakes in docs 2024-10-30 02:03:59 +11:00
init.lua exclude tests from releases 2024-05-20 13:25:39 +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 is_valid() function to fake player 2024-07-05 11:37:52 +10:00
README.md cdb stuff in readme 2024-05-20 13:47:50 +10:00
tests.lua more tests 2024-05-19 15:24:30 +10:00

Minetest fake userdata library [fakelib]

luacheck License Minetest ContentDB

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.

Alternatively, you can download and install the mod from ContentDB or the online content tab in Minetest.

License

All code is licensed under the MIT License.