mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 18:32:25 +01:00
Add mcl_clock item stereotype
This commit is contained in:
parent
7ae2d1dc4f
commit
1c6f1591da
@ -1,2 +1,3 @@
|
|||||||
mcl_core
|
mcl_core
|
||||||
mcl_compass
|
mcl_compass
|
||||||
|
mcl_clock
|
||||||
|
@ -49,6 +49,7 @@ local group_stereotypes = {
|
|||||||
quartz_block = "mcl_nether:quartz_block",
|
quartz_block = "mcl_nether:quartz_block",
|
||||||
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
|
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
|
||||||
compass = mcl_compass.stereotype,
|
compass = mcl_compass.stereotype,
|
||||||
|
clock = mcl_clock.sterotype,
|
||||||
}
|
}
|
||||||
|
|
||||||
local group_names = {
|
local group_names = {
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
Original from Echo, here: http://forum.minetest.net/viewtopic.php?id=3795
|
Original from Echo, here: http://forum.minetest.net/viewtopic.php?id=3795
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
|
mcl_clock = {}
|
||||||
|
|
||||||
local watch = {}
|
local watch = {}
|
||||||
watch.old_time = -1
|
watch.old_time = -1
|
||||||
|
|
||||||
@ -97,3 +99,5 @@ for a=0,63,1 do
|
|||||||
end
|
end
|
||||||
watch.register_item("mcl_clock:clock_"..tostring(a), watch.images[b+1], false)
|
watch.register_item("mcl_clock:clock_"..tostring(a), watch.images[b+1], false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
mcl_clock.stereotype = "mcl_clock:clock"
|
||||||
|
Loading…
Reference in New Issue
Block a user