From: PilzAdam Date: Sat, 6 Dec 2014 10:28:24 +0000 (+0100) Subject: Use an overlay over default_dirt.png for soil X-Git-Tag: 0.4.11~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0fb180e4db2c311b2626face0e5635bb2a1d820;p=oweals%2Fminetest_game.git Use an overlay over default_dirt.png for soil --- diff --git a/mods/farming/nodes.lua b/mods/farming/nodes.lua index 10c4afe9..a99f5051 100644 --- a/mods/farming/nodes.lua +++ b/mods/farming/nodes.lua @@ -18,7 +18,7 @@ minetest.override_item("default:dirt_with_grass", { minetest.register_node("farming:soil", { description = "Soil", - tiles = {"farming_soil.png", "default_dirt.png"}, + tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"}, drop = "default:dirt", is_ground_content = true, groups = {crumbly=3, not_in_creative_inventory=1, soil=2, grassland = 1, field = 1}, @@ -32,7 +32,7 @@ minetest.register_node("farming:soil", { minetest.register_node("farming:soil_wet", { description = "Wet Soil", - tiles = {"farming_soil_wet.png", "farming_soil_wet_side.png"}, + tiles = {"default_dirt.png^farming_soil_wet.png", "default_dirt.png^farming_soil_wet_side.png"}, drop = "default:dirt", is_ground_content = true, groups = {crumbly=3, not_in_creative_inventory=1, soil=3, wet = 1, grassland = 1, field = 1}, diff --git a/mods/farming/textures/farming_soil.png b/mods/farming/textures/farming_soil.png index 0be94e3c..6a59fca5 100644 Binary files a/mods/farming/textures/farming_soil.png and b/mods/farming/textures/farming_soil.png differ diff --git a/mods/farming/textures/farming_soil_wet.png b/mods/farming/textures/farming_soil_wet.png index d5e335ef..7e24c704 100644 Binary files a/mods/farming/textures/farming_soil_wet.png and b/mods/farming/textures/farming_soil_wet.png differ diff --git a/mods/farming/textures/farming_soil_wet_side.png b/mods/farming/textures/farming_soil_wet_side.png index 6bd3a56c..58bc4fb6 100644 Binary files a/mods/farming/textures/farming_soil_wet_side.png and b/mods/farming/textures/farming_soil_wet_side.png differ