generated from Jaysyn/ModuleTemplate
Merged redundant hak files
Merged redundant hak files. Moved hak scripts into module. Updated gitignore. Full Compile. Added release folder & archive.
This commit is contained in:
17
_mod/_module/nss/npcact_cp_mby.nss
Normal file
17
_mod/_module/nss/npcact_cp_mby.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
// npcact_cp_mby - NPC ACTIVITIES 6.0 Custom Merchant Profession standard
|
||||
// By Deva Bryson Winblood. 07/09/2005
|
||||
#include "npcact_h_cconv"
|
||||
#include "npcact_h_money"
|
||||
int StartingConditional()
|
||||
{
|
||||
object oMe=OBJECT_SELF;
|
||||
object oPC=GetPCSpeaker();
|
||||
string sSays;
|
||||
int nCurrency=GetLocalInt(oMe,"nProfMerchCurrency");
|
||||
if (GetLocalInt(oMe,"nProfMerchConvMode")!=2) return FALSE;
|
||||
sSays=GetLocalString(oPC,"sProfMerchSays");
|
||||
SetCustomToken(99061,sSays);
|
||||
sSays=GetWealthCarriedString(oPC,nCurrency,TRUE);
|
||||
SetCustomToken(99062,sSays);
|
||||
return TRUE;
|
||||
}
|
||||
Reference in New Issue
Block a user