/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Forsettii's Quest Builder System. Version 1.0 Created for Layonara Online Forsettii Forsettii@yahoo.com April 7, 2004 Sets variable #1 and gives extra gold. Variables: Quest_Name - Same as Journal Entry extra_gold - gives extra gold -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ #include "x0_i0_partywide" void main() { int iXGold = GetLocalInt(OBJECT_SELF, "extra_gold"); string sName = GetLocalString(OBJECT_SELF, "quest_name"); object oPC = GetPCSpeaker(); GiveGoldToAll(oPC, iXGold); // Set the variables SetLocalIntOnAll(oPC, sName, 1); AddJournalQuestEntry(sName, 1, oPC, TRUE, FALSE, FALSE); }