mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
25 lines
709 B
Java
Executable File
25 lines
709 B
Java
Executable File
package script.gm;
|
|
|
|
import script.obj_id;
|
|
|
|
public class fs_intro_starter extends script.base_script
|
|
{
|
|
public fs_intro_starter()
|
|
{
|
|
}
|
|
public int OnSpeaking(obj_id self, String text) throws InterruptedException
|
|
{
|
|
if (text.equals("startintro"))
|
|
{
|
|
if (!hasScript(self, "quest.force_sensitive.fs_kickoff"))
|
|
{
|
|
attachScript(self, "quest.force_sensitive.fs_kickoff");
|
|
}
|
|
setObjVar(self, "fs_kickoff_stage", 2);
|
|
messageTo(self, "meetOldMan", null, 10.0f, false);
|
|
sendSystemMessageTestingOnly(self, "FS Intro Initiated.");
|
|
}
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|