2018-04-23 04:16:20 +02:00
|
|
|
-- internationalization boilerplate
|
|
|
|
local MP = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
local S, NS = dofile(MP.."/intllib.lua")
|
|
|
|
|
|
|
|
minetest.register_alias("subterrane:dry_stal_1", "dfcaverns:dry_stal_1")
|
|
|
|
minetest.register_alias("subterrane:dry_stal_1", "dfcaverns:dry_stal_1")
|
|
|
|
minetest.register_alias("subterrane:dry_stal_1", "dfcaverns:dry_stal_1")
|
|
|
|
minetest.register_alias("subterrane:dry_stal_1", "dfcaverns:dry_stal_1")
|
|
|
|
minetest.register_alias("subterrane:wet_stal_1", "dfcaverns:wet_stal_1")
|
|
|
|
minetest.register_alias("subterrane:wet_stal_1", "dfcaverns:wet_stal_1")
|
|
|
|
minetest.register_alias("subterrane:wet_stal_1", "dfcaverns:wet_stal_1")
|
|
|
|
minetest.register_alias("subterrane:wet_stal_1", "dfcaverns:wet_stal_1")
|
|
|
|
minetest.register_alias("subterrane:wet_flowstone", "dfcaverns:wet_flowstone")
|
|
|
|
minetest.register_alias("subterrane:dry_flowstone", "dfcaverns:dry_flowstone")
|
|
|
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2018-05-25 03:37:12 +02:00
|
|
|
dfcaverns.dry_stalagmite_ids = subterrane.register_stalagmite_nodes("dfcaverns:dry_stal", {
|
2018-04-23 04:16:20 +02:00
|
|
|
description = S("Dry Dripstone"),
|
2018-05-21 21:23:25 +02:00
|
|
|
_doc_items_longdesc = dfcaverns.doc.dripstone_desc,
|
|
|
|
_doc_items_usagehelp = dfcaverns.doc.dripstone_usage,
|
2018-04-23 04:16:20 +02:00
|
|
|
tiles = {
|
|
|
|
"default_stone.png^[brighten",
|
|
|
|
},
|
|
|
|
groups = {cracky = 3, stone = 2},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("dfcaverns:dry_flowstone", {
|
|
|
|
description = S("Dry Flowstone"),
|
2018-05-21 21:23:25 +02:00
|
|
|
_doc_items_longdesc = dfcaverns.doc.flowstone_desc,
|
|
|
|
_doc_items_usagehelp = dfcaverns.doc.flowstone_usage,
|
2018-04-23 04:16:20 +02:00
|
|
|
tiles = {"default_stone.png^[brighten"},
|
|
|
|
groups = {cracky = 3, stone = 1},
|
|
|
|
is_ground_content = true,
|
|
|
|
drop = 'default:cobble',
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2018-05-25 03:37:12 +02:00
|
|
|
dfcaverns.wet_stalagmite_ids = subterrane.register_stalagmite_nodes("dfcaverns:wet_stal", {
|
2018-05-21 21:23:25 +02:00
|
|
|
description = S("Wet Dripstone"),
|
|
|
|
_doc_items_longdesc = dfcaverns.doc.dripstone_desc,
|
|
|
|
_doc_items_usagehelp = dfcaverns.doc.dripstone_usage,
|
2018-04-23 04:16:20 +02:00
|
|
|
tiles = {
|
|
|
|
"default_stone.png^[brighten^dfcaverns_dripstone_streaks.png",
|
|
|
|
},
|
|
|
|
groups = {cracky = 3, stone = 2, subterrane_wet_dripstone = 1},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
}, "dfcaverns:dry_stal")
|
|
|
|
|
|
|
|
|
|
|
|
minetest.register_node("dfcaverns:wet_flowstone", {
|
|
|
|
description = S("Wet Flowstone"),
|
2018-05-21 21:23:25 +02:00
|
|
|
_doc_items_longdesc = dfcaverns.doc.flowstone_desc,
|
|
|
|
_doc_items_usagehelp = dfcaverns.doc.flowstone_usage,
|
2018-04-23 04:16:20 +02:00
|
|
|
tiles = {"default_stone.png^[brighten^dfcaverns_dripstone_streaks.png"},
|
|
|
|
groups = {cracky = 3, stone = 1, subterrane_wet_dripstone = 1},
|
|
|
|
is_ground_content = true,
|
|
|
|
drop = 'default:cobble',
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2018-05-25 03:37:12 +02:00
|
|
|
dfcaverns.icicle_ids = subterrane.register_stalagmite_nodes("dfcaverns:icicle", {
|
2018-04-23 04:16:20 +02:00
|
|
|
description = S("Icicle"),
|
2018-05-21 21:23:25 +02:00
|
|
|
_doc_items_longdesc = dfcaverns.doc.icicle_desc,
|
|
|
|
_doc_items_usagehelp = dfcaverns.doc.icicle_usage,
|
2018-04-23 04:16:20 +02:00
|
|
|
tiles = {
|
|
|
|
"default_ice.png",
|
|
|
|
},
|
|
|
|
groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|