Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
22 lines
471 B
Plaintext
22 lines
471 B
Plaintext
#include "database_inc"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
object pres9PC = GetPCSpeaker();
|
|
|
|
if(GetGold(pres9PC)>4999)
|
|
{
|
|
TakeGoldFromCreature(5000, pres9PC, TRUE);
|
|
SetLocalInt(pres9PC, "X2_AllowDivcha", 0);
|
|
DBSetPrestigePermisson (pres9PC,CLASS_TYPE_DIVINECHAMPION);
|
|
SendMessageToPC(pres9PC, "You have unlocked the Champion of Torm Prestige Class. This does not mean you have to be a Champion of Torm, however, you can be a champion of almost any god of good alignment.");
|
|
}
|
|
else
|
|
{
|
|
}
|
|
}
|
|
|
|
|