2018-07-18 11:03:43 +02:00
|
|
|
--Hume2's Cave Explorer mod
|
|
|
|
|
|
|
|
minetest.register_node("cave_explorer:light", {
|
|
|
|
description = "Cave Light",
|
|
|
|
tiles = {"default_stone.png^cave_explorer_light.png"},
|
|
|
|
paramtype = "light",
|
2018-07-23 17:49:17 +02:00
|
|
|
is_ground_content = true,
|
2018-07-18 11:03:43 +02:00
|
|
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
|
|
|
groups = {cracky = 3, stone = 1},
|
|
|
|
drop = 'default:cobble',
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
light_source = default.LIGHT_MAX,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "cave_explorer:light",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 3 * 3 * 3,
|
|
|
|
clust_num_ores = 5,
|
|
|
|
clust_size = 1,
|
|
|
|
y_min = -31000,
|
|
|
|
y_max = 31000,
|
|
|
|
})
|
|
|
|
|
|
|
|
|