Compare commits
36 Commits
master
...
cd93d09d01
Author | SHA1 | Date | |
---|---|---|---|
cd93d09d01 | |||
ac33f684b2 | |||
079a5c1ff8 | |||
156d31280a | |||
183c043066 | |||
3239650e68 | |||
6bdb533906 | |||
c62610f544 | |||
8e2148ffc3 | |||
5ac025cda4 | |||
efe869d386 | |||
b597f99014 | |||
637f96e215 | |||
fa9f30043f | |||
d97f25e112 | |||
86896848d5 | |||
5b66d54632 | |||
031260a62d | |||
d4e83d7e78 | |||
8d65559828 | |||
ec8132b06c | |||
4dcf14ce1f | |||
d7b543f5d7 | |||
f661500cb3 | |||
c2681261e0 | |||
2c433e0b57 | |||
1f52bbea19 | |||
10ff005066 | |||
80b548535a | |||
45a8064d3d | |||
1696d8bd8f | |||
091ce416d0 | |||
5dfa02c037 | |||
8b42a45d78 | |||
b6ed0316b7 | |||
114eaff7f1 |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
@ -315,3 +315,5 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
|
|||||||
grow_youngtree2(pos)
|
grow_youngtree2(pos)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
minetest.log("action", "[bushes] loaded.")
|
||||||
|
BIN
bushes/textures/old & unused/BlockBranch1.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
bushes/textures/old & unused/BlockBranch1L.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
bushes/textures/old & unused/BlockBranch1R.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
bushes/textures/old & unused/BushBranches1.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
bushes/textures/old & unused/BushBranches1sm.png
Normal file
After Width: | Height: | Size: 609 B |
BIN
bushes/textures/old & unused/BushBranches1sm2.png
Normal file
After Width: | Height: | Size: 620 B |
BIN
bushes/textures/old & unused/BushBranches1sm3.png
Normal file
After Width: | Height: | Size: 396 B |
BIN
bushes/textures/old & unused/BushBranches1sm4.png
Normal file
After Width: | Height: | Size: 540 B |
BIN
bushes/textures/old & unused/BushBranchesCenter.png
Normal file
After Width: | Height: | Size: 285 B |
BIN
bushes/textures/old & unused/BushBranchesSide1.png
Normal file
After Width: | Height: | Size: 657 B |
BIN
bushes/textures/old & unused/BushBranchesSide2.png
Normal file
After Width: | Height: | Size: 693 B |
BIN
bushes/textures/old & unused/blank.png
Normal file
After Width: | Height: | Size: 83 B |
BIN
bushes/textures/old & unused/moretrees_pine_leaves3.png
Normal file
After Width: | Height: | Size: 525 B |
@ -4,6 +4,8 @@ local S = minetest.get_translator("bushes_classic")
|
|||||||
plantlife_bushes = {}
|
plantlife_bushes = {}
|
||||||
|
|
||||||
-- TODO: add support for nodebreakers? those dig like mese picks
|
-- TODO: add support for nodebreakers? those dig like mese picks
|
||||||
|
local random = math.random
|
||||||
|
|
||||||
plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
if not (digger and pos and oldnode) then
|
if not (digger and pos and oldnode) then
|
||||||
return
|
return
|
||||||
@ -63,7 +65,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
|||||||
|
|
||||||
-- with a chance of 1/3, return 2 bushes
|
-- with a chance of 1/3, return 2 bushes
|
||||||
local amount
|
local amount
|
||||||
if can_harvest and math.random(1,3) == 1 then
|
if can_harvest and random(1,3) == 1 then
|
||||||
amount = "2"
|
amount = "2"
|
||||||
else
|
else
|
||||||
amount = "1"
|
amount = "1"
|
||||||
@ -75,7 +77,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
|||||||
elseif groupcaps.choppy then
|
elseif groupcaps.choppy then
|
||||||
|
|
||||||
-- the amount of sticks may vary
|
-- the amount of sticks may vary
|
||||||
local amount = math.random(4, 20)
|
local amount = random(4, 20)
|
||||||
-- return some sticks
|
-- return some sticks
|
||||||
harvested = "default:stick " .. amount
|
harvested = "default:stick " .. amount
|
||||||
|
|
||||||
@ -136,7 +138,7 @@ minetest.register_abm({
|
|||||||
local dirt = minetest.get_node(dirtpos)
|
local dirt = minetest.get_node(dirtpos)
|
||||||
local is_soil = minetest.get_item_group(dirt.name, "soil") or minetest.get_item_group(dirt.name, "potting_soil")
|
local is_soil = minetest.get_item_group(dirt.name, "soil") or minetest.get_item_group(dirt.name, "potting_soil")
|
||||||
|
|
||||||
if is_soil and (dirt.name == "farming:soil_wet" or math.random(1,3) == 1) then
|
if is_soil and (dirt.name == "farming:soil_wet" or random(1,3) == 1) then
|
||||||
minetest.swap_node( pos, {name = "bushes:" .. bush_name .. "_bush"})
|
minetest.swap_node( pos, {name = "bushes:" .. bush_name .. "_bush"})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -159,7 +161,6 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
on_use = minetest.item_eat(18),
|
on_use = minetest.item_eat(18),
|
||||||
groups = { dig_immediate = 3 },
|
groups = { dig_immediate = 3 },
|
||||||
is_ground_content = false,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@ -211,5 +212,4 @@ minetest.register_node(":bushes:basket_empty", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = { dig_immediate = 3 },
|
groups = { dig_immediate = 3 },
|
||||||
is_ground_content = false,
|
|
||||||
})
|
})
|
||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 8.9 KiB |
@ -1,6 +1,8 @@
|
|||||||
-- support for i18n
|
-- support for i18n
|
||||||
local S = minetest.get_translator("cavestuff")
|
local S = minetest.get_translator("cavestuff")
|
||||||
|
|
||||||
|
local random = math.random
|
||||||
|
|
||||||
--Rocks
|
--Rocks
|
||||||
|
|
||||||
local cbox = {
|
local cbox = {
|
||||||
@ -15,12 +17,12 @@ minetest.register_node("cavestuff:pebble_1",{
|
|||||||
tiles = {"undergrowth_pebble.png"},
|
tiles = {"undergrowth_pebble.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=3, stone=1, attached_node=1, dig_immediate=3},
|
groups = {cracky=3, stone=1, attached_node=1},
|
||||||
selection_box = cbox,
|
selection_box = cbox,
|
||||||
collision_box = cbox,
|
collision_box = cbox,
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
-- place a random pebble node
|
-- place a random pebble node
|
||||||
local stack = ItemStack("cavestuff:pebble_"..math.random(1,2))
|
local stack = ItemStack("cavestuff:pebble_"..random(1,2))
|
||||||
local ret = minetest.item_place(stack, placer, pointed_thing)
|
local ret = minetest.item_place(stack, placer, pointed_thing)
|
||||||
return ItemStack("cavestuff:pebble_1 "..itemstack:get_count()-(1-ret:get_count()))
|
return ItemStack("cavestuff:pebble_1 "..itemstack:get_count()-(1-ret:get_count()))
|
||||||
end,
|
end,
|
||||||
@ -34,7 +36,7 @@ minetest.register_node("cavestuff:pebble_2",{
|
|||||||
drop = "cavestuff:pebble_1",
|
drop = "cavestuff:pebble_1",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1, dig_immediate=3},
|
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1},
|
||||||
selection_box = cbox,
|
selection_box = cbox,
|
||||||
collision_box = cbox,
|
collision_box = cbox,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
@ -47,12 +49,12 @@ minetest.register_node("cavestuff:desert_pebble_1",{
|
|||||||
tiles = {"default_desert_stone.png"},
|
tiles = {"default_desert_stone.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=3, stone=1, attached_node=1, dig_immediate=3},
|
groups = {cracky=3, stone=1, attached_node=1},
|
||||||
selection_box = cbox,
|
selection_box = cbox,
|
||||||
collision_box = cbox,
|
collision_box = cbox,
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
-- place a random pebble node
|
-- place a random pebble node
|
||||||
local stack = ItemStack("cavestuff:desert_pebble_"..math.random(1,2))
|
local stack = ItemStack("cavestuff:desert_pebble_"..random(1,2))
|
||||||
local ret = minetest.item_place(stack, placer, pointed_thing)
|
local ret = minetest.item_place(stack, placer, pointed_thing)
|
||||||
return ItemStack("cavestuff:desert_pebble_1 "..itemstack:get_count()-(1-ret:get_count()))
|
return ItemStack("cavestuff:desert_pebble_1 "..itemstack:get_count()-(1-ret:get_count()))
|
||||||
end,
|
end,
|
||||||
@ -66,7 +68,7 @@ minetest.register_node("cavestuff:desert_pebble_2",{
|
|||||||
tiles = {"default_desert_stone.png"},
|
tiles = {"default_desert_stone.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1, dig_immediate=3},
|
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1},
|
||||||
selection_box = cbox,
|
selection_box = cbox,
|
||||||
collision_box = cbox,
|
collision_box = cbox,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
@ -78,7 +80,6 @@ minetest.register_node("cavestuff:stalactite_1",{
|
|||||||
drawtype="nodebox",
|
drawtype="nodebox",
|
||||||
tiles = {"undergrowth_pebble.png"},
|
tiles = {"undergrowth_pebble.png"},
|
||||||
groups = {cracky=3,attached_node=1},
|
groups = {cracky=3,attached_node=1},
|
||||||
is_ground_content = false,
|
|
||||||
description = S("Stalactite"),
|
description = S("Stalactite"),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -125,7 +126,6 @@ minetest.register_node("cavestuff:stalactite_2",{
|
|||||||
drawtype="nodebox",
|
drawtype="nodebox",
|
||||||
tiles = {"undergrowth_pebble.png"},
|
tiles = {"undergrowth_pebble.png"},
|
||||||
groups = {cracky=3,attached_node=1,not_in_creative_inventory=1},
|
groups = {cracky=3,attached_node=1,not_in_creative_inventory=1},
|
||||||
is_ground_content = false,
|
|
||||||
drop = "cavestuff:stalactite_1",
|
drop = "cavestuff:stalactite_1",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
@ -144,7 +144,6 @@ minetest.register_node("cavestuff:stalactite_3",{
|
|||||||
drawtype="nodebox",
|
drawtype="nodebox",
|
||||||
tiles = {"undergrowth_pebble.png"},
|
tiles = {"undergrowth_pebble.png"},
|
||||||
groups = {cracky=3,attached_node=1,not_in_creative_inventory=1},
|
groups = {cracky=3,attached_node=1,not_in_creative_inventory=1},
|
||||||
is_ground_content = false,
|
|
||||||
drop = "cavestuff:stalactite_1",
|
drop = "cavestuff:stalactite_1",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
@ -119,7 +119,6 @@ minetest.register_node("dryplants:grass", {
|
|||||||
fixed = {-0.5 , -0.5 , -0.5 , 0.5 , -0.4375, 0.5 },
|
fixed = {-0.5 , -0.5 , -0.5 , 0.5 , -0.4375, 0.5 },
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -152,7 +151,6 @@ minetest.register_node("dryplants:hay", {
|
|||||||
fixed = {-0.5 , -0.5 , -0.5 , 0.5 , -0.4375, 0.5 },
|
fixed = {-0.5 , -0.5 , -0.5 , 0.5 , -0.4375, 0.5 },
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -44,7 +44,6 @@ minetest.register_node("dryplants:wetreed_slab", {
|
|||||||
fixed = {-1/2, -1/2, -1/2, 1/2, 0, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, 0, 1/2},
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -73,7 +72,6 @@ minetest.register_node("dryplants:wetreed_roof", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -196,7 +194,6 @@ minetest.register_node("dryplants:wetreed_roof_corner", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -227,7 +224,6 @@ minetest.register_node("dryplants:wetreed_roof_corner_2", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -267,7 +263,6 @@ minetest.register_node("dryplants:reed", {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
tiles = {"dryplants_reed.png"},
|
tiles = {"dryplants_reed.png"},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -289,7 +284,6 @@ minetest.register_node("dryplants:reed_slab", {
|
|||||||
fixed = {-1/2, -1/2, -1/2, 1/2, 0, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, 0, 1/2},
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -318,7 +312,6 @@ minetest.register_node("dryplants:reed_roof", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -349,7 +342,6 @@ minetest.register_node("dryplants:reed_roof_corner", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -380,6 +372,5 @@ minetest.register_node("dryplants:reed_roof_corner_2", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
@ -88,7 +88,6 @@ minetest.register_node("dryplants:reedmace_spikes", {
|
|||||||
flammable=2,
|
flammable=2,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -111,7 +110,6 @@ minetest.register_node("dryplants:reedmace_top", {
|
|||||||
flammable=2,
|
flammable=2,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -135,7 +133,6 @@ minetest.register_node("dryplants:reedmace_height_2", {
|
|||||||
flammable=2--,
|
flammable=2--,
|
||||||
--not_in_creative_inventory=1
|
--not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -159,7 +156,6 @@ minetest.register_node("dryplants:reedmace_height_3", {
|
|||||||
flammable=2--,
|
flammable=2--,
|
||||||
--not_in_creative_inventory=1
|
--not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -183,7 +179,6 @@ minetest.register_node("dryplants:reedmace_height_3_spikes", {
|
|||||||
flammable=2--,
|
flammable=2--,
|
||||||
--not_in_creative_inventory=1
|
--not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -206,7 +201,6 @@ minetest.register_node("dryplants:reedmace", {
|
|||||||
flammable=2,
|
flammable=2,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -237,7 +231,6 @@ minetest.register_node("dryplants:reedmace_bottom", {
|
|||||||
flammable=2,
|
flammable=2,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = 'dryplants:reedmace_sapling',
|
drop = 'dryplants:reedmace_sapling',
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
BIN
dryplants/textures/not_in_use/big_pic_8.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
dryplants/textures/not_in_use/big_pic_9.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
dryplants/textures/not_in_use/dryplants_cattailsG_m2.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
dryplants/textures/not_in_use/dryplants_juncus_02_left.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
dryplants/textures/not_in_use/dryplants_juncus_02_right.png
Normal file
After Width: | Height: | Size: 393 B |
BIN
dryplants/textures/not_in_use/dryplants_juncus_02_whole2.png
Normal file
After Width: | Height: | Size: 621 B |
BIN
dryplants/textures/not_in_use/dryplants_juncus_03_left.png
Normal file
After Width: | Height: | Size: 414 B |
BIN
dryplants/textures/not_in_use/dryplants_juncus_03_right.png
Normal file
After Width: | Height: | Size: 387 B |
BIN
dryplants/textures/not_in_use/dryplants_juncus_03_whole2.png
Normal file
After Width: | Height: | Size: 665 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_01.png
Normal file
After Width: | Height: | Size: 362 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_02.png
Normal file
After Width: | Height: | Size: 708 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_03.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_04.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_bottom_left.png
Normal file
After Width: | Height: | Size: 122 B |
After Width: | Height: | Size: 189 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_left.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_right.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_top_left.png
Normal file
After Width: | Height: | Size: 102 B |
BIN
dryplants/textures/not_in_use/dryplants_reedmace_top_right.png
Normal file
After Width: | Height: | Size: 147 B |
BIN
dryplants/textures/not_in_use/reedmace2.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
dryplants/textures/not_in_use/reedmace3.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
dryplants/textures/not_in_use/reedmace4.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
dryplants/textures/not_in_use/reedtest.png
Normal file
After Width: | Height: | Size: 333 B |
BIN
dryplants/textures/not_in_use/texturing.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
dryplants/textures/old/dryplants_grass_short_old3.png
Normal file
After Width: | Height: | Size: 823 B |
BIN
dryplants/textures/old/dryplants_grass_short_old4.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
dryplants/textures/old/dryplants_juncus_02_left_old.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
dryplants/textures/old/dryplants_juncus_02_right_old.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
dryplants/textures/old/dryplants_juncus_03_left_old.png
Normal file
After Width: | Height: | Size: 414 B |
BIN
dryplants/textures/old/dryplants_juncus_03_right_old.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
dryplants/textures/old/dryplants_reedmace_bottom_left_old2.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
dryplants/textures/old/dryplants_reedmace_bottom_old4.png
Normal file
After Width: | Height: | Size: 734 B |
BIN
dryplants/textures/old/dryplants_reedmace_bottom_right_old2.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
dryplants/textures/old/dryplants_reedmace_left_old2.png
Normal file
After Width: | Height: | Size: 191 B |
BIN
dryplants/textures/old/dryplants_reedmace_old8.png
Normal file
After Width: | Height: | Size: 698 B |
BIN
dryplants/textures/old/dryplants_reedmace_right_old2.png
Normal file
After Width: | Height: | Size: 200 B |
BIN
dryplants/textures/old/dryplants_reedmace_spikes_old3.png
Normal file
After Width: | Height: | Size: 556 B |
BIN
dryplants/textures/old/dryplants_reedmace_top_left_old2.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
dryplants/textures/old/dryplants_reedmace_top_old3.png
Normal file
After Width: | Height: | Size: 404 B |
BIN
dryplants/textures/old/dryplants_reedmace_top_right_old2.png
Normal file
After Width: | Height: | Size: 120 B |
BIN
dryplants/textures/old/dryplants_reedmace_water_old2.png
Normal file
After Width: | Height: | Size: 569 B |
@ -138,7 +138,6 @@ minetest.register_node("ferns:tree_fern_leaves_giant", {
|
|||||||
attached_node=1,
|
attached_node=1,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 2,
|
max_items = 2,
|
||||||
items = {
|
items = {
|
||||||
@ -180,7 +179,6 @@ minetest.register_node("ferns:tree_fern_leave_big", {
|
|||||||
attached_node=1,
|
attached_node=1,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
drop = "",
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
after_destruct = function(pos,oldnode)
|
after_destruct = function(pos,oldnode)
|
||||||
@ -219,7 +217,6 @@ minetest.register_node("ferns:tree_fern_leave_big_end", {
|
|||||||
attached_node=1,
|
attached_node=1,
|
||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
drop = "",
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
@ -258,7 +255,6 @@ minetest.register_node("ferns:fern_trunk_big_top", {
|
|||||||
not_in_creative_inventory=1,
|
not_in_creative_inventory=1,
|
||||||
leafdecay=3 -- to support vines
|
leafdecay=3 -- to support vines
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
|
||||||
drop = "ferns:fern_trunk_big",
|
drop = "ferns:fern_trunk_big",
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
@ -285,15 +281,17 @@ minetest.register_node("ferns:fern_trunk_big", {
|
|||||||
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
||||||
},
|
},
|
||||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
groups = {tree=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||||
is_ground_content = false,
|
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
after_destruct = function(pos,oldnode)
|
after_dig_node = function(pos, node, metadata, digger)
|
||||||
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
if digger == nil then return end
|
||||||
if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then
|
local np = {x=pos.x,y=pos.y+1,z=pos.z}
|
||||||
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
|
local nn = minetest.get_node(np)
|
||||||
minetest.add_item(pos,"ferns:fern_trunk_big")
|
if nn.name == "ferns:fern_trunk_big" or
|
||||||
end
|
nn.name == "ferns:fern_trunk_big_top"
|
||||||
end,
|
then
|
||||||
|
minetest.node_dig(np, nn, digger)
|
||||||
|
end
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 765 B |
BIN
ferns/textures/not_in_use/archaeplantae_horsetails.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
ferns/textures/not_in_use/big picture 3.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
ferns/textures/not_in_use/ferns_fern_big_left.png
Normal file
After Width: | Height: | Size: 640 B |
BIN
ferns/textures/not_in_use/ferns_fern_big_right.png
Normal file
After Width: | Height: | Size: 623 B |
BIN
ferns/textures/not_in_use/ferns_fern_mid_left.png
Normal file
After Width: | Height: | Size: 393 B |
BIN
ferns/textures/not_in_use/ferns_fern_mid_right.png
Normal file
After Width: | Height: | Size: 414 B |
BIN
ferns/textures/not_in_use/ferns_fern_tree_bl.png
Normal file
After Width: | Height: | Size: 554 B |
BIN
ferns/textures/not_in_use/ferns_fern_tree_br.png
Normal file
After Width: | Height: | Size: 544 B |
BIN
ferns/textures/not_in_use/ferns_fern_trunk_big_crown.png
Normal file
After Width: | Height: | Size: 681 B |
BIN
ferns/textures/old/archaeplantae_fern_old4.png
Normal file
After Width: | Height: | Size: 368 B |
BIN
ferns/textures/old/comb.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
ferns/textures/old/ferns_5_old.png
Normal file
After Width: | Height: | Size: 461 B |
BIN
ferns/textures/old/ferns_6_old.png
Normal file
After Width: | Height: | Size: 700 B |
BIN
ferns/textures/old/ferns_7_old.png
Normal file
After Width: | Height: | Size: 677 B |
BIN
ferns/textures/old/ferns_fern_big_old.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
ferns/textures/old/ferns_fern_mid_old.png
Normal file
After Width: | Height: | Size: 664 B |
BIN
ferns/textures/old/ferns_fern_tree_old.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
ferns/textures/old/ferns_fern_trunk_big_old2.png
Normal file
After Width: | Height: | Size: 669 B |
BIN
ferns/textures/old/ferns_fern_trunk_big_top_old.png
Normal file
After Width: | Height: | Size: 814 B |
BIN
ferns/textures/old/ferns_fern_trunk_big_top_old2.png
Normal file
After Width: | Height: | Size: 714 B |
BIN
ferns/textures/old/ferns_fern_trunk_top_old.png
Normal file
After Width: | Height: | Size: 230 B |