mirror of
https://gitlab.com/4w/void.git
synced 2025-07-19 08:50:21 +02:00
Initial commit
This commit is contained in:
29
mods/void_essential/init.lua
Normal file
29
mods/void_essential/init.lua
Normal 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')
|
1
mods/void_essential/mod.conf
Normal file
1
mods/void_essential/mod.conf
Normal file
@ -0,0 +1 @@
|
||||
name = void_essential
|
Binary file not shown.
After Width: | Height: | Size: 93 B |
BIN
mods/void_essential/textures/void_essential_stone.png
Normal file
BIN
mods/void_essential/textures/void_essential_stone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 B |
BIN
mods/void_essential/textures/void_essential_water_source.png
Normal file
BIN
mods/void_essential/textures/void_essential_water_source.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 B |
29
mods/void_hand/init.lua
Normal file
29
mods/void_hand/init.lua
Normal 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
1
mods/void_hand/mod.conf
Normal file
@ -0,0 +1 @@
|
||||
name = void_hand
|
BIN
mods/void_hand/textures/void_hand_hand.png
Normal file
BIN
mods/void_hand/textures/void_hand_hand.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 90 B |
Reference in New Issue
Block a user