diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-26 15:05:17 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-26 15:05:17 +0100 |
commit | e6babd6486730a0341ea3bde31c80ed920c2328c (patch) | |
tree | b64664bde2a6a2d1a1c8c022c008b42d1117b722 /soil.lua | |
parent | 5757896caaeac6f47732344f9d870fe65d9df8ce (diff) |
Updated to work with 0.4.13
Diffstat (limited to 'soil.lua')
-rw-r--r-- | soil.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |