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 /init.lua | |
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 |
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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") |