From 57fb5e870d6663e9fd23895292e09ada430a089a Mon Sep 17 00:00:00 2001 From: HybridDog Date: Fri, 28 Jun 2013 15:18:10 +0200 Subject: [PATCH] update --- sumpf/depends.txt | 1 + sumpf/init.lua | 66 +++++++++++++++++++++++++------- sumpf/textures/sumpf_cobble.png | Bin 0 -> 785 bytes 3 files changed, 54 insertions(+), 13 deletions(-) create mode 100644 sumpf/textures/sumpf_cobble.png diff --git a/sumpf/depends.txt b/sumpf/depends.txt index 7adcd34..7566019 100644 --- a/sumpf/depends.txt +++ b/sumpf/depends.txt @@ -3,3 +3,4 @@ riesenpilz jungletree habitat bucket +stairs diff --git a/sumpf/init.lua b/sumpf/init.lua index e3eee69..9e39838 100644 --- a/sumpf/init.lua +++ b/sumpf/init.lua @@ -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") diff --git a/sumpf/textures/sumpf_cobble.png b/sumpf/textures/sumpf_cobble.png new file mode 100644 index 0000000000000000000000000000000000000000..5a106376ece9a29744bbf2f6bfcfe78d5fd35aa0 GIT binary patch literal 785 zcmV+s1Md8ZP)Px%%Sl8*R4C5{!Rc<}L;wKb@r=h4$7fupaZJ)2ZL`^JShm`NREa;(A0PyXSAe%e z+9%jugt#h%*mk#^HBF&S(k5wh_&&$x`xOOsnUd}E*W>$@7jPoZISCZ>_tT{)t0D`~ zXGbj{^LIB97R2$`xmi&`R!g`jOUhnbc9(#I(cLtYbb?E1(-c@46g|Q+b?*3&>$;L1 z99Dg-n0)9&8+q(kLwaVdDl)-HRE10<3Y;h96v%r2;RhccEIfwhwo0yOLZW!ahMI0rB%1%9yG2kEH95!CI{G$gi* zI6{LYbgcElOQzF1%wk<6CBin$YMS^pGhS2T+DjCNL{hTVGJ%j-f8FFPKblN8s~fvJ zwbp~d?B9vGMTge<^3p{B_v)7aV)C`;^xOS52YXGXP7FkGx0+jcgqqFNC&trEvp z9GEq;$4X^Z=h18H9>fU}kXgeOB^nI&7RzCb)o==|%XN2KV8kZ^z%O6?2>Wg2;@0nV zSg9dBZu2G1ydDKCoANjo2y=CL*Xm{~r=#%#bSS`q@1^eT3iaRXl=zBe-7ZE{>lHj}u#BSC?$1wIt(Ec| z?}7DXQvCXhdo`R%T8u;p-@KXcZP#^!IeTUQH*(tz$@<56JTO=&QZa0+`#!ulc)0Hc z-uN~_8D+LRq^h90`N(YCyk$f`p9Va{IbyQ8mr9<9k+Yfxjw{LecoO{&h1F;%a5g0h P00000NkvXXu0mjf48nOW literal 0 HcmV?d00001