From e6babd6486730a0341ea3bde31c80ed920c2328c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Wed, 26 Aug 2015 15:05:17 +0100 Subject: Updated to work with 0.4.13 --- soil.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'soil.lua') diff --git a/soil.lua b/soil.lua index b8f3001..ba96a57 100644 --- a/soil.lua +++ b/soil.lua @@ -1,23 +1,23 @@ -- normal soil 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", groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2}, sounds = default.node_sound_dirt_defaults(), }) --- sand is not soil, change existing sand-soil to use normal soil -minetest.register_alias("farming:desert_sand_soil", "farming:soil") - -- wet 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", groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3}, sounds = default.node_sound_dirt_defaults(), }) + +-- sand is not soil, change existing sand-soil to use normal soil +minetest.register_alias("farming:desert_sand_soil", "farming:soil") minetest.register_alias("farming:desert_sand_soil_wet", "farming:soil_wet") -- if water near soil then change to wet soil -- cgit v1.2.3