Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
101
_module/nss/cnraxfellarmor.nss
Normal file
101
_module/nss/cnraxfellarmor.nss
Normal file
@@ -0,0 +1,101 @@
|
||||
/////////////////////////////////////////////////////////
|
||||
//
|
||||
// Craftable Natural Resources (CNR) by Festyx
|
||||
//
|
||||
// Name: cnrAnvilArmor
|
||||
//
|
||||
// Desc: Recipe initialization.
|
||||
//
|
||||
// Author: David Bobeck 15May03
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
#include "cnr_recipe_utils"
|
||||
|
||||
void main()
|
||||
{
|
||||
string sKeyToRecipe;
|
||||
|
||||
PrintString("cnrAnvilArmor init");
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// CNR recipes made by cnrAnvilArmor
|
||||
/////////////////////////////////////////////////////////
|
||||
string sMenuShieldCopp = CnrRecipeAddSubMenu("cnrAxfellArmor", "Axfell Shields");
|
||||
string sMenuHelmsBron = CnrRecipeAddSubMenu("cnrAxfellArmor", "Axfell Helms");
|
||||
string sMenuArmorBron = CnrRecipeAddSubMenu("cnrAxfellArmor", "Axfell Armor");
|
||||
|
||||
string sMenuBronLight = CnrRecipeAddSubMenu(sMenuArmorBron, "Light Axfell");
|
||||
string sMenuBronMedium = CnrRecipeAddSubMenu(sMenuArmorBron, "Medium Axfell");
|
||||
string sMenuBronHeavy = CnrRecipeAddSubMenu(sMenuArmorBron, "Heavy Axfell");
|
||||
|
||||
|
||||
CnrRecipeSetDevicePreCraftingScript("cnrAnvilArmor", "cnr_anvil_anim");
|
||||
CnrRecipeSetDeviceEquippedTool("cnrAnvilArmor", "cnrSmithsHammer", CNR_FLOAT_SMITH_HAMMER_BREAKAGE_PERCENTAGE);
|
||||
CnrRecipeSetDeviceTradeskillType("cnrAnvilArmor", CNR_TRADESKILL_ARMOR_CRAFTING);
|
||||
|
||||
//----------------- copper shields -----------------------
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuShieldCopp, "Small Axfell Shield", "AxfellSmallShield", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 4);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 1);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 10, 10);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 2);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuShieldCopp, " Large Axfell Shield", "AxfellLargeShield", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 4);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 1);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 10, 10);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 3);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuShieldCopp, "Axfell Tower Shield", "AxfellTowerShield", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 5);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 1);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 10, 10);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 4);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
//----------------- bronze helms -----------------------
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHelmsBron, "Axfell Warrior Helm", "AxfellWarriorHelmet", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrMoldHelm", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 2);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 2);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 20, 20);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 2);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuHelmsBron, "Axfell Militia Helm", "AxfellHelmet", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrMoldHelm", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotGold", 2);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotPlat", 2);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 2);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 20, 20);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 2);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
//----------------- bronze armors -----------------------
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuBronLight, "Axfell Chain Shirt", "axfellshirt", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 6);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrPatChainShirt", 1);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 2);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 20, 20);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 2);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuBronMedium, "Axfell Chain Mail", "AxfellChain", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 7);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrPatChainMail", 1);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 2);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 20, 20);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 2);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuBronHeavy, "Axfell Full Plate", "AxfellFullPlate", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotCopp", 10);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrPatFullPlate", 1);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 2);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 20, 20);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 5);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 50, 30, 0, 0, 0, 0);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user