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"},
|
||||
{"redbrown", "magenta", "flowers:mushroom_brown", "magenta", "default:stone", "grey", "brown"},
|
||||
{"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"},
|
||||
{"yllwgrn", "green", "default:gold_lump", "orange", "mobs:lava_orb", "grey", "magenta"},
|
||||
{"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)
|
||||
local health = player:get_hp();
|
||||
player:set_hp(health+20)
|
||||
itemstack:replace("bucket:bucket_empty")
|
||||
itemstack:replace("vessels:glass_bottle")
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
@ -580,7 +580,7 @@ minetest.register_node("witchcraft:potion_red_2", {
|
|||
on_use = function(itemstack, player)
|
||||
local health = player:get_hp();
|
||||
player:set_hp(health+50)
|
||||
itemstack:replace("bucket:bucket_empty")
|
||||
itemstack:replace("vessels:glass_bottle")
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
|
10
scrolls.lua
10
scrolls.lua
|
@ -137,8 +137,8 @@ end
|
|||
minetest.register_craft({
|
||||
output = 'witchcraft:scroll',
|
||||
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',
|
||||
recipe = {
|
||||
{'default:ice'},
|
||||
{'default:diamond'},
|
||||
{'witchcraft:scroll'},
|
||||
}
|
||||
})
|
||||
|
@ -162,6 +163,7 @@ minetest.register_craft({
|
|||
output = 'witchcraft:scroll_fireball',
|
||||
recipe = {
|
||||
{'default:obsidian_shard'},
|
||||
{'default:diamond'},
|
||||
{'witchcraft:scroll'},
|
||||
}
|
||||
})
|
||||
|
@ -170,6 +172,7 @@ minetest.register_craft({
|
|||
output = 'witchcraft:scroll_nature',
|
||||
recipe = {
|
||||
{'default:leaves'},
|
||||
{'default:diamond'},
|
||||
{'witchcraft:scroll'},
|
||||
}
|
||||
})
|
||||
|
@ -178,6 +181,7 @@ minetest.register_craft({
|
|||
output = 'witchcraft:scroll_day',
|
||||
recipe = {
|
||||
{'default:torch'},
|
||||
{'default:diamond'},
|
||||
{'witchcraft:scroll'},
|
||||
}
|
||||
})
|
||||
|
@ -186,6 +190,7 @@ minetest.register_craft({
|
|||
output = 'witchcraft:scroll_night',
|
||||
recipe = {
|
||||
{'default:coal_lump'},
|
||||
{'default:diamond'},
|
||||
{'witchcraft:scroll'},
|
||||
}
|
||||
})
|
||||
|
@ -195,6 +200,7 @@ minetest.register_craft({
|
|||
output = 'witchcraft:scroll_lightning',
|
||||
recipe = {
|
||||
{'default:steel_ingot'},
|
||||
{'default:diamond'},
|
||||
{'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