Merge pull request #3 from jordan4ibanez/master
Adding in some shears and other way to craft axes
This commit is contained in:
commit
cf1e462d89
@ -36,6 +36,17 @@ minetest.register_item(":", {
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_tool("default:shears", {
|
||||
description = "Shears",
|
||||
inventory_image = "shears.png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=0,
|
||||
groupcaps={
|
||||
leafy={times={[1]=0.00}, uses=150, maxlevel=1}
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_tool("default:pick_wood", {
|
||||
description = "Wooden Pickaxe",
|
||||
inventory_image = "default_tool_woodpick.png",
|
||||
@ -225,6 +236,14 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:shears',
|
||||
recipe = {
|
||||
{'','default:steel_ingot'},
|
||||
{'default:steel_ingot',''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:pick_wood',
|
||||
recipe = {
|
||||
@ -287,7 +306,7 @@ minetest.register_craft({
|
||||
{'default:stick'},
|
||||
}
|
||||
})
|
||||
|
||||
--THIS IS /homee
|
||||
minetest.register_craft({
|
||||
output = 'default:axe_wood',
|
||||
recipe = {
|
||||
@ -297,6 +316,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:axe_wood',
|
||||
recipe = {
|
||||
{'', 'default:wood', 'default:wood'},
|
||||
{'', 'default:stick', 'default:wood'},
|
||||
{'', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:axe_stone',
|
||||
recipe = {
|
||||
@ -306,6 +334,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:axe_stone',
|
||||
recipe = {
|
||||
{'', 'default:cobble', 'default:cobble'},
|
||||
{'', 'default:stick', 'default:cobble'},
|
||||
{'', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:axe_steel',
|
||||
recipe = {
|
||||
@ -315,6 +352,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:axe_steel',
|
||||
recipe = {
|
||||
{'', 'default:steel_ingot', 'default:steel_ingot'},
|
||||
{'', 'default:stick', 'default:steel_ingot'},
|
||||
{'', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:sword_wood',
|
||||
recipe = {
|
||||
@ -871,7 +917,7 @@ minetest.register_node("default:junglegrass", {
|
||||
wield_image = "default_junglegrass.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=2},
|
||||
groups = {snappy=3,flammable=2,leafy=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
@ -881,7 +927,7 @@ minetest.register_node("default:leaves", {
|
||||
visual_scale = 1.3,
|
||||
tile_images = {"default_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy=3, leafdecay=3, flammable=2},
|
||||
groups = {snappy=3, leafdecay=3, flammable=2,leafy=1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -917,7 +963,7 @@ minetest.register_node("default:papyrus", {
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=2},
|
||||
groups = {snappy=3,flammable=2,leafy=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
@ -1310,7 +1356,7 @@ minetest.register_node("default:dry_shrub", {
|
||||
wield_image = "default_dry_shrub.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=3},
|
||||
groups = {snappy=3,flammable=2,leafy=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
BIN
games/minetest/mods/default/textures/shears.png
Normal file
BIN
games/minetest/mods/default/textures/shears.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 B |
Loading…
x
Reference in New Issue
Block a user