mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
17 lines
418 B
Java
Executable File
17 lines
418 B
Java
Executable File
package script.space_mining;
|
|
|
|
import script.obj_id;
|
|
|
|
public class mining_pirate extends script.base_script
|
|
{
|
|
public mining_pirate()
|
|
{
|
|
}
|
|
public int OnDestroy(obj_id self) throws InterruptedException
|
|
{
|
|
obj_id asteroid = getObjIdObjVar(self, "space_mining.parentRoid");
|
|
messageTo(asteroid, "handlePirateKilled", null, 0, false);
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|