diff options
Diffstat (limited to 'firealarm_annunciator')
-rw-r--r-- | firealarm_annunciator/depends.txt | 2 | ||||
-rw-r--r-- | firealarm_annunciator/init.lua | 61 | ||||
-rw-r--r-- | firealarm_annunciator/mod.conf | 3 |
3 files changed, 43 insertions, 23 deletions
diff --git a/firealarm_annunciator/depends.txt b/firealarm_annunciator/depends.txt deleted file mode 100644 index e8acc00..0000000 --- a/firealarm_annunciator/depends.txt +++ /dev/null @@ -1,2 +0,0 @@ -firealarm_common -firealarm_panel diff --git a/firealarm_annunciator/init.lua b/firealarm_annunciator/init.lua index 190b8d2..de43500 100644 --- a/firealarm_annunciator/init.lua +++ b/firealarm_annunciator/init.lua @@ -121,9 +121,11 @@ minetest.register_node(":firealarm:annunciator_alarm",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_alarm.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_alarm.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, @@ -161,9 +163,11 @@ minetest.register_node(":firealarm:annunciator_supervisory",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_supervisory.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_supervisory.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, @@ -201,9 +205,11 @@ minetest.register_node(":firealarm:annunciator_trouble",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_trouble.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_trouble.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, @@ -241,9 +247,12 @@ minetest.register_node(":firealarm:annunciator_alarm_trouble",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_alarm.png:0,64=firealarm_panel_led_trouble.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_alarm.png".. + ":0,64=firealarm_panel_led_trouble.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, @@ -281,9 +290,12 @@ minetest.register_node(":firealarm:annunciator_alarm_supervisory",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_alarm.png:0,64=firealarm_panel_led_supervisory.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_alarm.png".. + ":0,64=firealarm_panel_led_supervisory.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, @@ -321,9 +333,12 @@ minetest.register_node(":firealarm:annunciator_supervisory_trouble",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_supervisory.png:0,64=firealarm_panel_led_trouble.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_supervisory.png".. + ":0,64=firealarm_panel_led_trouble.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, @@ -361,9 +376,13 @@ minetest.register_node(":firealarm:annunciator_alarm_supervisory_trouble",{ "firealarm_panel_sides.png", "firealarm_panel_sides.png", { - name = "[combine:64x128:0,0=firealarm_annunciator_front_normal.png:0,64=firealarm_annunciator_front_normal.png:0,64=firealarm_panel_led_alarm.png:0,64=firealarm_panel_led_supervisory.png:0,64=firealarm_panel_led_trouble.png", - animation = - { + name = "[combine:64x128".. + ":0,0=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_annunciator_front_normal.png".. + ":0,64=firealarm_panel_led_alarm.png".. + ":0,64=firealarm_panel_led_supervisory.png".. + ":0,64=firealarm_panel_led_trouble.png", + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, diff --git a/firealarm_annunciator/mod.conf b/firealarm_annunciator/mod.conf new file mode 100644 index 0000000..9c9eb89 --- /dev/null +++ b/firealarm_annunciator/mod.conf @@ -0,0 +1,3 @@ +name = firealarm_annunciator +depends = firealarm_common,firealarm_panel +description = Annunciator |