mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-29 20:57:31 +01:00
Minor improvements
This commit is contained in:
parent
6dd8cecc71
commit
56e98ca528
@ -322,9 +322,8 @@ function minetest.handle_node_drops(pos, drops, digger)
|
||||
local hammer = tooldef.groups.hammer
|
||||
if hammer and hammer > 0 and nodedef._vl_crushing_drop then
|
||||
drops = nodedef._vl_crushing_drop
|
||||
end
|
||||
|
||||
if tool and nodedef._mcl_fortune_drop and enchantments.fortune then
|
||||
-- Fortune drops
|
||||
else if tool and nodedef._mcl_fortune_drop and enchantments.fortune then
|
||||
local fortune_level = enchantments.fortune
|
||||
local fortune_drop = nodedef._mcl_fortune_drop
|
||||
local simple_drop = nodedef._mcl_fortune_drop.drop_without_fortune
|
||||
|
@ -563,6 +563,7 @@ minetest.register_node("mcl_core:gravel", {
|
||||
},
|
||||
[3] = "mcl_core:flint",
|
||||
},
|
||||
_vl_crushing_drops = { "mcl_core:greysand" },
|
||||
})
|
||||
|
||||
-- sandstone --
|
||||
@ -590,6 +591,7 @@ minetest.register_node("mcl_core:sandstone", {
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 0.8,
|
||||
_mcl_hardness = 0.8,
|
||||
_vl_crushing_drops = { "mcl_core:sand" },
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_core:sandstonesmooth", {
|
||||
@ -653,6 +655,7 @@ minetest.register_node("mcl_core:redsandstone", {
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 0.8,
|
||||
_mcl_hardness = 0.8,
|
||||
_vl_crushing_drops = { "mcl_core:redsand" },
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_core:redsandstonesmooth", {
|
||||
|
@ -24,7 +24,8 @@ local pickaxe_longdesc = S("Pickaxes are mining tools to mine hard blocks, such
|
||||
local axe_longdesc = S("An axe is your tool of choice to cut down trees, wood-based blocks and other blocks. Axes deal a lot of damage as well, but they are rather slow.")
|
||||
|
||||
local sword_longdesc = S("Swords are great in melee combat, as they are fast, deal high damage and can endure countless battles. Swords can also be used to cut down a few particular blocks, such as cobwebs.")
|
||||
local sword_use = S("To slash multiple enemies, hold the sword in your hand, then use (rightclick) an enemy.")
|
||||
-- local sword_use = S("To slash multiple enemies, hold the sword in your hand, then use (rightclick) an enemy.")
|
||||
-- TODO slash attack not implemented yet
|
||||
|
||||
local shovel_longdesc = S("Shovels are tools for digging coarse blocks, such as dirt, sand and gravel. They can also be used to turn grass blocks to grass paths. Shovels can be used as weapons, but they are very weak.")
|
||||
local shovel_use = S("To turn a grass block into a grass path, hold the shovel in your hand, then use (rightclick) the top or side of a grass block. This only works when there's air above the grass block.")
|
||||
|
@ -1,3 +1,3 @@
|
||||
name = vl_weaponry
|
||||
author = Herowl
|
||||
depends = mcl_sounds, mcl_init, mcl_bows
|
||||
depends = mcl_sounds, mcl_init, mcl_bows, vl_projectile
|
||||
|
Loading…
Reference in New Issue
Block a user