Initial Upload
Initial Upload
This commit is contained in:
21
_module/nss/cnr_at_b_craft.nss
Normal file
21
_module/nss/cnr_at_b_craft.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
/////////////////////////////////////////////////////////
|
||||
//
|
||||
// Craftable Natural Resources (CNR) by Festyx
|
||||
//
|
||||
// Name: cnr_at_b_craft
|
||||
//
|
||||
// Desc: This script is run by the cnr_c_recipebook
|
||||
// convo when the player chooses to craft
|
||||
// a recipe.
|
||||
//
|
||||
// Author: David Bobeck 11Jan03
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
#include "cnr_recipe_utils"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nMenuPage = GetLocalInt(oPC, "nCnrMenuPage");
|
||||
int nCraftIndex = GetLocalInt(oPC, "nCnrCraftIndex");
|
||||
CnrRecipeAttemptToCraft(oPC, OBJECT_SELF, (nMenuPage*CNR_SELECTIONS_PER_PAGE)+nCraftIndex, CNR_CONVO_CRAFTING);
|
||||
}
|
||||
Reference in New Issue
Block a user