summaryrefslogtreecommitdiff
path: root/firealarm_annunciator/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-09-14 17:42:44 -0500
committercheapie <no-email-for-you@example.com>2024-09-14 17:42:44 -0500
commit70ab3cd06da8e8211536963e08680b664965335a (patch)
treeb0ccaee94b9397a2e3dd9baebc1972fbf8c66350 /firealarm_annunciator/init.lua
parent4d417ddcb2be62e568ae3f11c58bcb156d5d6a35 (diff)
downloadfirealarm-70ab3cd06da8e8211536963e08680b664965335a.tar
firealarm-70ab3cd06da8e8211536963e08680b664965335a.tar.gz
firealarm-70ab3cd06da8e8211536963e08680b664965335a.tar.bz2
firealarm-70ab3cd06da8e8211536963e08680b664965335a.tar.xz
firealarm-70ab3cd06da8e8211536963e08680b664965335a.zip
Add luacheck configuration, migrate depends.txt to mod.conf, and some assorted cleanup
Diffstat (limited to 'firealarm_annunciator/init.lua')
-rw-r--r--firealarm_annunciator/init.lua61
1 files changed, 40 insertions, 21 deletions
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,