Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/////////////////////////////////////////////////////////
//
// Craftable Natural Resources (CNR) by Festyx
//
// Name: cnr_ta_b_submenu
//
// Desc: Checks if the text on the menu should
// be displayed as a submenu.
//
// Author: David Bobeck 21Mar03
//
/////////////////////////////////////////////////////////
#include "cnr_recipe_utils"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nOffset = GetLocalInt(oPC, "nCnrSubOffset");
SetLocalInt(oPC, "nCnrSubOffset", nOffset+1);
int bShowIt = CnrRecipeShowAsSubMenu(OBJECT_SELF, nOffset);
if (bShowIt == TRUE)
{
string sTokenText = GetLocalString(oPC, "sCnrTokenText" + IntToString(22000+nOffset));
SetCustomToken(22000+nOffset, sTokenText);
DeleteLocalString(oPC, "sCnrTokenText" + IntToString(22000+nOffset));
}
return bShowIt;
}