gold tools and more stuff

This commit is contained in:
Toby plowy 2017-01-28 20:41:40 +01:00
parent 8868329819
commit f6fa11641e
28 changed files with 164 additions and 20 deletions

View File

@ -0,0 +1,16 @@
minetest.register_craft({
output = 'compactblocks:default_leaves',
recipe = {
{'default:leaves', 'default:leaves', 'default:leaves'},
{'default:leaves', 'default:leaves', 'default:leaves'},
{'default:leaves', 'default:leaves', 'default:leaves'},
}
})
minetest.register_craft({
output = "default:leaves 9",
recipe = {
{"compactblocks:default_leaves"},
}
})

View File

@ -0,0 +1 @@
all textures and models are made by tobyplowy(aka toby109tt) and code is by D00med and tobyplowy(aka toby109tt) please give credit if used!

View File

@ -0,0 +1 @@
default

View File

@ -0,0 +1,4 @@
local path = minetest.get_modpath("compactblocks")
dofile(path.."/nodes.lua")
dofile(path.."/crafts.lua")

View File

@ -0,0 +1,6 @@
minetest.register_node("compactblocks:default_leaves", {
description = "Compact Oak Leaves",
tiles = {"compactblocks_default_leaves_top.png", "compactblocks_default_leaves_top.png", "compactblocks_default_leaves.png"},
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

View File

@ -15,4 +15,13 @@ minetest.register_craft({
{'default:stick', 'farming:straw', 'default:stick'},
{'', 'group:wood', ''},
}
})
minetest.register_craft({
output = 'decoblocks:paper_lantern',
recipe = {
{'group:wood', 'default:paper', 'group:wood'},
{'default:paper', 'default:torch', 'default:paper'},
{'group:wood', 'default:paper', 'group:wood'},
}
})

View File

@ -1,11 +0,0 @@
# Blender MTL File: 'None'
# Material Count: 1
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2
map_Kd C:\Games\minetest-0.4.15-win64\games\minetestia\mods\decoblocks\textures\decoblocks_candle.png

View File

@ -354,7 +354,7 @@ minetest.register_node("decoblocks:spikes", {
minetest.register_node("decoblocks:crumblestone", {
description = "Crumbly Stone",
tiles = {"default_stone.png"},
tiles = {"decoblocks_crumblestone.png"},
groups = {crumbly = 1},
sounds = default.node_sound_stone_defaults()
})
@ -477,7 +477,14 @@ minetest.register_node("decoblocks:paper_lantern", {
paramtype = "light",
light_source = 13,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
flammable = 3, wool = 1},
sounds = default.node_sound_defaults(),
})
})
minetest.register_node("decoblocks:mammoth_wool", {
description = "Mammoth Wool",
tiles = {"decoblocks_mammoth_wool.png"},
groups = {crumbly = 3, soil = 1},
sounds = default.node_sound_dirt_defaults(),
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

View File

@ -109,6 +109,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:pick_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'default:pick_bronze',
recipe = {
@ -163,6 +172,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:shovel_gold',
recipe = {
{'default:gold_ingot'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'default:shovel_bronze',
recipe = {
@ -217,6 +235,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:axe_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot'},
{'default:gold_ingot', 'group:stick'},
{'', 'group:stick'},
}
})
minetest.register_craft({
output = 'default:axe_bronze',
recipe = {
@ -271,6 +298,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:axe_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot'},
{'group:stick', 'default:gold_ingot'},
{'group:stick', ''},
}
})
minetest.register_craft({
output = 'default:axe_bronze',
recipe = {
@ -325,6 +361,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'default:sword_gold',
recipe = {
{'default:gold_ingot'},
{'default:gold_ingot'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'default:sword_bronze',
recipe = {

View File

@ -492,7 +492,7 @@ minetest.register_node("default:ice", {
--
minetest.register_node("default:tree", {
description = "Tree",
description = "Oak Tree",
tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"},
paramtype2 = "facedir",
is_ground_content = false,
@ -503,7 +503,7 @@ minetest.register_node("default:tree", {
})
minetest.register_node("default:wood", {
description = "Wooden Planks",
description = "Oak Wood Planks",
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"default_wood.png"},
@ -550,7 +550,7 @@ minetest.register_node("default:sapling", {
})
minetest.register_node("default:leaves", {
description = "Leaves",
description = "Oak Leaves",
drawtype = "allfaces_optional",
waving = 1,
tiles = {"default_leaves.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

View File

@ -64,6 +64,21 @@ minetest.register_tool("default:pick_steel", {
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:pick_gold", {
description = "Golden Pickaxe",
inventory_image = "default_tool_goldpick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=4},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:pick_bronze", {
description = "Bronze Pickaxe",
inventory_image = "default_tool_bronzepick.png",
@ -156,6 +171,21 @@ minetest.register_tool("default:shovel_steel", {
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:shovel_gold", {
description = "Golden Shovel",
inventory_image = "default_tool_goldshovel.png",
wield_image = "default_tool_bronzeshovel.png^[transformR90",
tool_capabilities = {
full_punch_interval = 1.1,
max_drop_level=1,
groupcaps={
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=40, maxlevel=2},
},
damage_groups = {fleshy=3},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:shovel_bronze", {
description = "Bronze Shovel",
inventory_image = "default_tool_bronzeshovel.png",
@ -248,6 +278,20 @@ minetest.register_tool("default:axe_steel", {
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:axe_gold", {
description = "Golden Axe",
inventory_image = "default_tool_goldaxe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=4},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:axe_bronze", {
description = "Bronze Axe",
inventory_image = "default_tool_bronzeaxe.png",
@ -337,6 +381,20 @@ minetest.register_tool("default:sword_steel", {
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:sword_gold", {
description = "Golden Sword",
inventory_image = "default_tool_goldsword.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=40, maxlevel=2},
},
damage_groups = {fleshy=6},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("default:sword_bronze", {
description = "Bronze Sword",
inventory_image = "default_tool_bronzesword.png",

View File

@ -20,6 +20,13 @@ farming.register_hoe(":farming:hoe_steel", {
material = "default:steel_ingot"
})
farming.register_hoe(":farming:hoe_gold", {
description = "Golden Hoe",
inventory_image = "farming_tool_goldhoe.png",
max_uses = 220,
material = "default:gold_ingot"
})
farming.register_hoe(":farming:hoe_bronze", {
description = "Bronze Hoe",
inventory_image = "farming_tool_bronzehoe.png",

View File

@ -84,7 +84,7 @@ minetest.register_node("farming:desert_sand_soil_wet", {
minetest.register_node("farming:straw", {
description = "Straw",
tiles = {"farming_straw.png"},
tiles = {"farming_straw_top.png", "farming_straw_top.png", "farming_straw.png"},
is_ground_content = false,
groups = {snappy=3, flammable=4, fall_damage_add_percent=-30},
sounds = default.node_sound_leaves_defaults(),

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

View File

@ -27,6 +27,7 @@ mobs:register_mob("mobs_m:mimic", {
textures = {
{"mobs_mimic.png"},
},
blood_texture = "mobs_rotten_blood.png",
makes_footstep_sound = false,
sounds = {
random = "mobs_dirtmonster",
@ -100,7 +101,7 @@ mobs:register_mob("mobs_m:mammoth", {
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "ethereal:bamboo"},
replace_with = "air",
follow = {"farming:wheat"},
follow = {"compactblocks:default_leaves"},
view_range = 14,
drops = {
{name = "mobs:meat_raw", chance = 2, min = 5, max = 6},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B