mirror of
https://github.com/minetest/minetest.git
synced 2024-11-14 19:53:44 +01:00
120155f312
* Fix some issues with minetest.clear_craft - Fix memory leak - Fix crafts with an output count not being cleared when clearing by input. - Fix recipe list being reversed when clearing by input. * Add CraftInput::empty()
16 lines
310 B
Lua
16 lines
310 B
Lua
--
|
|
-- 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")
|