1
0
mirror of https://gitlab.com/4w/void.git synced 2025-07-19 08:50:21 +02:00

Initial commit

This commit is contained in:
Dirk Sohler
2020-08-25 19:36:40 +02:00
commit 6ea5a9526d
11 changed files with 140 additions and 0 deletions

View File

@ -0,0 +1,29 @@
local register_node = minetest.register_node
local register_alias = minetest.register_alias
register_node('void_essential:stone', {
description = 'Essential node for mapgen alias “mapgen_stone”',
tiles = { 'void_essential_stone.png' },
groups = { oddly_breakable_by_hand = 3 },
is_ground_content = true
})
register_node('void_essential:water_source', {
description = 'Essential node for mapgen alias “mapgen_water_source”',
tiles = { 'void_essential_water_source.png' },
groups = { oddly_breakable_by_hand = 3 },
is_ground_content = true
})
register_node('void_essential:river_water_source', {
description = 'Essential node for mapgen alias “mapgen_river_water_source”',
tiles = { 'void_essential_river_water_source.png' },
groups = { oddly_breakable_by_hand = 3 },
is_ground_content = true
})
register_alias('mapgen_stone', 'void_essential:stone')
register_alias('mapgen_water_source', 'void_essential:water_source')
register_alias('mapgen_river_water_source', 'void_essential:river_water_source')

View File

@ -0,0 +1 @@
name = void_essential

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

29
mods/void_hand/init.lua Normal file
View File

@ -0,0 +1,29 @@
local register_item = minetest.register_item
register_item(':', {
type = 'none',
wield_image = 'void_hand_hand.png',
wield_scale = {x = 0.5, y = 1, z = 4},
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level = 0,
groupcaps = {
crumbly = {
times = {[2] = 3.00, [3] = 0.70},
uses = 0,
maxlevel = 1,
},
snappy = {
times = {[3] = 0.40},
uses = 0,
maxlevel = 1,
},
oddly_breakable_by_hand = {
times = {[1] = 3.50, [2] = 2.00, [3] = 0.70},
uses = 0,
},
},
damage_groups = {fleshy = 1},
}
})

1
mods/void_hand/mod.conf Normal file
View File

@ -0,0 +1 @@
name = void_hand

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B