Added 32x graphical overlays.

Also added options to enable/disable either manual or Technic upgrading.
master
mrunderhill89 2016-08-01 21:08:08 -07:00
parent 113e256a63
commit 4510cb408e
12 changed files with 10 additions and 5 deletions

BIN
screenshots/overlay_32x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB

BIN
textures/32x/upgrade_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

BIN
textures/32x/upgrade_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

BIN
textures/32x/upgrade_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

BIN
textures/32x/upgrade_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

BIN
textures/32x/upgrade_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

BIN
textures/32x/upgrade_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

BIN
textures/32x/upgrade_6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

BIN
textures/32x/upgrade_7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

BIN
textures/32x/upgrade_8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

BIN
textures/32x/upgrade_9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

View File

@ -1,3 +1,6 @@
local enable_field_upgrades = true
local enable_technic_upgrades = true
local recipes = {
[1] = function(item, material)
return {
@ -60,12 +63,14 @@ local function upgrade_recipe(item, level)
or level > 3 and titanite.large_shard
or titanite.small_shard
-- Direct crafting recipe
minetest.register_craft({
output = upgrade_name,
recipe = recipes[quantity](prev,material)
})
if enable_field_upgrades then
minetest.register_craft({
output = upgrade_name,
recipe = recipes[quantity](prev,material)
})
end
-- Technic Alloying Recipes
if technic then
if technic and enable_technic_upgrades then
local shards = titanite.shard_count[level]
technic.register_alloy_recipe({input = {prev, titanite.small_shard.." "..shards}, output = upgrade_name})
technic.register_extractor_recipe({