diff --git a/README.txt b/README.txt index 1695306..2cb2273 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -pathv6alt 0.2.7 by paramat +pathv6alt 0.2.8 by paramat For latest stable Minetest back to 0.4.8 -Depends default +Depends default stairs Licenses: code WTFPL diff --git a/depends.txt b/depends.txt index 4ad96d5..3296b1e 100644 --- a/depends.txt +++ b/depends.txt @@ -1 +1,2 @@ default +stairs diff --git a/init.lua b/init.lua index 0bab0b1..965ae25 100644 --- a/init.lua +++ b/init.lua @@ -1,10 +1,10 @@ --- pathv6alt 0.2.7 by paramat +-- pathv6alt 0.2.8 by paramat -- For latest stable Minetest and back to 0.4.8 --- Depends default +-- Depends default stairs -- License: code WTFPL --- add bridge structure of mod junglewood --- bugfix floating wide dirt paths +-- new node dark bridgewood, drops default wood. +-- mod stair nodes drop default nodes -- Parameters @@ -12,7 +12,7 @@ local WALK = true -- Walkable paths local YMAXMINP = 48 -- Maximum minp.y of generated chunks (-32 for default mapgen v6. 48, 128, 208 for higher) local HSAMP = 0.85 -- Height select amplitude. Maximum steepness of paths local HSOFF = -0.2 -- Height select noise offset. Bias paths towards base (-) or higher (+) terrain -local TCOL = 0.2 -- Column noise threshold. Bridge column density +local TCOL = 0.3 -- Column noise threshold. Bridge column density -- Mapgen v6 parameters @@ -114,7 +114,7 @@ local np_column = { spread = {x=8, y=8, z=8}, seed = 1728833, octaves = 3, - persist = 1.5 + persist = 2 } -- Stuff @@ -150,7 +150,7 @@ minetest.register_on_generated(function(minp, maxp, seed) local c_wood = minetest.get_content_id("pathv6alt:wood") local c_path = minetest.get_content_id("pathv6alt:path") - local c_column = minetest.get_content_id("pathv6alt:junglewood") + local c_column = minetest.get_content_id("pathv6alt:bridgewood") local c_stairn = minetest.get_content_id("pathv6alt:stairn") local c_stairs = minetest.get_content_id("pathv6alt:stairs") diff --git a/nodes.lua b/nodes.lua index c2ec128..86540a3 100644 --- a/nodes.lua +++ b/nodes.lua @@ -16,12 +16,12 @@ minetest.register_node("pathv6alt:path", { sounds = default.node_sound_dirt_defaults(), }) -minetest.register_node("pathv6alt:junglewood", { - description = "Mod junglewood", - tiles = {"default_junglewood.png"}, +minetest.register_node("pathv6alt:bridgewood", { + description = "Bridge wood", + tiles = {"pathv6alt_bridgewood.png"}, is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, - drop = "default:junglewood", + drop = "default:wood", sounds = default.node_sound_wood_defaults(), }) @@ -32,6 +32,7 @@ minetest.register_node("pathv6alt:stairn", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -49,6 +50,7 @@ minetest.register_node("pathv6alt:stairs", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -66,6 +68,7 @@ minetest.register_node("pathv6alt:staire", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -83,6 +86,7 @@ minetest.register_node("pathv6alt:stairw", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -100,6 +104,7 @@ minetest.register_node("pathv6alt:stairne", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -117,6 +122,7 @@ minetest.register_node("pathv6alt:stairnw", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -134,6 +140,7 @@ minetest.register_node("pathv6alt:stairse", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -151,6 +158,7 @@ minetest.register_node("pathv6alt:stairsw", { paramtype = "light", is_ground_content = false, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + drop = "stairs:stair_wood", node_box = { type = "fixed", fixed = { @@ -168,6 +176,7 @@ minetest.register_node("pathv6alt:pstairn", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -185,6 +194,7 @@ minetest.register_node("pathv6alt:pstairs", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -202,6 +212,7 @@ minetest.register_node("pathv6alt:pstaire", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -219,6 +230,7 @@ minetest.register_node("pathv6alt:pstairw", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -236,6 +248,7 @@ minetest.register_node("pathv6alt:pstairne", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -253,6 +266,7 @@ minetest.register_node("pathv6alt:pstairnw", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -270,6 +284,7 @@ minetest.register_node("pathv6alt:pstairse", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { @@ -287,6 +302,7 @@ minetest.register_node("pathv6alt:pstairsw", { paramtype = "light", is_ground_content = false, groups = {crumbly=2}, + drop = "default:dirt", node_box = { type = "fixed", fixed = { diff --git a/textures/pathv6alt_bridgewood.png b/textures/pathv6alt_bridgewood.png new file mode 100644 index 0000000..407726b Binary files /dev/null and b/textures/pathv6alt_bridgewood.png differ