aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/test/init.lua
blob: 4e2a510869cbfd0829e872becefc1aea68ec74a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--
-- Minimal Development Test
-- Mod: test
--


-- Try out PseudoRandom
pseudo = PseudoRandom(13)
assert(pseudo:next() == 22290)
assert(pseudo:next() == 13854)

local modpath = minetest.get_modpath("test")
dofile(modpath .. "/player.lua")
dofile(modpath .. "/formspec.lua")
dofile(modpath .. "/crafting.lua")