mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Add test file
This commit is contained in:
parent
41021895ce
commit
a8ad0435fa
9
init.lua
9
init.lua
@ -1869,3 +1869,12 @@ register_command("craft", {
|
|||||||
return true, craftguide.show(name, node_name)
|
return true, craftguide.show(name, node_name)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
print(core.write_json({
|
||||||
|
result = "default:cobble 16",
|
||||||
|
items = {
|
||||||
|
"default:stone, default:stone, default:stone",
|
||||||
|
"default:stone, , default:stone",
|
||||||
|
"default:stone, default:stone, default:stone",
|
||||||
|
}
|
||||||
|
}))
|
||||||
|
7
test.json
Normal file
7
test.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"items":[
|
||||||
|
"default:stone, default:stone, default:stone",
|
||||||
|
"default:stone, , default:stone",
|
||||||
|
"default:stone, default:stone, default:stone"],
|
||||||
|
"result":"default:cobble 16"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user