mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-14 23:07:51 -04:00
33 lines
893 B
Java
33 lines
893 B
Java
package script.quest.task;
|
|
|
|
import script.*;
|
|
import script.base_class.*;
|
|
import script.combat_engine.*;
|
|
import java.util.Arrays;
|
|
import java.util.Hashtable;
|
|
import java.util.Vector;
|
|
import script.base_script;
|
|
|
|
import script.library.create;
|
|
import script.library.locations;
|
|
import script.library.quests;
|
|
import script.library.utils;
|
|
|
|
public class nothing extends script.base_script
|
|
{
|
|
public nothing()
|
|
{
|
|
}
|
|
public int OnQuestActivated(obj_id self, int questRow) throws InterruptedException
|
|
{
|
|
LOG("newquests", "nothing - OnQuestActivated(+ " + questRow + ")");
|
|
if (quests.isMyQuest(questRow, "quest.task.nothing"))
|
|
{
|
|
String questName = quests.getDataEntry(questRow, "NAME");
|
|
LOG("newquests", "task nothing is completing now");
|
|
quests.complete(questName, self, true);
|
|
}
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|