Add mcl_clock item stereotype

This commit is contained in:
Wuzzy 2017-02-20 21:16:51 +01:00
parent 7ae2d1dc4f
commit 1c6f1591da
3 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,8 @@
Original from Echo, here: http://forum.minetest.net/viewtopic.php?id=3795
]]--
mcl_clock = {}
local watch = {}
watch.old_time = -1
@ -97,3 +99,5 @@ for a=0,63,1 do
end
watch.register_item("mcl_clock:clock_"..tostring(a), watch.images[b+1], false)
end
mcl_clock.stereotype = "mcl_clock:clock"