Use an overlay over default_dirt.png for soil 368/head
authorPilzAdam <pilzadam@minetest.net>
Sat, 6 Dec 2014 10:28:24 +0000 (11:28 +0100)
committerPilzAdam <pilzadam@minetest.net>
Sun, 7 Dec 2014 18:46:23 +0000 (19:46 +0100)
mods/farming/nodes.lua
mods/farming/textures/farming_soil.png
mods/farming/textures/farming_soil_wet.png
mods/farming/textures/farming_soil_wet_side.png

index 10c4afe9e38c458f3de5881f96bcf5e5ba05e766..a99f505196a57e0bdb9a983ee63ac6e46a72b230 100644 (file)
@@ -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},
index 0be94e3c9ef086f529907a178160f139f619fdba..6a59fca5bfc840496873bc9e5d3f54f4c420265b 100644 (file)
Binary files a/mods/farming/textures/farming_soil.png and b/mods/farming/textures/farming_soil.png differ
index d5e335ef30558faafda5da5df2541be28abb7bff..7e24c70458e5b3d14080b945cf0f68cd0bbc57ec 100644 (file)
Binary files a/mods/farming/textures/farming_soil_wet.png and b/mods/farming/textures/farming_soil_wet.png differ
index 6bd3a56cb6d20ea9431a48c9cd0dafebc0a3af59..58bc4fb6d41f8ed8b61b3b0568a55944145d70f3 100644 (file)
Binary files a/mods/farming/textures/farming_soil_wet_side.png and b/mods/farming/textures/farming_soil_wet_side.png differ