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

38 lines
1005 B
Plaintext

/* Title: bazaar.script
* Description: script for bazaar menu options; to be attached to bazaar terminals
*/
/***** INHERITS ********************************************************/
inherits terminal.base.base_terminal;
/***** CONSTANTS *******************************************************/
const string_id SID_BAZAAR_OPTIONS = new string_id("terminal_ui", "bazaar_options");
/***** TRIGGERS ********************************************************/
trigger OnObjectMenuRequest(obj_id player, menu_info mi)
{
return super.OnObjectMenuRequest(self, player, mi);
}
trigger OnObjectMenuSelect(obj_id player, int item)
{
return SCRIPT_CONTINUE;
}
trigger OnRequestAuctionFee( obj_id who, obj_id location, obj_id item, boolean premium, modifiable_int amount )
{
debugSpeakMsg( self, "test " + getName( who ) );
return SCRIPT_CONTINUE;
}
trigger OnInitialize()
{
setOwner (self, self);
attachScript(self, "planet_map.map_loc_attach");
return super.OnInitialize(self);
}