Added recipes to the upgrade runes, thus finishing the update.
This commit is contained in:
parent
5d2866ddf2
commit
a6beac77ec
@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [Oct 20th - STILL UNDER DEVELOPMENT] Update: The Something Update
|
||||
## [Oct 20th - Nov 2nd] Update: The Something Update
|
||||
|
||||
- Make some changes to world generation
|
||||
- World Tokens now use Lua Voxel Manipulators instead of waiting a set time. This makes the spawn area much larger though...
|
||||
|
@ -1,4 +1,4 @@
|
||||
PyuTest.make_upgrade_rune = function (name, desc, stat, increase, max, color)
|
||||
PyuTest.make_upgrade_rune = function (name, desc, stat, increase, max, color, craftitem)
|
||||
PyuTest.make_item(name, desc, {
|
||||
upgrade_rune = 1,
|
||||
}, "pyutest-rune.png", {
|
||||
@ -25,7 +25,18 @@ PyuTest.make_upgrade_rune = function (name, desc, stat, increase, max, color)
|
||||
return itemstack
|
||||
end
|
||||
})
|
||||
|
||||
if craftitem ~= nil then
|
||||
minetest.register_craft({
|
||||
output = name,
|
||||
recipe = {
|
||||
{"", "pyutest_ores:emerald_shard", ""},
|
||||
{"pyutest_ores:emerald_shard", craftitem, "pyutest_ores:emerald_shard"},
|
||||
{"", "pyutest_ores:emerald_shard", ""},
|
||||
}
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
PyuTest.make_upgrade_rune("pyutest_upgrades:defense", "Defense Upgrade Rune", "defense", 0.5, 5, "green")
|
||||
PyuTest.make_upgrade_rune("pyutest_upgrades:attack", "Attack Upgrade Rune", "attack", 0.5, 3, "red")
|
||||
PyuTest.make_upgrade_rune("pyutest_upgrades:defense", "Defense Upgrade Rune", "defense", 0.5, 5, "green", "pyutest_ores:diamond_shard")
|
||||
PyuTest.make_upgrade_rune("pyutest_upgrades:attack", "Attack Upgrade Rune", "attack", 0.5, 3, "red", "pyutest_ores:gold_ingot")
|
||||
|
Loading…
x
Reference in New Issue
Block a user