From 70ab3cd06da8e8211536963e08680b664965335a Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 14 Sep 2024 17:42:44 -0500 Subject: Add luacheck configuration, migrate depends.txt to mod.conf, and some assorted cleanup --- firealarm_hornstrobe/depends.txt | 1 - firealarm_hornstrobe/init.lua | 9 +++------ firealarm_hornstrobe/mod.conf | 3 +++ 3 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 firealarm_hornstrobe/depends.txt create mode 100644 firealarm_hornstrobe/mod.conf (limited to 'firealarm_hornstrobe') diff --git a/firealarm_hornstrobe/depends.txt b/firealarm_hornstrobe/depends.txt deleted file mode 100644 index d4798ab..0000000 --- a/firealarm_hornstrobe/depends.txt +++ /dev/null @@ -1 +0,0 @@ -firealarm_common diff --git a/firealarm_hornstrobe/init.lua b/firealarm_hornstrobe/init.lua index 750eca4..1ba635b 100644 --- a/firealarm_hornstrobe/init.lua +++ b/firealarm_hornstrobe/init.lua @@ -54,8 +54,7 @@ minetest.register_node(":firealarm:hornstrobe_on",{ "firealarm_hornstrobe_back.png", { name = hornstrobeOnFrontTexture, - animation = - { + animation = { type = "vertical_frames", aspect_w = 32, aspect_h = 32, @@ -133,8 +132,7 @@ minetest.register_node(":firealarm:remotestrobe_on",{ "firealarm_hornstrobe_back.png", { name = remoteStrobeOnFrontTexture, - animation = - { + animation = { type = "vertical_frames", aspect_w = 32, aspect_h = 32, @@ -204,8 +202,7 @@ minetest.register_node(":firealarm:hornstrobe_old_on",{ "firealarm_hornstrobe_back.png", { name = oldHornStrobeOnFrontTexture, - animation = - { + animation = { type = "vertical_frames", aspect_w = 64, aspect_h = 64, diff --git a/firealarm_hornstrobe/mod.conf b/firealarm_hornstrobe/mod.conf new file mode 100644 index 0000000..db548d6 --- /dev/null +++ b/firealarm_hornstrobe/mod.conf @@ -0,0 +1,3 @@ +name = firealarm_hornstrobe +description = Horns/Strobes +depends = firealarm_common -- cgit v1.2.3