minetest/games/minimal/mods/test/init.lua

16 lines
310 B
Lua
Raw Normal View History

2012-03-27 23:38:20 +02:00
--
-- Minimal Development Test
-- Mod: test
--
2012-03-27 23:38:20 +02:00
-- 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")