MineClone2/mods/DOM/watch/itens.lua

21 lines
482 B
Lua
Raw Normal View History

2015-06-29 20:55:56 +03:00
-- Watch recipe
minetest.register_craft({
2017-01-04 08:01:51 +02:00
description = "Clock",
2015-06-29 20:55:56 +03:00
output = 'watch:watch',
groups = {not_in_creative_inventory=1},
recipe = {
{'', 'default:gold_ingot', ''},
2017-01-04 06:04:13 +02:00
{'default:gold_ingot', 'mesecons:redstone_dust', 'default:gold_ingot'},
2015-06-29 20:55:56 +03:00
{'', 'default:gold_ingot', ''}
}
})
--Watch tool
watch.registra_item("watch:watch",watch.images_a[3],true)
--Faces
for a=0,11,1 do
watch.registra_item("watch:watch_a"..tostring(a),watch.images_a[a+1],false)
end