258 lines
6.1 KiB
Lua
258 lines
6.1 KiB
Lua
local armor_material = {
|
|
gravity = 'epic:float_crystal',
|
|
healing = 'epic:bloodstone',
|
|
water = 'ocean:prismarine_crystals',
|
|
fire = 'epic:huntite',
|
|
speed = 'epic:garnet',
|
|
jump = 'quartz:quartz_crystal_piece',
|
|
}
|
|
|
|
for name, mat in pairs(armor_material) do
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 5,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_helmet',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 8,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_chestplate',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 7,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_leggings',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 4,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_boots',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 5,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_helmet',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 8,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_chestplate',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 7,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_leggings',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 4,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_boots',
|
|
})
|
|
|
|
--Adding Enchantments to existing armor
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['3d_armor:helmet_diamond'] = 1,
|
|
['default:diamond'] = 1,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_helmet',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['3d_armor:chestplate_diamond'] = 1,
|
|
['default:diamond'] = 1,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_chestplate',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['3d_armor:leggings_diamond'] = 1,
|
|
['default:diamond'] = 1,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_leggings',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['3d_armor:boots_diamond'] = 1,
|
|
['default:diamond'] = 1,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_boots',
|
|
})
|
|
|
|
--Enchanted Repairs
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 1,
|
|
['armor:dia_'..name..'_helmet'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_helmet',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 1,
|
|
['armor:dia_'..name..'_chestplate'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_chestplate',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 1,
|
|
['armor:dia_'..name..'_leggings'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_leggings',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 1,
|
|
['armor:dia_'..name..'_boots'] = 1,
|
|
['stations:chitin'] = 1,
|
|
[mat] = 1,
|
|
},
|
|
output = 'armor:dia_'..name..'_boots',
|
|
})
|
|
|
|
end
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 5,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:helmet_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 8,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:chestplate_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 7,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:leggings_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 4,
|
|
['mobs:leather'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:boots_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 7,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = 'shields:shield_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 5,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:helmet_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 8,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:chestplate_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 7,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:leggings_diamond',
|
|
})
|
|
|
|
stations.dual_register_recipe('crystal_w', {
|
|
input = {
|
|
['default:diamond'] = 4,
|
|
['group:fabric'] = 1,
|
|
['stations:chitin'] = 1,
|
|
},
|
|
output = '3d_armor:boots_diamond',
|
|
})
|