1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

[snow] Remove saplings

- Fix #344
This commit is contained in:
LeMagnesium 2015-12-23 19:59:08 +01:00
parent 9e31c3c23c
commit d96545da57

View File

@ -13,11 +13,6 @@ local nodedef = {
drop = { drop = {
max_items = 1, max_items = 1,
items = { items = {
{
-- player will get sapling with 1/20 chance
items = {'snow:sapling_pine'},
rarity = 20,
},
{ {
items = {'snow:needles'}, items = {'snow:needles'},
} }
@ -32,7 +27,7 @@ If christmas_content is enabled, then this next part will override the pine need
The Xmas tree needles are registred and defined a farther down in this nodes.lua file. The Xmas tree needles are registred and defined a farther down in this nodes.lua file.
~ LazyJ ~ LazyJ
]]
if snow.christmas_content then if snow.christmas_content then
table.insert(nodedef.drop.items, 1, { table.insert(nodedef.drop.items, 1, {
-- player will get xmas tree with 1/120 chance -- player will get xmas tree with 1/120 chance
@ -40,7 +35,7 @@ if snow.christmas_content then
rarity = 120, rarity = 120,
}) })
end end
]]
minetest.register_node("snow:needles", table.copy(nodedef)) minetest.register_node("snow:needles", table.copy(nodedef))
@ -75,7 +70,7 @@ nodedef.drop.items[#nodedef.drop.items] = {items = {'snow:needles_decorated'}}
minetest.register_node("snow:needles_decorated", nodedef) minetest.register_node("snow:needles_decorated", nodedef)
-- Saplings --[[ Saplings
nodedef = { nodedef = {
description = "Pine Sapling", description = "Pine Sapling",
@ -101,7 +96,7 @@ nodedef.inventory_image = "snow_xmas_tree.png"
nodedef.wield_image = "snow_xmas_tree.png" nodedef.wield_image = "snow_xmas_tree.png"
minetest.register_node("snow:xmas_tree", nodedef) minetest.register_node("snow:xmas_tree", nodedef)
]]
nodedef = { nodedef = {
description = "Star", description = "Star",