summaryrefslogtreecommitdiff
path: root/firealarm_hornstrobe
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_hornstrobe
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_hornstrobe')
-rw-r--r--firealarm_hornstrobe/depends.txt1
-rw-r--r--firealarm_hornstrobe/init.lua9
-rw-r--r--firealarm_hornstrobe/mod.conf3
3 files changed, 6 insertions, 7 deletions
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