diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-31 17:40:29 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-31 17:40:29 +0100 |
commit | 39938949b04ea1c58f016143956b58687ec74b1d (patch) | |
tree | a96bd119382aa144a0411bc751ce3af946c0d851 /dirt.lua | |
parent | 1bcdfc56fd37065f664dc193d5e910b5bbd99a84 (diff) |
Changed Bamboo biome, added bamboo tree, bush, tidied code
Diffstat (limited to 'dirt.lua')
-rw-r--r-- | dirt.lua | 34 |
1 files changed, 10 insertions, 24 deletions
@@ -4,7 +4,11 @@ minetest.override_item("default:dirt", {is_ground_content = false}) -- green dirt minetest.register_node("ethereal:green_dirt", { description = "Green Dirt", - tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, + tiles = { + "default_grass.png", + "default_dirt.png", + "default_dirt.png^default_grass_side.png" + }, is_ground_content = false, groups = {crumbly = 3, soil = 1, ethereal_grass = 1}, drop = "default:dirt", @@ -40,8 +44,11 @@ for _, row in ipairs(dirt.type) do minetest.register_node("ethereal:"..name.."_dirt", { description = desc.." Dirt", - tiles = {"ethereal_grass_"..name.."_top.png", "default_dirt.png", - "default_dirt.png^ethereal_grass_"..name.."_side.png"}, + tiles = { + "ethereal_grass_"..name.."_top.png", + "default_dirt.png", + "default_dirt.png^ethereal_grass_"..name.."_side.png" + }, is_ground_content = false, groups = {crumbly = 3, soil = 1, ethereal_grass = 1}, drop = "default:dirt", @@ -113,13 +120,6 @@ if not minetest.get_modpath("bakedclay") then sounds = default.node_sound_stone_defaults(), }) - stairs.register_stair_and_slab("bakedclay_red", "bakedclay:red", - {cracky=3, not_in_craft_guide=1}, - {"baked_clay_red.png"}, - "Baked Clay Red Stair", - "Baked Clay Red Slab", - default.node_sound_stone_defaults()) - minetest.register_node(":bakedclay:orange", { description = "Orange Baked Clay", tiles = {"baked_clay_orange.png"}, @@ -128,13 +128,6 @@ if not minetest.get_modpath("bakedclay") then sounds = default.node_sound_stone_defaults(), }) - stairs.register_stair_and_slab("bakedclay_orange", "bakedclay:orange", - {cracky=3, not_in_craft_guide=1}, - {"baked_clay_orange.png"}, - "Baked Clay Orange Stair", - "Baked Clay Orange Slab", - default.node_sound_stone_defaults()) - minetest.register_node(":bakedclay:grey", { description = "Grey Baked Clay", tiles = {"baked_clay_grey.png"}, @@ -143,11 +136,4 @@ if not minetest.get_modpath("bakedclay") then sounds = default.node_sound_stone_defaults(), }) - stairs.register_stair_and_slab("bakedclay_grey", "bakedclay:grey", - {cracky=3, not_in_craft_guide=1}, - {"baked_clay_grey.png"}, - "Baked Clay Grey Stair", - "Baked Clay Grey Slab", - default.node_sound_stone_defaults()) - end
\ No newline at end of file |