Fix #12 (Alchemical Tome)
This commit is contained in:
parent
229e191706
commit
0b400ff238
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Allows players to turn items into energy, and energy into items. Supports all items in Minetest Game and MineClone 2, and anything that can be made from them! Also adds a whole bunch of other stuff.
|
Allows players to turn items into energy, and energy into items. Supports all items in Minetest Game and MineClone 2, and anything that can be made from them! Also adds a whole bunch of other stuff.
|
||||||
|
|
||||||
If you would like to see the latest changes, check out (pun) the dev branch! Beware of bugs.
|
Welcome to the dev branch.
|
||||||
|
|
||||||
ExchangeClone is tested with the latest release of Minetest, Minetest Game, MineClone2, and Mineclonia.
|
ExchangeClone is tested with the latest release of Minetest, Minetest Game, MineClone2, and Mineclonia.
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ See the [wiki](https://github.com/ThePython10110/ExchangeClone/wiki) for more in
|
||||||
|
|
||||||
Dependencies: Minetest Game or MineClone.
|
Dependencies: Minetest Game or MineClone.
|
||||||
|
|
||||||
|
|
||||||
## Known issues:
|
## Known issues:
|
||||||
* Dark/Red Matter armor don't work they way they should, especially in MTG. I would greatly appreciate a PR that makes them work more like ProjectE.
|
* Dark/Red Matter armor don't work they way they should, especially in MTG. I would greatly appreciate a PR that makes them work more like ProjectE.
|
||||||
* The sword/katar AOE ability does not take upgrades into account. This will probably not be fixed (MCL)
|
* The sword/katar AOE ability does not take upgrades into account. This will probably not be fixed (MCL)
|
||||||
|
|
|
@ -375,7 +375,7 @@ minetest.register_node("exchangeclone:transmutation_table", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_tool("exchangeclone:alchemical_tome", {
|
minetest.register_tool("exchangeclone:alchemical_tome", {
|
||||||
description = "Alchemical Tome",
|
description = "Alchemical Tome\nOrbs in crafting recipe must be full",
|
||||||
inventory_image = "exchangeclone_alchemical_tome.png",
|
inventory_image = "exchangeclone_alchemical_tome.png",
|
||||||
wield_image = "exchangeclone_alchemical_tome.png",
|
wield_image = "exchangeclone_alchemical_tome.png",
|
||||||
groups = {disable_repair = 1, fire_immune = 1}
|
groups = {disable_repair = 1, fire_immune = 1}
|
||||||
|
@ -409,15 +409,17 @@ minetest.register_craft({
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
if minetest.settings:get_bool("exchangeclone.allow_crafting_alchemical_tome", true) then
|
||||||
output = "exchangeclone:alchemical_tome",
|
minetest.register_craft({
|
||||||
recipe = {
|
output = "exchangeclone:alchemical_tome",
|
||||||
{"", book, ""},
|
recipe = {
|
||||||
{"exchangeclone:exchange_orb", "exchangeclone:philosophers_stone", "exchangeclone:exchange_orb"},
|
{"", book, ""},
|
||||||
{"", "exchangeclone:red_matter", ""}
|
{"exchangeclone:exchange_orb", "exchangeclone:philosophers_stone", "exchangeclone:exchange_orb"},
|
||||||
},
|
{"", "exchangeclone:red_matter", ""}
|
||||||
replacements = {{"exchangeclone:philosophers_stone", "exchangeclone:philosophers_stone"}}
|
},
|
||||||
})
|
replacements = {{"exchangeclone:philosophers_stone", "exchangeclone:philosophers_stone"}}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft_predict(function(itemstack, player, old_craft_grid, craft_inv)
|
minetest.register_craft_predict(function(itemstack, player, old_craft_grid, craft_inv)
|
||||||
if itemstack == ItemStack("exchangeclone:alchemical_tome") then
|
if itemstack == ItemStack("exchangeclone:alchemical_tome") then
|
||||||
|
|
|
@ -2,4 +2,7 @@
|
||||||
exchangeclone.orb_max (Exchange Orb maximum energy) int 51200000
|
exchangeclone.orb_max (Exchange Orb maximum energy) int 51200000
|
||||||
|
|
||||||
# Keep unnecessary temporary data (such as the list of recipes) after load time for debugging purposes.
|
# Keep unnecessary temporary data (such as the list of recipes) after load time for debugging purposes.
|
||||||
exchangeclone.keep_data (Keep temporary data after loading) bool false
|
exchangeclone.keep_data (Keep temporary data after loading) bool false
|
||||||
|
|
||||||
|
# Allow the crafting recipe for the Alchemical Tome
|
||||||
|
exchangeclone.allow_crafting_alchemical_tome (Allow crafting Alchemical Tome) bool true
|
Loading…
Reference in New Issue