mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-07-03 16:40:45 +02:00
luacheck, remove old compatibility stuff
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
--[[
|
||||
ontime_clocks mod for Minetest - Clock nodes displaying ingame time
|
||||
ontime_clocks mod for Minetest - Clock nodes displaying ingame time
|
||||
(c) Pierre-Yves Rollo
|
||||
|
||||
This file is part of ontime_clocks.
|
||||
@ -34,7 +34,7 @@ function ontime_clocks.get_m12()
|
||||
end
|
||||
|
||||
function ontime_clocks.get_digital_properties(color_off, color_on, hour, minute)
|
||||
return
|
||||
return
|
||||
{
|
||||
textures={"ontime_clocks_digital_background.png^[colorize:"..color_off
|
||||
.."^([combine:21x7"
|
||||
@ -51,7 +51,7 @@ end
|
||||
function ontime_clocks.get_needles_properties(color, size, hour, minute)
|
||||
return
|
||||
{
|
||||
textures={"[combine:"..size.."x"..size
|
||||
textures={"[combine:"..size.."x"..size
|
||||
..":0,"..(-size*hour).."=ontime_clocks_needle_h"..size..".png"
|
||||
..":0,"..(-size*minute).."=ontime_clocks_needle_m"..size..".png"
|
||||
.."^[colorize:"..color},
|
||||
|
@ -1,5 +1,5 @@
|
||||
--[[
|
||||
ontime_clocks mod for Minetest - Clock nodes displaying ingame time
|
||||
ontime_clocks mod for Minetest - Clock nodes displaying ingame time
|
||||
(c) Pierre-Yves Rollo
|
||||
|
||||
This file is part of ontime_clocks.
|
||||
|
@ -1,5 +1,5 @@
|
||||
--[[
|
||||
ontime_clocks mod for Minetest - Clock nodes displaying ingame time
|
||||
ontime_clocks mod for Minetest - Clock nodes displaying ingame time
|
||||
(c) Pierre-Yves Rollo
|
||||
|
||||
This file is part of ontime_clocks.
|
||||
|
@ -227,7 +227,7 @@ minetest.register_node("ontime_clocks:frameless_white", {
|
||||
|
||||
minetest.register_lbm({
|
||||
name = "ontime_clocks:nodetimer_init",
|
||||
nodenames = {"ontime_clocks:green_digital", "ontime_clocks:red_digital", "ontime_clocks:white",
|
||||
nodenames = {"ontime_clocks:green_digital", "ontime_clocks:red_digital", "ontime_clocks:white",
|
||||
"ontime_clocks:frameless_black", "ontime_clocks:frameless_gold", "ontime_clocks:frameless_white"},
|
||||
run_at_every_load = true,
|
||||
action = function(pos)
|
||||
|
Reference in New Issue
Block a user