HiddenTradition_PRC8/_module/nss/at_worship_neugo.nss
2024-06-20 15:47:42 -04:00

20 lines
392 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUNBEAM), GetLocation(oPC));
// Give the speaker some XP
GiveXPToCreature(oPC, 100);
// Set the variables
SetLocalInt(GetPCSpeaker(), "Worship", 1);
AdjustAlignment(oPC, ALIGNMENT_NEUTRAL, 5);
AdjustAlignment(oPC, ALIGNMENT_GOOD, 10);
}