39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
//:::::::::::::::::::::::: Shayan's Subrace Engine :::::::::::::::::::::::::::::
|
|
// ::::::::::Extension: Moon's Subrace Selection Converstion for SSE :::::::::::
|
|
// ::::::::::::Contact: http://p2.forumforfree.com/shayan.html::::::::::::::::::
|
|
// ::::
|
|
// :::: Written by: DM_Moon
|
|
// ::
|
|
// :: Description: Subrace Conversation used in SSE's Wand system.
|
|
// ::
|
|
#include "mn_conv_inc"
|
|
#include "sha_wand_inc"
|
|
int StartingConditional()
|
|
{
|
|
int nMyNum = 0;
|
|
SetLocalInt(oMySpeaker, "subrace_dm_wand_pos", nMyNum);
|
|
|
|
|
|
//Check whether this conversation has been started already, start it if not.
|
|
int nStarted = GetLocalInt(oMySpeaker, "mn_started");
|
|
if(! nStarted)
|
|
{
|
|
|
|
SetLocalInt(oMySpeaker, "mn_started", 1);
|
|
moon_StartConversation();
|
|
|
|
}
|
|
string sMyString = GetLocalString(oMySpeaker, "mn_dialog" + IntToString(nMyNum));
|
|
|
|
if(sMyString == "")
|
|
{
|
|
return FALSE;
|
|
}
|
|
else
|
|
{
|
|
SetCustomToken(MN_START_CUSTOM_TOKEN + nMyNum, sMyString);
|
|
return TRUE;
|
|
}
|
|
}
|