mirror of
https://gitlab.com/h2mm/cave_explorer.git
synced 2024-11-19 21:43:42 +01:00
27 lines
667 B
Lua
27 lines
667 B
Lua
--Hume2's Cave Explorer mod
|
|
|
|
minetest.register_node("cave_explorer:light", {
|
|
description = "Cave Light",
|
|
tiles = {"default_stone.png^cave_explorer_light.png"},
|
|
paramtype = "light",
|
|
is_ground_content = true,
|
|
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,
|
|
})
|
|
|
|
|