mirror of
https://gitlab.com/h2mm/cave_explorer.git
synced 2025-01-17 08:57:29 +01:00
cave_explorer
This commit is contained in:
commit
783e2f8244
1
depends.txt
Normal file
1
depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
28
init.lua
Normal file
28
init.lua
Normal file
@ -0,0 +1,28 @@
|
||||
--Hume2's Cave Explorer mod
|
||||
|
||||
minetest.register_node("cave_explorer:light", {
|
||||
description = "Cave Light",
|
||||
--drawtype = "glasslike",
|
||||
tiles = {"default_stone.png^cave_explorer_light.png"},
|
||||
paramtype = "light",
|
||||
--sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
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,
|
||||
})
|
||||
|
||||
|
BIN
textures/cave_explorer_light.png
Normal file
BIN
textures/cave_explorer_light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 764 B |
Loading…
Reference in New Issue
Block a user