This commit is contained in:
HybridDog 2013-06-28 15:18:10 +02:00
parent b4257ac6eb
commit 57fb5e870d
3 changed files with 54 additions and 13 deletions

View File

@ -3,3 +3,4 @@ riesenpilz
jungletree
habitat
bucket
stairs

View File

@ -20,19 +20,6 @@ minetest.register_craft({
}
})
minetest.register_node("sumpf:gras", {
description = "Swamp Grass",
tile_images = {"sumpfgrass.png"},
inventory_image = "sumpfgrass.png",
drawtype = "plantlike",
paramtype = "light",
selection_box = {type = "fixed",fixed = {-1/3, -1/2, -1/3, 1/3, -1/5, 1/3},},
buildable_to = true,
walkable = false,
groups = {snappy=3,flammable=3,flora=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("sumpf:junglestone", {
description = "Swamp Stone",
tile_images = {"sumpf_swampstone.png"},
@ -41,6 +28,14 @@ minetest.register_node("sumpf:junglestone", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("sumpf:cobble", {
description = "Swamp Cobble Stone",
tile_images = {"sumpf_cobble.png"},
groups = {cracky=3},
legacy_mineral = true,
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("sumpf:junglestonebrick", {
description = "Swamp Stone Brick",
tiles = {"sumpf_swampstone_brick.png"},
@ -94,6 +89,50 @@ minetest.register_node("sumpf:sumpf2", {
}),
})
----------------------stairs and slabs------------------
stairs.register_stair_and_slab("swampstone", "sumpf:junglestone",
{cracky=3},
{"sumpf_swampstone.png"},
"Swamp Stone Stair",
"Swamp Stone Slab",
default.node_sound_stone_defaults()
)
stairs.register_stair_and_slab("swampcobble", "sumpf:cobble",
{cracky=3},
{"sumpf_cobble.png"},
"Swamp Cobble Stone Stair",
"Swamp Cobble Stone Slab",
default.node_sound_stone_defaults()
)
stairs.register_stair_and_slab("swampstonebrick", "sumpf:swampstonebrick",
{cracky=2, stone=1},
{"sumpf_swampstone_brick.png"},
"Swamp Stone Brick Stair",
"Swamp Stone Brick Slab",
default.node_sound_stone_defaults()
)
---------------------------------------------------------
minetest.register_node("sumpf:gras", {
description = "Swamp Grass",
tile_images = {"sumpfgrass.png"},
inventory_image = "sumpfgrass.png",
drawtype = "plantlike",
paramtype = "light",
selection_box = {type = "fixed",fixed = {-1/3, -1/2, -1/3, 1/3, -1/5, 1/3},},
buildable_to = true,
walkable = false,
groups = {snappy=3,flammable=3,flora=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("sumpf:dirtywater_flowing", {
drawtype = "flowingliquid",
tiles = {"default_water.png"},
@ -141,6 +180,7 @@ bucket.register_liquid(
"Swampwater Bucket"
)
sumpf = {}
dofile(minetest.get_modpath("sumpf").."/settings.lua")
dofile(minetest.get_modpath("sumpf") .. "/birke.lua")

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B