New node dark bridge wood. Mod stair nodes drop default nodes
This commit is contained in:
parent
fdecf42f5f
commit
10a31c5fbf
@ -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
|
For latest stable Minetest back to 0.4.8
|
||||||
Depends default
|
Depends default stairs
|
||||||
Licenses: code WTFPL
|
Licenses: code WTFPL
|
||||||
|
@ -1 +1,2 @@
|
|||||||
default
|
default
|
||||||
|
stairs
|
||||||
|
14
init.lua
14
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
|
-- For latest stable Minetest and back to 0.4.8
|
||||||
-- Depends default
|
-- Depends default stairs
|
||||||
-- License: code WTFPL
|
-- License: code WTFPL
|
||||||
|
|
||||||
-- add bridge structure of mod junglewood
|
-- new node dark bridgewood, drops default wood.
|
||||||
-- bugfix floating wide dirt paths
|
-- mod stair nodes drop default nodes
|
||||||
|
|
||||||
-- Parameters
|
-- 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 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 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 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
|
-- Mapgen v6 parameters
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ local np_column = {
|
|||||||
spread = {x=8, y=8, z=8},
|
spread = {x=8, y=8, z=8},
|
||||||
seed = 1728833,
|
seed = 1728833,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 1.5
|
persist = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Stuff
|
-- Stuff
|
||||||
@ -150,7 +150,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
|
|
||||||
local c_wood = minetest.get_content_id("pathv6alt:wood")
|
local c_wood = minetest.get_content_id("pathv6alt:wood")
|
||||||
local c_path = minetest.get_content_id("pathv6alt:path")
|
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_stairn = minetest.get_content_id("pathv6alt:stairn")
|
||||||
local c_stairs = minetest.get_content_id("pathv6alt:stairs")
|
local c_stairs = minetest.get_content_id("pathv6alt:stairs")
|
||||||
|
24
nodes.lua
24
nodes.lua
@ -16,12 +16,12 @@ minetest.register_node("pathv6alt:path", {
|
|||||||
sounds = default.node_sound_dirt_defaults(),
|
sounds = default.node_sound_dirt_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("pathv6alt:junglewood", {
|
minetest.register_node("pathv6alt:bridgewood", {
|
||||||
description = "Mod junglewood",
|
description = "Bridge wood",
|
||||||
tiles = {"default_junglewood.png"},
|
tiles = {"pathv6alt_bridgewood.png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
drop = "default:junglewood",
|
drop = "default:wood",
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -32,6 +32,7 @@ minetest.register_node("pathv6alt:stairn", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -49,6 +50,7 @@ minetest.register_node("pathv6alt:stairs", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -66,6 +68,7 @@ minetest.register_node("pathv6alt:staire", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -83,6 +86,7 @@ minetest.register_node("pathv6alt:stairw", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -100,6 +104,7 @@ minetest.register_node("pathv6alt:stairne", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -117,6 +122,7 @@ minetest.register_node("pathv6alt:stairnw", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -134,6 +140,7 @@ minetest.register_node("pathv6alt:stairse", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -151,6 +158,7 @@ minetest.register_node("pathv6alt:stairsw", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
|
drop = "stairs:stair_wood",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -168,6 +176,7 @@ minetest.register_node("pathv6alt:pstairn", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -185,6 +194,7 @@ minetest.register_node("pathv6alt:pstairs", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -202,6 +212,7 @@ minetest.register_node("pathv6alt:pstaire", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -219,6 +230,7 @@ minetest.register_node("pathv6alt:pstairw", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -236,6 +248,7 @@ minetest.register_node("pathv6alt:pstairne", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -253,6 +266,7 @@ minetest.register_node("pathv6alt:pstairnw", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -270,6 +284,7 @@ minetest.register_node("pathv6alt:pstairse", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -287,6 +302,7 @@ minetest.register_node("pathv6alt:pstairsw", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2},
|
groups = {crumbly=2},
|
||||||
|
drop = "default:dirt",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
|
BIN
textures/pathv6alt_bridgewood.png
Normal file
BIN
textures/pathv6alt_bridgewood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 B |
Loading…
x
Reference in New Issue
Block a user