update gitignore

This commit is contained in:
HybridDog 2014-05-12 19:53:01 +02:00
parent dc1e43eda8
commit 18eadc282a
2 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
## Generic ignorable patterns and files ## Generic ignorable patterns and files
*~ *~
.*.swp .*.swp
debug.txt

View File

@ -365,7 +365,8 @@ minetest.register_node(":default:apple", {
--Mushroom Nodes --Mushroom Nodes
local function pilz(name, desc, b) local function pilz(name, desc, b, burntime)
burntime = burntime or 1
local box = { local box = {
type = "fixed", type = "fixed",
fixed = b fixed = b
@ -381,7 +382,8 @@ local function pilz(name, desc, b)
groups = {snappy=3,flammable=2,attached_node=1}, groups = {snappy=3,flammable=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
node_box = box, node_box = box,
selection_box = box selection_box = box,
furnace_burntime = burntime
}) })
end end
@ -443,12 +445,12 @@ local mushrooms_list = {
{"fly_agaric", "Fly Agaric", BOX.FLY_AGARIC}, {"fly_agaric", "Fly Agaric", BOX.FLY_AGARIC},
{"lavashroom", "Lavashroom", BOX.LAVASHROOM}, {"lavashroom", "Lavashroom", BOX.LAVASHROOM},
{"glowshroom", "Glowshroom", BOX.GLOWSHROOM}, {"glowshroom", "Glowshroom", BOX.GLOWSHROOM},
{"nether_shroom", "Nether Mushroom", BOX.NETHER_SHROOM}, {"nether_shroom", "Nether Mushroom", BOX.NETHER_SHROOM, 6},
{"parasol", "Parasol Mushroom", BOX.PARASOL}, {"parasol", "Parasol Mushroom", BOX.PARASOL},
} }
for _,i in ipairs(mushrooms_list) do for _,i in ipairs(mushrooms_list) do
pilz(i[1], i[2], i[3]) pilz(i[1], i[2], i[3], i[4])
end end