mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
32 lines
728 B
Java
Executable File
32 lines
728 B
Java
Executable File
package script.creature_spawner;
|
|
|
|
import script.obj_id;
|
|
|
|
public class naboo_medium extends script.creature_spawner.base_newbie_creature_spawner
|
|
{
|
|
public static final boolean SPAWNER_DISABLED = false;
|
|
public int maxPop = 4;
|
|
|
|
public naboo_medium()
|
|
{
|
|
}
|
|
public int OnInitialize(obj_id self) throws InterruptedException
|
|
{
|
|
spawnCreatures(self);
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
public String pickCreature() throws InterruptedException
|
|
{
|
|
switch (rand(1, 3))
|
|
{
|
|
case 1:
|
|
return "fanned_rawl";
|
|
case 2:
|
|
return "nightspider";
|
|
case 3:
|
|
return "flewt";
|
|
}
|
|
return "flewt";
|
|
}
|
|
}
|