Added facedir node support to display_lib, created font_lib, updated mods accordingly

This commit is contained in:
Pierre-Yves Rollo
2015-11-28 20:44:04 +01:00
parent 9b4513bf9d
commit 1b39bf7ae3
134 changed files with 426 additions and 390 deletions

View File

@ -16,7 +16,7 @@ minetest.register_node("ontime_clocks:green_digital", {
groups = {oddly_breakable_by_hand=1},
display_entities = {
["ontime_clocks:display"] = {
depth = -13/32 + 0.01,
depth = 13/32 - 0.01,
on_display_update = function(pos, objref)
objref:set_properties(
ontime_clocks.get_digital_properties(
@ -54,7 +54,7 @@ minetest.register_node("ontime_clocks:red_digital", {
groups = {oddly_breakable_by_hand=1},
display_entities = {
["ontime_clocks:display"] = {
depth = -13/32 + 0.01,
depth = 13/32 - 0.01,
on_display_update = function(pos, objref)
objref:set_properties(
ontime_clocks.get_digital_properties(
@ -92,7 +92,7 @@ minetest.register_node("ontime_clocks:white", {
groups = {choppy=1,oddly_breakable_by_hand=1},
display_entities = {
["ontime_clocks:display"] = {
depth = -6/16+0.01,
depth = 6/16 - 0.01,
on_display_update = function(pos, objref)
objref:set_properties(
ontime_clocks.get_needles_properties(
@ -129,7 +129,7 @@ minetest.register_node("ontime_clocks:frameless_black", {
groups = {choppy=1,oddly_breakable_by_hand=1},
display_entities = {
["ontime_clocks:display"] = {
depth = -7/16,
depth = 7/16,
on_display_update = function(pos, objref)
objref:set_properties(
ontime_clocks.get_needles_properties(
@ -166,7 +166,7 @@ minetest.register_node("ontime_clocks:frameless_gold", {
groups = {choppy=1,oddly_breakable_by_hand=1},
display_entities = {
["ontime_clocks:display"] = {
depth = -7/16,
depth = 7/16,
on_display_update = function(pos, objref)
objref:set_properties(
ontime_clocks.get_needles_properties(
@ -203,7 +203,7 @@ minetest.register_node("ontime_clocks:frameless_white", {
groups = {choppy=1,oddly_breakable_by_hand=1},
display_entities = {
["ontime_clocks:display"] = {
depth = -7/16,
depth = 7/16,
on_display_update = function(pos, objref)
objref:set_properties(
ontime_clocks.get_needles_properties(