forked from mtcontrib/witchcraft
Some tweaks
>fixed some potions returing buckets instead of bottles >made blank scrolls easier to craft >Changed the recipe for the yellow potion
This commit is contained in:
parent
793195db93
commit
d29799083d
6
init.lua
6
init.lua
@ -336,7 +336,7 @@ witchcraft.pot = {
|
|||||||
{"red", "grey", "default:gravel", "gred", "default:mese_crystal", "blue", "purple"},
|
{"red", "grey", "default:gravel", "gred", "default:mese_crystal", "blue", "purple"},
|
||||||
{"redbrown", "magenta", "flowers:mushroom_brown", "magenta", "default:stone", "grey", "brown"},
|
{"redbrown", "magenta", "flowers:mushroom_brown", "magenta", "default:stone", "grey", "brown"},
|
||||||
{"brown", "red", "witchcraft:herb", "grey", "moreplants:bush", "red", "redbrown"},
|
{"brown", "red", "witchcraft:herb", "grey", "moreplants:bush", "red", "redbrown"},
|
||||||
{"orange", "redbrown", "witchcraft:bottle_slime", "yellow", "moreplants:curlyfruit", "green", "yllwgrn"},
|
{"orange", "redbrown", "witchcraft:bottle_slime", "yellow", "default:steelblock", "green", "yllwgrn"},
|
||||||
{"yellow", "yllwgrn", "tnt:tnt", "", "", "darkpurple", "redbrown"},
|
{"yellow", "yllwgrn", "tnt:tnt", "", "", "darkpurple", "redbrown"},
|
||||||
{"yllwgrn", "green", "default:gold_lump", "orange", "mobs:lava_orb", "grey", "magenta"},
|
{"yllwgrn", "green", "default:gold_lump", "orange", "mobs:lava_orb", "grey", "magenta"},
|
||||||
{"green2", "darkpurple", "default:glass", "red", "default:gold_lump", "blue2", "aqua"},
|
{"green2", "darkpurple", "default:glass", "red", "default:gold_lump", "blue2", "aqua"},
|
||||||
@ -556,7 +556,7 @@ minetest.register_node("witchcraft:potion_red", {
|
|||||||
on_use = function(itemstack, player)
|
on_use = function(itemstack, player)
|
||||||
local health = player:get_hp();
|
local health = player:get_hp();
|
||||||
player:set_hp(health+20)
|
player:set_hp(health+20)
|
||||||
itemstack:replace("bucket:bucket_empty")
|
itemstack:replace("vessels:glass_bottle")
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
@ -580,7 +580,7 @@ minetest.register_node("witchcraft:potion_red_2", {
|
|||||||
on_use = function(itemstack, player)
|
on_use = function(itemstack, player)
|
||||||
local health = player:get_hp();
|
local health = player:get_hp();
|
||||||
player:set_hp(health+50)
|
player:set_hp(health+50)
|
||||||
itemstack:replace("bucket:bucket_empty")
|
itemstack:replace("vessels:glass_bottle")
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
10
scrolls.lua
10
scrolls.lua
@ -137,8 +137,8 @@ end
|
|||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'witchcraft:scroll',
|
output = 'witchcraft:scroll',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:paper', 'default:diamond', 'default:paper'},
|
{'default:paper', 'default:paper', ''},
|
||||||
{'default:paper', 'default:paper', 'default:paper'},
|
{'default:paper', 'default:paper', ''},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -154,6 +154,7 @@ minetest.register_craft({
|
|||||||
output = 'witchcraft:scroll_icicle',
|
output = 'witchcraft:scroll_icicle',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:ice'},
|
{'default:ice'},
|
||||||
|
{'default:diamond'},
|
||||||
{'witchcraft:scroll'},
|
{'witchcraft:scroll'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -162,6 +163,7 @@ minetest.register_craft({
|
|||||||
output = 'witchcraft:scroll_fireball',
|
output = 'witchcraft:scroll_fireball',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:obsidian_shard'},
|
{'default:obsidian_shard'},
|
||||||
|
{'default:diamond'},
|
||||||
{'witchcraft:scroll'},
|
{'witchcraft:scroll'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -170,6 +172,7 @@ minetest.register_craft({
|
|||||||
output = 'witchcraft:scroll_nature',
|
output = 'witchcraft:scroll_nature',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:leaves'},
|
{'default:leaves'},
|
||||||
|
{'default:diamond'},
|
||||||
{'witchcraft:scroll'},
|
{'witchcraft:scroll'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -178,6 +181,7 @@ minetest.register_craft({
|
|||||||
output = 'witchcraft:scroll_day',
|
output = 'witchcraft:scroll_day',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:torch'},
|
{'default:torch'},
|
||||||
|
{'default:diamond'},
|
||||||
{'witchcraft:scroll'},
|
{'witchcraft:scroll'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -186,6 +190,7 @@ minetest.register_craft({
|
|||||||
output = 'witchcraft:scroll_night',
|
output = 'witchcraft:scroll_night',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:coal_lump'},
|
{'default:coal_lump'},
|
||||||
|
{'default:diamond'},
|
||||||
{'witchcraft:scroll'},
|
{'witchcraft:scroll'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -195,6 +200,7 @@ minetest.register_craft({
|
|||||||
output = 'witchcraft:scroll_lightning',
|
output = 'witchcraft:scroll_lightning',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:steel_ingot'},
|
{'default:steel_ingot'},
|
||||||
|
{'default:diamond'},
|
||||||
{'witchcraft:scroll'},
|
{'witchcraft:scroll'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 218 KiB |
Loading…
Reference in New Issue
Block a user