diff options
author | cheapie <no-email-for-you@example.com> | 2024-09-14 20:12:20 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-09-14 20:12:20 -0500 |
commit | 4043faa46862368a52e9feeeae49e1c68f9667ad (patch) | |
tree | b7c67c021d88a1289cecaee3360332cff226e8fb | |
parent | f4b69e7117bf2920a3ba1b676967a581ae16a8ca (diff) | |
download | display_blocks_redo-master.tar display_blocks_redo-master.tar.gz display_blocks_redo-master.tar.bz2 display_blocks_redo-master.tar.xz display_blocks_redo-master.zip |
-rw-r--r-- | .luacheckrc | 7 | ||||
-rw-r--r-- | init.lua | 14 | ||||
-rw-r--r-- | textures/display_blocks_redo_earth_crystal.png | bin | 3134 -> 4105 bytes | |||
-rw-r--r-- | textures/display_blocks_redo_metal_crystal.png | bin | 3244 -> 4102 bytes | |||
-rw-r--r-- | textures/display_blocks_redo_titanium_crystal.png | bin | 3055 -> 4046 bytes | |||
-rw-r--r-- | textures/display_blocks_redo_universia_crystal.png | bin | 3031 -> 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", +} @@ -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 Binary files differindex 6211f05..5e0097e 100644 --- a/textures/display_blocks_redo_earth_crystal.png +++ b/textures/display_blocks_redo_earth_crystal.png diff --git a/textures/display_blocks_redo_metal_crystal.png b/textures/display_blocks_redo_metal_crystal.png Binary files differindex ebb2320..d908925 100644 --- a/textures/display_blocks_redo_metal_crystal.png +++ b/textures/display_blocks_redo_metal_crystal.png diff --git a/textures/display_blocks_redo_titanium_crystal.png b/textures/display_blocks_redo_titanium_crystal.png Binary files differindex aeff651..6b0f023 100644 --- a/textures/display_blocks_redo_titanium_crystal.png +++ b/textures/display_blocks_redo_titanium_crystal.png diff --git a/textures/display_blocks_redo_universia_crystal.png b/textures/display_blocks_redo_universia_crystal.png Binary files differindex 6529c5d..d55f1ef 100644 --- a/textures/display_blocks_redo_universia_crystal.png +++ b/textures/display_blocks_redo_universia_crystal.png |