LoD_PRC8/_module/nss/cnr_module_onact.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

32 lines
605 B
Plaintext

/////////////////////////////////////////////////////////
//
// Craftable Natural Resources (CNR) by Festyx
//
// Name: cnr_module_onact
//
// Desc: This script must be run by the module's
// OnActivateItem event handler.
//
// Author: David Bobeck 08Jan03
//
/////////////////////////////////////////////////////////
#include "cnr_recipe_utils"
void main()
{
object oItem = GetItemActivated();
object oActivator = GetItemActivator();
if (CnrRecipeBookOnActivateItem(oItem, oActivator))
{
return;
}
if (CnrJournalOnActivateItem(oItem, oActivator))
{
return;
}
}