WoR_PRC8/_module/nss/s_sethousename.nss

52 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
#include "nw_i0_tool"
int StartingConditional()
{
string House;
if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_1"))
{
House = "House Alushri";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_2"))
{
House = "House Somarish";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_3"))
{
House = "House Luentrazen";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_4"))
{
House = "House Szithdra";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_5"))
{
House = "House Og'elend";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_6"))
{
House = "House Mamaluen";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_7"))
{
House = "House Kothyrlie";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_8"))
{
House = "House Illindith";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_L1"))
{
House = "House Magluse";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_L2"))
{
House = "House Quarth'lie";
}
else if(HasItem(GetPCSpeaker(), "SHA_HOUSE_INSIGNIA_L3"))
{
House = "House Girmaduer";
}
SetCustomToken(1758, House);
return TRUE;
}