summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.luacheckrc7
-rw-r--r--init.lua14
-rw-r--r--textures/display_blocks_redo_earth_crystal.pngbin3134 -> 4105 bytes
-rw-r--r--textures/display_blocks_redo_metal_crystal.pngbin3244 -> 4102 bytes
-rw-r--r--textures/display_blocks_redo_titanium_crystal.pngbin3055 -> 4046 bytes
-rw-r--r--textures/display_blocks_redo_universia_crystal.pngbin3031 -> 4165 bytes
6 files changed, 14 insertions, 7 deletions
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000..fd29db5
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,7 @@
+max_line_length = 160
+
+read_globals = {
+ "minetest",
+ "default",
+ "vector",
+}
diff --git a/init.lua b/init.lua
index 5bf85b0..6d0f403 100644
--- a/init.lua
+++ b/init.lua
@@ -91,7 +91,7 @@ local function regcraft(def)
}
if string.sub(def.craft_item,1,7) == "bucket:" then
craft.replacements = {}
- for i=1,3,1 do
+ for _=1,3,1 do
table.insert(craft.replacements,{def.craft_item,"bucket:bucket_empty",})
end
end
@@ -240,7 +240,7 @@ else
},
is_ground_content = true,
})
-
+
minetest.register_node("display_blocks_redo:uranium_block",{
description = "Uranium Block",
paramtype = "light",
@@ -252,12 +252,12 @@ else
"display_blocks_redo_uranium_block.png",
},
})
-
+
minetest.register_craftitem("display_blocks_redo:uranium_dust",{
description = "Uranium Dust",
inventory_image = "display_blocks_redo_uranium_dust.png",
})
-
+
minetest.register_craft({
type = "shapeless",
output = "display_blocks_redo:uranium_block",
@@ -273,7 +273,7 @@ else
"display_blocks_redo:uranium_dust",
},
})
-
+
minetest.register_ore({
ore_type = "scatter",
ore = "display_blocks_redo:uranium_ore",
@@ -284,7 +284,7 @@ else
y_min = -3000,
y_max = -2000,
})
-
+
minetest.register_ore({
ore_type = "scatter",
ore = "display_blocks_redo:uranium_ore",
@@ -295,7 +295,7 @@ else
y_min = -31000,
y_max = -5000,
})
-
+
minetest.register_alias("display_blocks:uranium_ore","display_blocks_redo:uranium_ore")
minetest.register_alias("display_blocks:uranium_dust","display_blocks_redo:uranium_dust")
minetest.register_alias("display_blocks:uranium_block","display_blocks_redo:uranium_block")
diff --git a/textures/display_blocks_redo_earth_crystal.png b/textures/display_blocks_redo_earth_crystal.png
index 6211f05..5e0097e 100644
--- a/textures/display_blocks_redo_earth_crystal.png
+++ b/textures/display_blocks_redo_earth_crystal.png
Binary files differ
diff --git a/textures/display_blocks_redo_metal_crystal.png b/textures/display_blocks_redo_metal_crystal.png
index ebb2320..d908925 100644
--- a/textures/display_blocks_redo_metal_crystal.png
+++ b/textures/display_blocks_redo_metal_crystal.png
Binary files differ
diff --git a/textures/display_blocks_redo_titanium_crystal.png b/textures/display_blocks_redo_titanium_crystal.png
index aeff651..6b0f023 100644
--- a/textures/display_blocks_redo_titanium_crystal.png
+++ b/textures/display_blocks_redo_titanium_crystal.png
Binary files differ
diff --git a/textures/display_blocks_redo_universia_crystal.png b/textures/display_blocks_redo_universia_crystal.png
index 6529c5d..d55f1ef 100644
--- a/textures/display_blocks_redo_universia_crystal.png
+++ b/textures/display_blocks_redo_universia_crystal.png
Binary files differ