From 835ca02be5f0c37b4aedea13a7480beb5e9bb69e Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Wed, 19 Aug 2015 00:26:32 +0200 Subject: [PATCH] Add tiling info for grass nodes --- mods/default/nodes.lua | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 8c24d7c3..608f6c29 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -274,7 +274,9 @@ minetest.register_node("default:dirt", { minetest.register_node("default:dirt_with_grass", { description = "Dirt with Grass", - tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, + tiles = {"default_grass.png", "default_dirt.png", + {name = "default_dirt.png^default_grass_side.png", + tileable_vertical = false}}, groups = {crumbly=3,soil=1}, drop = 'default:dirt', sounds = default.node_sound_dirt_defaults({ @@ -285,7 +287,8 @@ minetest.register_node("default:dirt_with_grass", { minetest.register_node("default:dirt_with_grass_footsteps", { description = "Dirt with Grass and Footsteps", tiles = {"default_grass.png^default_footprint.png", "default_dirt.png", - "default_dirt.png^default_grass_side.png"}, + {name = "default_dirt.png^default_grass_side.png", + tileable_vertical = false}}, groups = {crumbly=3,soil=1,not_in_creative_inventory=1}, drop = 'default:dirt', sounds = default.node_sound_dirt_defaults({ @@ -297,8 +300,8 @@ minetest.register_node("default:dirt_with_dry_grass", { description = "Dirt with Dry Grass", tiles = {"default_dry_grass.png", "default_dirt.png", - "default_dirt.png^default_dry_grass_side.png" - }, + {name = "default_dirt.png^default_dry_grass_side.png", + tileable_vertical = false}}, groups = {crumbly = 3, soil = 1}, drop = 'default:dirt', sounds = default.node_sound_dirt_defaults({ @@ -308,7 +311,9 @@ minetest.register_node("default:dirt_with_dry_grass", { minetest.register_node("default:dirt_with_snow", { description = "Dirt with Snow", - tiles = {"default_snow.png", "default_dirt.png", "default_dirt.png^default_snow_side.png"}, + tiles = {"default_snow.png", "default_dirt.png", + {name = "default_dirt.png^default_snow_side.png", + tileable_vertical = false}}, groups = {crumbly=3,soil=1}, drop = 'default:dirt', sounds = default.node_sound_dirt_defaults({ @@ -317,7 +322,6 @@ minetest.register_node("default:dirt_with_snow", { }) - minetest.register_node("default:sand", { description = "Sand", tiles = {"default_sand.png"}, -- 2.25.1