added sticks and twigs

This commit is contained in:
cale 2016-02-20 12:13:32 +01:00
parent 94c006d167
commit bdb6c217ae
11 changed files with 68 additions and 20 deletions

View File

@ -154,7 +154,7 @@ classes.register_weapon("spear",2, 12, {
recipe = {
{"", "default:flint", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -189,7 +189,7 @@ classes.register_weapon("hoe",2, 20, {
recipe = {
{"", "furnace:iron_rod", "default:blade"},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -202,7 +202,7 @@ classes.register_weapon("pitchfork",15, 30, {
recipe = {
{"furnace:iron_rod", "furnace:iron_rod", "furnace:iron_rod"},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -213,8 +213,8 @@ classes.register_weapon("stick",2, 30, {
damage = 9,
class = "thief",
recipe = {
{"", "default:log_3", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
})
@ -225,9 +225,9 @@ classes.register_weapon("long_stick",20, 60, {
damage = 20,
class = "thief",
recipe = {
{"", "default:log_3", ""},
{"", "default:log_3", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
})

View File

@ -42,6 +42,20 @@ minetest.register_node("default:workbench_v2", {
-- wood
minetest.register_craft({
output = "default:twig 3",
recipe = {
{"group:leaves"},
}
})
minetest.register_craft({
output = "default:stick",
recipe = {
{"default:twig"},
}
})
minetest.register_craft({
output = "default:wood 3",
recipe = {
@ -57,7 +71,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "default:wood",
output = "default:stick 4",
recipe = {
{"default:log_3"},
}
@ -71,6 +85,23 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:frame 2",
recipe = {
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
}
})
minetest.register_craft({
output = "default:ladder",
recipe = {
{"default:stick", "", "default:stick"},
{"default:string_strong", "default:stick", "default:string_strong"},
{"default:stick", "", "default:stick"},
}
})
-- stone
minetest.register_craft({
@ -155,7 +186,7 @@ minetest.register_craft({
recipe = {
{"", "default:log_1", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -164,7 +195,7 @@ minetest.register_craft({
recipe = {
{"", "default:stone_item", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -173,7 +204,7 @@ minetest.register_craft({
recipe = {
{"", "furnace:iron_plate", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -182,7 +213,7 @@ minetest.register_craft({
recipe = {
{"", "furnace:iron_rod", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})
@ -191,6 +222,6 @@ minetest.register_craft({
recipe = {
{"default:blade", "furnace:iron_plate", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})

View File

@ -44,6 +44,16 @@ minetest.register_craftitem("default:string_strong", {
inventory_image = "default_string_strong.png",
})
minetest.register_craftitem("default:stick", {
description = "Stick",
inventory_image = "default_stick.png",
})
minetest.register_craftitem("default:twig", {
description = "Twig",
inventory_image = "default_twig.png",
})
minetest.register_craftitem("default:coin", {
description = "Coin",
inventory_image = "default_coin.png",

View File

@ -61,6 +61,13 @@ minetest.register_node("default:leaves_1", {
groups = {crumbly = 3, leaves = 1},
walkable = false,
climbable = true,
drop = {
max_items = 1,
items = {
{items = {"default:sapling 2"},rarity = 3},
{items = {'default:leaves_1'}},
}
},
})
minetest.register_node("default:leaves_2", {
@ -501,8 +508,8 @@ minetest.register_node("default:straw", {
minetest.register_node("default:frame", {
description = "Frame",
tiles = {"default_frame.png"},
drawtype = "allfaces",
tiles = {"default_frame.png", "default_frame_detail.png"},
drawtype = "glasslike_framed_optional",
paramtype = "light",
groups = {choppy = 3},
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

View File

@ -19,9 +19,9 @@ minetest.register_craftitem("fishing:fishing_rod", {
minetest.register_craft({
output = "fishing:fishing_rod",
recipe = {
{"default:log_3", "default:string", ""},
{"default:log_3", "default:string", ""},
{"default:log_3", "default:string", ""},
{"default:stick", "default:string", ""},
{"default:stick", "default:string", ""},
{"default:stick", "default:string", ""},
}
})

View File

@ -60,6 +60,6 @@ minetest.register_craft({
recipe = {
{"", "default:coal_lump", ""},
{"", "default:string_strong", ""},
{"", "default:log_3", ""},
{"", "default:stick", ""},
}
})