20 lines
788 B
Plaintext
20 lines
788 B
Plaintext
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
if(GetIsDM(oPC) == TRUE) return TRUE;
|
|
if(GetLocalString(GetModule(), "MODE") != "ONLINE") return FALSE;
|
|
|
|
int nPrice = GetLocalInt(oPC, "HousePrice");
|
|
string nHouse = GetLocalString(oPC, "HouseToSell");
|
|
|
|
if(nHouse == "AUBERAGE" && nPrice > 100000) return TRUE;
|
|
if(nHouse == "SILBUAM" && nPrice > 150000) return TRUE;
|
|
if(nHouse == "FOHENWIND" && nPrice > 150000) return TRUE;
|
|
if(nHouse == "WESTRON" && nPrice > 200000) return TRUE;
|
|
if(nHouse == "HEIMDOL" && nPrice > 300000) return TRUE;
|
|
if(nHouse == "BALDAM" && nPrice > 300000) return TRUE;
|
|
if(nHouse == "DRAGONWOLD" && nPrice > 400000) return TRUE;
|
|
if(nHouse == "ARKENSTONE" && nPrice > 400000) return TRUE;
|
|
return FALSE;
|
|
}
|