Files
dsrc/sku.0/sys.server/compiled/game/script/terminal/bazaar.java
T

37 lines
1.2 KiB
Java

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);
}
}