mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
21 lines
482 B
Lua
21 lines
482 B
Lua
-- Watch recipe
|
|
minetest.register_craft({
|
|
description = "Clock",
|
|
output = 'watch:watch',
|
|
groups = {not_in_creative_inventory=1},
|
|
recipe = {
|
|
{'', 'default:gold_ingot', ''},
|
|
{'default:gold_ingot', 'mesecons:redstone_dust', 'default:gold_ingot'},
|
|
{'', '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
|