54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
#include "nw_i0_tool"
|
|
int StartingConditional()
|
|
{
|
|
string House;
|
|
int NobelInsignia = FALSE;
|
|
if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_1"))
|
|
{
|
|
House = "House Alushri";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_2"))
|
|
{
|
|
House = "House Somarish";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_3"))
|
|
{
|
|
House = "House Luentrazen";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_4"))
|
|
{
|
|
House = "House Szithdra";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_5"))
|
|
{
|
|
House = "House Og'elend";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_6"))
|
|
{
|
|
House = "House Mamaluen";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_7"))
|
|
{
|
|
House = "House Kothyrlie";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_8"))
|
|
{
|
|
House = "House Illindith";
|
|
NobelInsignia = TRUE;
|
|
}
|
|
SetCustomToken(1758, House);
|
|
int iRandom = d100();
|
|
if(iRandom < 30)
|
|
{
|
|
return NobelInsignia;
|
|
}
|
|
return FALSE;
|
|
}
|