mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-01 01:15:59 -04:00
who isn't sick of converting the freaking scripts? this negates the need
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package script.terminal;
|
||||
|
||||
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;
|
||||
|
||||
public class bazaar extends script.terminal.base.base_terminal
|
||||
{
|
||||
public bazaar()
|
||||
{
|
||||
}
|
||||
public static final string_id SID_BAZAAR_OPTIONS = new string_id("terminal_ui", "bazaar_options");
|
||||
public int OnObjectMenuRequest(obj_id self, obj_id player, menu_info mi) throws InterruptedException
|
||||
{
|
||||
return super.OnObjectMenuRequest(self, player, mi);
|
||||
}
|
||||
public int OnObjectMenuSelect(obj_id self, obj_id player, int item) throws InterruptedException
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnRequestAuctionFee(obj_id self, obj_id who, obj_id location, obj_id item, boolean premium, modifiable_int amount) throws InterruptedException
|
||||
{
|
||||
debugSpeakMsg(self, "test " + getName(who));
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnInitialize(obj_id self) throws InterruptedException
|
||||
{
|
||||
setOwner(self, self);
|
||||
attachScript(self, "planet_map.map_loc_attach");
|
||||
return super.OnInitialize(self);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user