Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
101
_module/nss/cnrcleavenarmor.nss
Normal file
101
_module/nss/cnrcleavenarmor.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("cnrCleavenArmor", "Cleaven Shields");
|
||||
string sMenuHelmsBron = CnrRecipeAddSubMenu("cnrCleavenArmor", "Cleaven Helms");
|
||||
string sMenuArmorBron = CnrRecipeAddSubMenu("cnrCleavenArmor", "Cleaven Armor");
|
||||
|
||||
string sMenuBronLight = CnrRecipeAddSubMenu(sMenuArmorBron, "Light Cleaven");
|
||||
string sMenuBronMedium = CnrRecipeAddSubMenu(sMenuArmorBron, "Medium Cleaven");
|
||||
string sMenuBronHeavy = CnrRecipeAddSubMenu(sMenuArmorBron, "Heavy Cleaven");
|
||||
|
||||
|
||||
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 Cleaven Shield", "CleavenSmallShield", 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 Cleaven Shield", "CleavenLargeShield", 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, "Cleaven Tower Shield", "CleavenTowerShield", 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, "Cleaven Ceremonial Helm", "CleavenCeremonialHelm", 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, "Cleaven Militia Helm", "CleavenMilitiaHelmet", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrMoldHelm", 1);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotSilv", 2);
|
||||
CnrRecipeAddComponent(sKeyToRecipe, "cnrIngotIron", 2);
|
||||
CnrRecipeSetRecipeLevel(sKeyToRecipe, 2);
|
||||
CnrRecipeSetRecipeXP(sKeyToRecipe, 20, 20);
|
||||
CnrRecipeSetRecipeBiproduct(sKeyToRecipe, "cnrMangledCopp", 0, 2);
|
||||
CnrRecipeSetRecipeAbilityPercentages(sKeyToRecipe, 90, 90, 0, 0, 0, 0);
|
||||
|
||||
//----------------- bronze armors -----------------------
|
||||
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuBronLight, "Cleaven Chain Shirt", "cleavenscale", 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, "Cleaven Chain Mail", "CleavenChainArmor", 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, "Cleaven Full Plate", "CleavenFullPlateArmor", 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