AOC_PRC8/_module/nss/deity_donate3.nss

36 lines
1016 B
Plaintext
Raw Normal View History

2025-04-03 11:24:16 -04:00
#include "donate"
void main()
{
object oPC = GetPCSpeaker();
int iAmt = GetLocalInt(oPC, "donate_amount");
switch (iAmt)
{
case 50000:
{
SetLocalInt(oPC, "deity_adjust", 2);
SetLocalInt(oPC, "dn_switch", 1);
Donate(oPC);
}break;
case 200000:
{
SetLocalInt(oPC, "deity_adjust", 5);
SetLocalInt(oPC, "dn_switch", 2);
Donate(oPC);
}break;
case 500000:
{
SetLocalInt(oPC, "deity_adjust", 10);
SetLocalInt(oPC, "dn_switch", 3);
Donate(oPC);
}break;
case 1000000:
{
SetLocalInt(oPC, "deity_adjust", 15);
SetLocalInt(oPC, "dn_switch", 4);
Donate(oPC);
}break;
}
}