This commit is contained in:
D00Med 2017-07-29 08:04:49 +10:00
parent 09efe30931
commit 9617c59087
2 changed files with 76 additions and 6 deletions

View File

@ -132,6 +132,76 @@ minetest.register_node("decoblocks:moss_stonebrick", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("decoblocks:pillar2_base", {
description = "Stone Pillar Base",
tiles = {
"default_stone.png",
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=1},
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.375, 0.25, 0.5, 0.375}, -- NodeBox1
{-0.375, -0.5, -0.25, 0.375, 0.5, 0.25}, -- NodeBox2
{0.125, -0.5, -0.5, 0.5, -0.1875, -0.125}, -- NodeBox3
{0.125, -0.5, 0.125, 0.5, -0.1875, 0.5}, -- NodeBox4
{-0.5, -0.5, 0.125, -0.125, -0.1875, 0.5}, -- NodeBox5
{-0.5, -0.5, -0.5, -0.125, -0.1875, -0.125}, -- NodeBox6
{-0.4375, -0.5, -0.4375, 0.4375, -0.375, 0.4375}, -- NodeBox7
}
},
on_place = minetest.rotate_node
})
minetest.register_node("decoblocks:pillar2", {
description = "Stone Pillar",
tiles = {
"default_stone.png",
},
drawtype = "nodebox",
paramtype = "light",
groups = {cracky=1},
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.375, 0.25, 0.5, 0.375}, -- NodeBox1
{-0.375, -0.5, -0.25, 0.375, 0.5, 0.25}, -- NodeBox2
}
}
})
minetest.register_node("decoblocks:quartz_arch", {
tiles = {
"default_wood.png",
"default_wood.png",
"default_wood.png",
"default_wood.png",
"default_wood.png",
"default_wood.png"
},
drawtype = "nodebox",
paramtype = "light",
node_box = {
type = "fixed",
fixed = {
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5}, -- NodeBox1
{-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5}, -- NodeBox2
{-0.5, -0.3125, 0.375, 0.5, 0.4375, 0.4375}, -- NodeBox3
{-0.5, 0.375, -0.3125, 0.5, 0.4375, 0.375}, -- NodeBox4
{-0.5, -0.125, 0.3125, 0.5, 0.375, 0.375}, -- NodeBox5
{-0.5, 0.3125, -0.125, 0.5, 0.375, 0.3125}, -- NodeBox6
{-0.5, 0, 0.25, 0.5, 0.3125, 0.3125}, -- NodeBox7
{-0.5, 0.25, 0, 0.5, 0.3125, 0.25}, -- NodeBox8
{-0.5, 0.0625, 0.1875, 0.5, 0.25, 0.25}, -- NodeBox9
{-0.5, 0.1875, 0.0625, 0.5, 0.25, 0.1875}, -- NodeBox10
{-0.5, 0.125, 0.125, 0.5, 0.1875, 0.1875}, -- NodeBox11
}
}
})
minetest.register_node("decoblocks:scarecrow", {
description = "Scarecrow",
drawtype = "mesh",

View File

@ -6,7 +6,7 @@ minetest.register_node("fruit:leaves_with_mango", {
"default_jungleleaves.png^fruit_mango_leaves.png",
},
paramtype = "light",
groups = {snappy=1, oddly_breakeable_by_hand=1, not_in_creative_inventory=1},
groups = {snappy=1, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
drop = "default:jungleleaves",
on_destruct = function(pos)
minetest.add_item(pos, "fruit:mango")
@ -21,7 +21,7 @@ minetest.register_node("fruit:leaves_with_berry", {
"default_leaves_simple.png^fruit_berry_leaves.png",
},
paramtype = "light",
groups = {snappy=1, oddly_breakeable_by_hand=1, not_in_creative_inventory=1},
groups = {snappy=1, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
drop = "default:bush_leaves",
on_destruct = function(pos)
minetest.add_item(pos, "fruit:berry")
@ -36,7 +36,7 @@ minetest.register_node("fruit:leaves_with_pear", {
"default_leaves.png^fruit_pear_leaves.png",
},
paramtype = "light",
groups = {snappy=1, oddly_breakeable_by_hand=1, not_in_creative_inventory=1},
groups = {snappy=1, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
drop = "default:leaves",
on_destruct = function(pos)
minetest.add_item(pos, "fruit:pear")
@ -51,7 +51,7 @@ minetest.register_node("fruit:leaves_with_plum", {
"default_leaves.png^fruit_plum_leaves.png",
},
paramtype = "light",
groups = {snappy=1, oddly_breakeable_by_hand=1, not_in_creative_inventory=1},
groups = {snappy=1, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
drop = "default:leaves",
on_destruct = function(pos)
minetest.add_item(pos, "fruit:plum")
@ -66,7 +66,7 @@ minetest.register_node("fruit:leaves_with_peach", {
"default_leaves.png^fruit_peach_leaves.png",
},
paramtype = "light",
groups = {snappy=1, oddly_breakeable_by_hand=1, not_in_creative_inventory=1},
groups = {snappy=1, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
drop = "default:leaves",
on_destruct = function(pos)
minetest.add_item(pos, "fruit:peach")
@ -81,7 +81,7 @@ minetest.register_node("fruit:leaves_with_orange", {
"default_acacia_leaves.png^fruit_orange_leaves.png",
},
paramtype = "light",
groups = {snappy=1, oddly_breakeable_by_hand=1, not_in_creative_inventory=1},
groups = {snappy=1, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
drop = "default:acacia_leaves",
on_destruct = function(pos)
minetest.add_item(pos, "fruit:orange")