///////////////////////////////////////////////////////// // // Craftable Natural Resources (CNR) by Festyx // // Name: cnrEnchantPoolGo - Good Enchanting Pool for Holy Weapons // // Desc: Recipe initialization. // // Author: eyesolated // ///////////////////////////////////////////////////////// #include "cnr_recipe_utils" void main() { string sKeyToRecipe; string sScalpNeeded = "cnrScalpEvil"; string sCreateEnd = "Good"; string sWeaponPrefix = "Holy"; PrintString("cnrEnchantPoolGo init"); ///////////////////////////////////////////////////////// // CNR Crafting Device "cnrEnchantPoolGo" ///////////////////////////////////////////////////////// //string sMenuLtngAmmo = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Ammo"); string sMenuHolyAxes = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Holy Axes"); string sMenuHolyBladed = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Holy Bladed"); string sMenuHolyBlunts = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Holy Blunts"); string sMenuHolyExotic = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Holy Exotics"); string sMenuHolyDouble = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Holy Double-Sided"); string sMenuHolyPolearms = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Holy Polearms"); //string sMenuLtngThrowing = CnrRecipeAddSubMenu("cnrEnchantPoolGo", "Throwing"); CnrRecipeSetDevicePreCraftingScript("cnrEnchantPoolGo", "cnr_enchant_anim"); //CnrRecipeSetDeviceInventoryTool("cnrEnchantPoolGo", "cnrXXX"); CnrRecipeSetDeviceTradeskillType("cnrEnchantPoolGo", CNR_TRADESKILL_ENCHANTING); // Axes RECIPES sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyAxes, sWeaponPrefix + " Handaxe", "cnrHandAxe" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrHandAxeIron", 1, 0); // Iron HandAxe CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyAxes, sWeaponPrefix + " Battleaxe", "cnrBattleAxe" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrBattleAxeIron", 1, 0); // Iron BattleAxe CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyAxes, sWeaponPrefix + " Greataxe", "cnrGreatAxe" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrGreatAxeIron", 1, 0); // Iron GreatAxe CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); // Bladed RECIPES sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Dagger", "cnrDagger" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrDaggerIron", 1, 0); // Iron Dagger CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Shortsword", "cnrShSword" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrShSwordIron", 1, 0); // Iron Shortsword CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Scimitar", "cnrScimitar" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrScimitarIron", 1, 0); // Iron Scimitar CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Rapier", "cnrRapier" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrRapierIron", 1, 0); // Iron Rapier CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Longsword", "cnrLgSword" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrLgSwordIron", 1, 0); // Iron Longsword CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Bastardsword", "cnrBaSword" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrBaSwordIron", 1, 0); // Iron Bastardsword CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBladed, sWeaponPrefix + " Greatsword", "cnrGrSword" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrGrSwordIron", 1, 0); // Iron Greatsword CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); // Blunt RECIPES sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Club", "cnrClub" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrClubIron", 1, 0); // Iron Club CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Light Flail", "cnrLtFlail" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrLtFlailIron", 1, 0); // Iron Light Flail CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Heavy Flail", "cnrHyFlail" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrHyFlailIron", 1, 0); // Iron Heavy Flail CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Light Hammer", "cnrLtHammer" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrLtHammerIron", 1, 0); // Iron Light Hammer CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Warhammer", "cnrWarHammer" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrWarHammerIron", 1, 0); // Iron WarHammer CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Mace", "cnrMace" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrMaceIron", 1, 0); // Iron Mace CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyBlunts, sWeaponPrefix + " Morningstar", "cnrMStar" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrMStarIron", 1, 0); // Iron Morning Star CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); // Exotic RECIPES sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyExotic, sWeaponPrefix + " Kama", "cnrKama" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrKamaIron", 1, 0); // Iron Kama CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyExotic, sWeaponPrefix + " Kukri", "cnrKukri" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrKukriIron", 1, 0); // Iron Kukri CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyExotic, sWeaponPrefix + " Sickle", "cnrSickle" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrSickleIron", 1, 0); // Iron Sickle CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyExotic, sWeaponPrefix + " Katana", "cnrKatana" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrKatanaIron", 1, 0); // Iron Katana CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); // Double-Sided RECIPES sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyDouble, sWeaponPrefix + " Dire Mace", "cnrDireMace" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrDireMaceIron", 1, 0); // Iron Dire Mace CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyDouble, sWeaponPrefix + " Double Axe", "cnrDoubleAxe" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrDoubleAxeIron", 1, 0); // Iron Double Axe CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyDouble, sWeaponPrefix + " Two-Bladed Sword", "cnrDSword" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrDSwordIron", 1, 0); // Iron Two-Bladed Sword CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyDouble, sWeaponPrefix + " Quarterstaff", "cnrQStaff" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrQStaffIron", 1, 0); // Iron Quarterstaff CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); // Polearm RECIPES sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyPolearms, sWeaponPrefix + " Halberd", "cnrHalberd" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrHalberdIron", 1, 0); // Iron Halberd CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyPolearms, sWeaponPrefix + " Scythe", "cnrScythe" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrScytheIron", 1, 0); // Iron Scythe CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHolyPolearms, sWeaponPrefix + " Spear", "cnrSpear" + sCreateEnd, 1); CnrRecipeAddComponent(sKeyToRecipe, "cnrOilEnchanting", 1, 0); // Enchanting Oil CnrRecipeAddComponent(sKeyToRecipe, sScalpNeeded, 1, 0); // Scalp CnrRecipeAddComponent(sKeyToRecipe, "cnrSpearIron", 1, 0); // Iron Spear CnrRecipeSetRecipeLevel(sKeyToRecipe, 16); CnrRecipeSetRecipeXP(sKeyToRecipe, 160, 160); CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 0, 0, 0, 60, 40, 0); }