MMD_PRC8/_module/nss/0c_if_convo.nss
Jaysyn904 d77404f157 2025/07/15 Update
Added PEPS AI.
Updated module name.
Set all henchmen to have a random race &/or class based name using a custom version of Markshire's Nomeclature scripts, as well as appearance.
Set Constructs, Undead, Outsiders & Elementals to not require food or drink.
Full compile.
2025-07-15 22:19:46 -04:00

22 lines
836 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: 0e_if_convo
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that check if oCreature has a linked conversation.
Only checks for Henchman.
Allows use of ai_conversation for henchman in other modules.
*///////////////////////////////////////////////////////////////////////////////
#include "nw_inc_gff"
#include "0i_messages"
int StartingConditional()
{
object oHenchman = OBJECT_SELF;
if(GetAssociateType(oHenchman) == ASSOCIATE_TYPE_HENCHMAN)
{
json jHenchman = ObjectToJson(oHenchman);
string sConversation = JsonGetString(GffGetResRef(jHenchman, "Conversation"));
if(sConversation != "") return TRUE;
}
return FALSE;
}