mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-28 22:15:54 -04:00
who isn't sick of converting the freaking scripts? this negates the need
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user