diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index 16aac5964..76755eb70 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -517,7 +517,7 @@ minetest.register_node("mcl_core:dirt", { description = S("Dirt"), _doc_items_longdesc = S("Dirt acts as a soil for a few plants. When in light, this block may grow a grass or mycelium cover if such blocks are nearby."), _doc_items_hidden = false, - tiles = {"default_dirt.png"}, + tiles = {get_texture("default_dirt")}, is_ground_content = true, stack_max = 64, groups = {handy=1,shovely=1, dirt=1,soil=1, soil_sapling=2, soil_sugarcane=1, cultivatable=2, enderman_takable=1, building_block=1, path_creation_possible=1}, @@ -580,7 +580,7 @@ minetest.register_node("mcl_core:sand", { description = S("Sand"), _doc_items_longdesc = S("Sand is found in large quantities at beaches and deserts."), _doc_items_hidden = false, - tiles = {"default_sand.png"}, + tiles = {get_texture("default_sand")}, is_ground_content = true, stack_max = 64, groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1}, @@ -644,7 +644,7 @@ minetest.register_node("mcl_core:sandstonesmooth2", { minetest.register_node("mcl_core:redsand", { description = S("Red Sand"), _doc_items_longdesc = S("Red sand is found in large quantities in mesa biomes."), - tiles = {"mcl_core_red_sand.png"}, + tiles = {get_texture("mcl_core_red_sand")}, is_ground_content = true, stack_max = 64, groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1}, diff --git a/mods/ITEMS/mcl_ocean/kelp.lua b/mods/ITEMS/mcl_ocean/kelp.lua index 530d96093..79d03d380 100644 --- a/mods/ITEMS/mcl_ocean/kelp.lua +++ b/mods/ITEMS/mcl_ocean/kelp.lua @@ -603,7 +603,15 @@ function kelp.register_kelp_surface(surface, surface_deftemplate, surface_docs) sounds.place = kelp.leaf_sounds.place surface_deftemplate.tiles = surface_deftemplate.tiles or def_tiles - surface_deftemplate.inventory_image = surface_deftemplate.inventory_image or "("..def_tiles[1]..")^mcl_ocean_kelp_item.png" + + local texturename + if type(def_tiles[1]) == "string" then + texturename = def_tiles[1] + else + texturename = def_tiles[1].name + end + + surface_deftemplate.inventory_image = surface_deftemplate.inventory_image or "("..texturename..")^mcl_ocean_kelp_item.png" surface_deftemplate.sounds = surface_deftemplate.sound or sounds local falling_node = mt_get_item_group(nodename, "falling_node") surface_deftemplate.node_dig_prediction = surface_deftemplate.node_dig_prediction or nodename diff --git a/textures/default_sand_world.png b/textures/default_sand_world.png new file mode 100644 index 000000000..71944e55a Binary files /dev/null and b/textures/default_sand_world.png differ diff --git a/textures/mcl_core_red_sand_world.png b/textures/mcl_core_red_sand_world.png new file mode 100644 index 000000000..f614e0616 Binary files /dev/null and b/textures/mcl_core_red_sand_world.png differ