Ancordia_PRC8/_module/nss/quest_evil.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

14 lines
379 B
Plaintext

#include "quest_inc"
void main()
{
object oPC = GetPCSpeaker();
string sDB = CharacterDB(oPC);
AdjustAlignment(oPC, ALIGNMENT_EVIL, 3, FALSE);
string sToken = GetLocalString(oPC, "QuestToken");
RemoveJournalQuestEntry("random_quest"+sToken, oPC, FALSE);
DeleteCampaignVariable(sDB, "QUEST_JOURNAL");
ExecuteScript("client_walkaway", OBJECT_SELF);
}