forked from Minetest/dripstone
Make hardened dripstone drop hardened spikes
parent
f9ff713bb5
commit
f6774858db
38
init.lua
38
init.lua
|
@ -254,7 +254,7 @@ minetest.register_node(watered_dripstone_block,
|
|||
}
|
||||
)
|
||||
|
||||
local function make_dripstone(name, desc, longdesc, tiles, size)
|
||||
local function make_dripstone(name, desc, longdesc, tiles, drop, size)
|
||||
minetest.register_node(name,
|
||||
{ description = desc
|
||||
, _doc_items_longdesc = longdesc
|
||||
|
@ -265,16 +265,16 @@ local function make_dripstone(name, desc, longdesc, tiles, size)
|
|||
max_items = math.floor((size + 1) / 2),
|
||||
items = {
|
||||
{ rarity = 1
|
||||
, items = { dry_dripstone_spike }
|
||||
, items = { drop }
|
||||
},
|
||||
{ rarity = 2
|
||||
, items = { dry_dripstone_spike }
|
||||
, items = { drop }
|
||||
},
|
||||
{ rarity = 4
|
||||
, items = { dry_dripstone_spike }
|
||||
, items = { drop }
|
||||
},
|
||||
{ rarity = 4
|
||||
, items = { dry_dripstone_spike }
|
||||
, items = { drop }
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -298,6 +298,7 @@ make_dripstone(
|
|||
"Huge dripstone",
|
||||
"Dripstone in the largest shape it can reach.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
7
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -305,6 +306,7 @@ make_dripstone(
|
|||
"Huge hardened dripstone",
|
||||
"Dripstone in the largest shape it can reach. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
7
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -312,6 +314,7 @@ make_dripstone(
|
|||
"Huge molten dripstone",
|
||||
"Dripstone in the largest shape it can reach. It has absorbed some lava, but it can no longer grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
7
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -319,6 +322,7 @@ make_dripstone(
|
|||
"Huge watered dripstone",
|
||||
"Dripstone in the largest shape it can reach. It has absorbed some water, but it can no longer grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
7
|
||||
)
|
||||
|
||||
|
@ -329,6 +333,7 @@ make_dripstone(
|
|||
"Large dripstone",
|
||||
"A thick layer of dripstone.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
6
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -336,6 +341,7 @@ make_dripstone(
|
|||
"Large hardened dripstone",
|
||||
"A thick layer of dripstone. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
6
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -343,6 +349,7 @@ make_dripstone(
|
|||
"Large molten dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some lava, so it is able to grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
6
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -350,6 +357,7 @@ make_dripstone(
|
|||
"Large watered dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some water, so it is able to grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
6
|
||||
)
|
||||
|
||||
|
@ -360,6 +368,7 @@ make_dripstone(
|
|||
"Great dripstone",
|
||||
"A thick layer of dripstone.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
5
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -367,6 +376,7 @@ make_dripstone(
|
|||
"Great hardened dripstone",
|
||||
"A thick layer of dripstone. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
5
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -374,6 +384,7 @@ make_dripstone(
|
|||
"Great molten dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some lava, so it is able to grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
5
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -381,6 +392,7 @@ make_dripstone(
|
|||
"Great watered dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some water, so it is able to grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
5
|
||||
)
|
||||
|
||||
|
@ -391,6 +403,7 @@ make_dripstone(
|
|||
"Medium dripstone",
|
||||
"A thick layer of dripstone.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
4
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -398,6 +411,7 @@ make_dripstone(
|
|||
"Medium hardened dripstone",
|
||||
"A thick layer of dripstone. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
4
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -405,6 +419,7 @@ make_dripstone(
|
|||
"Medium molten dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some lava, so it is able to grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
4
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -412,6 +427,7 @@ make_dripstone(
|
|||
"Medium watered dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some water, so it is able to grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
4
|
||||
)
|
||||
|
||||
|
@ -422,6 +438,7 @@ make_dripstone(
|
|||
"Small dripstone",
|
||||
"A thick layer of dripstone.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
3
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -429,6 +446,7 @@ make_dripstone(
|
|||
"Small hardened dripstone",
|
||||
"A thick layer of dripstone. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
3
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -436,6 +454,7 @@ make_dripstone(
|
|||
"Small molten dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some lava, so it is able to grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
3
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -443,6 +462,7 @@ make_dripstone(
|
|||
"Small watered dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some water, so it is able to grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
3
|
||||
)
|
||||
|
||||
|
@ -453,6 +473,7 @@ make_dripstone(
|
|||
"Tiny dripstone",
|
||||
"A thick layer of dripstone.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
2
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -460,6 +481,7 @@ make_dripstone(
|
|||
"Tiny hardened dripstone",
|
||||
"A thick layer of dripstone. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
2
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -467,6 +489,7 @@ make_dripstone(
|
|||
"Tiny molten dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some lava, so it is able to grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
2
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -474,6 +497,7 @@ make_dripstone(
|
|||
"Tiny watered dripstone",
|
||||
"A thick layer of dripstone. It has absorbed some water, so it is able to grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
2
|
||||
)
|
||||
|
||||
|
@ -484,6 +508,7 @@ make_dripstone(
|
|||
"Dripstone spike",
|
||||
"A thick layer of dripstone.",
|
||||
dry_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
1
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -491,6 +516,7 @@ make_dripstone(
|
|||
"Hardened dripstone spike",
|
||||
"A thick layer of dripstone. It is no longer able to grow or absorb liquids.",
|
||||
hardened_dripstone_tiles,
|
||||
hardened_dripstone_spike,
|
||||
1
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -498,6 +524,7 @@ make_dripstone(
|
|||
"Molten dripstone spike",
|
||||
"A thick layer of dripstone. It has absorbed some lava, so it is able to grow in thickness.",
|
||||
molten_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
1
|
||||
)
|
||||
make_dripstone(
|
||||
|
@ -505,6 +532,7 @@ make_dripstone(
|
|||
"Watered dripstone spike",
|
||||
"A thick layer of dripstone. It has absorbed some water, so it is able to grow in thickness.",
|
||||
watered_dripstone_tiles,
|
||||
dry_dripstone_spike,
|
||||
1
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue