Add the Dungeon Master's Blood Sword and the craft of this sword, also add mobs:zombie_tibia and mobs:dungeon_master_diamond wich are dropped from zombies and Dungeon Masters and wich are needed for the craft recipe of the DM's Blood Sword because the craft recipe is also added, finally add the texture of the DM's Blood Sword !

This commit is contained in:
Ombridride 2015-06-28 00:17:30 +02:00
parent 1e414a3874
commit 18253658d5
7 changed files with 58 additions and 15 deletions

View File

@ -435,6 +435,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:sword_nyan",
recipe = {
{"default:nyancat"},
{"default:nyancat"},
{"group:stick"},
}
})
minetest.register_craft({
output = 'default:sword_diamond',
recipe = {
@ -444,12 +453,12 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:sword_nyan",
minetest.register_craft({ -- Ultimate Warrior weapon
output = 'default:dungeon_master_s_blood_sword',
recipe = {
{"default:nyancat"},
{"default:nyancat"},
{"group:stick"},
{"mobs:dungeon_master_blood", "nether:white", "mobs:dungeon_master_blood"},
{"mobs:dungeon_master_blood", "mobs:dungeon_master_diamond", "mobs:dungeon_master_blood"},
{"moreores:mithril_block", "mobs:zombie_tibia", "moreores:mithril_block"},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

View File

@ -439,8 +439,20 @@ minetest.register_tool("default:sword_diamond", {
full_punch_interval = 0.6,
max_drop_level = 1,
groupcaps = {
snappy = {times = {[1] = 1.9, [2] = 0.85, [3] = 0.125}, uses = 30, maxlevel = 3},
snappy = {times = {[1] = 1.9, [2] = 0.85, [3] = 0.125}, uses = 50, maxlevel = 3},
},
damage_groups = {fleshy = 7},
}
})
minetest.register_tool("default:dungeon_master_s_blood_sword", { --Warrior Only
description = "Dungeon Master's Blood Sword",
inventory_image = "default_tool_dungeon_master_s_blood_sword.png",
tool_capabilities = {
full_punch_interval = 0.5,
max_drop_level = 1,
groupcaps = {
snappy = {times = {[1] = 1.9, [2] = 0.85, [3] = 0.125}, uses = 250, maxlevel = 3},
},
damage_groups = {fleshy = 10},
}
})

View File

@ -45,14 +45,18 @@ mobs:register_mob("mobs:dungeon_master", {
drops = {
{name = "default:mese_crystal_fragment",
chance = 1, min = 1, max = 3,},
{name = "default:diamond",
chance = 5, min = 1, max = 3,},
{name = "default:mese_crystal",
chance = 2, min = 1, max = 3,},
{name = "default:diamond_block",
chance = 30, min = 1, max = 1,},
{name = "mobs:dungeon_master_blood",
chance = 4, min = 1, max = 2,},
{name = "default:diamond",
chance = 5, min = 1, max = 3,},
{name = "mobs:dungeon_master_diamond",
chance = 8, min = 1, max = 1,},
{name = "maptools:gold_coin",
chance = 20, min = 1, max = 1,},
{name = "default:diamond_block",
chance = 30, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,
@ -98,3 +102,15 @@ mobs:register_arrow("mobs:fireball", {
mobs:explosion(pos, 1, 1, 0)
end
})
minetest.register_craftitem("mobs:dungeon_master_blood", {
description = "Dungeon Master Blood",
inventory_image = "mobs_dungeon_master_blood.png",
groups = {magic = 1},
})
minetest.register_craftitem("mobs:dungeon_master_diamond", {
description = "Dungeon Master Diamond",
inventory_image = "mobs_dungeon_master_diamond.png",
groups = {magic = 1},
})

View File

@ -40,10 +40,10 @@ mobs:register_mob("mobs:minotaur", {
drops = {
{name = "maptools:gold_coin",
chance = 40, min = 1, max = 1,},
{name = "mobs:minotaur_eye", -- NOT IMPLEMENTED YET - used for runes mod
chance = 1, min = 1, max = 2,},
{name = "mobs:minotaur_horn", -- NOT IMPLEMENTED YET - used for 3d_armor/throwing_enhanced mod
chance = 1, min = 1, max = 2,},
{name = "mobs:minotaur_eye",
chance = 2, min = 1, max = 2,},
{name = "mobs:minotaur_horn",
chance = 4, min = 1, max = 2,},
},
water_damage = 1,
lava_damage = 5,
@ -62,7 +62,6 @@ mobs:register_spawn("mobs:minotaur", {"default:desert_sand"}, 20, -1, 30000, 1,
-- register spawn egg
mobs:register_egg("mobs:minotaur", "Minotaur", "default_desert_sand.png", 1)
minetest.register_craftitem("mobs:minotaur_eye", {
description = "Minotaur Eye",
inventory_image = "mobs_minotaur_eye.png",

View File

@ -39,6 +39,8 @@ mobs:register_mob("mobs:zombie", {
drops = {
{name = "nether:apple",
chance = 4, min = 1, max = 1,},
{name = "mobs:zombie_tibia",
chance = 10, min = 1, max = 1,},
{name = "maptools:silver_coin",
chance = 1, min = 1, max = 1,},
},
@ -61,3 +63,8 @@ mobs:register_spawn("mobs:zombie", {"nether:dirt_top"}, 5, -1, 6000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:zombie", "Zombie", "mobs_zombie_head.png", 1)
minetest.register_craftitem("mobs:zombie_tibia", {
description = "Zombie Tibia",
inventory_image = "mobs_zombie_tibia.png",
groups = {magic = 1},
})

Binary file not shown.