text: //#include include/events.js, include/takeable.js
  
  var label = "Game";
  var version = "1352852331";
  var name_single = "Game";
  var name_plural = "Games";
  var article = "a";
  var description = "This is a tiny box containing a whole imaginary world, created in the minds of 11 Giants. At the bottom, there's a tagline: \"Do stuff. In a game.\" it says. Wow. That's a terrible tag line. Game looks pretty awesome, though.";
  var is_hidden = false;
  var has_info = true;
  var has_infopage = true;
  var proxy_item = null;
  var is_routable = false;
  var adjusted_scale = 1;
  var stackmax = 1;
  var base_cost = 0;
  var input_for = [];
  var parent_classes = ["game_box", "takeable"];
  var has_instance_props = false;
  
  var classProps = {
  	"collection_id"	: ""	// defined by takeable
  };
  
  var instancePropsDef = {};
  
  var verbs = {};
  
  verbs.pickup = { // defined by takeable
  	"name"				: "pick up",
  	"ok_states"			: ["in_location"],
  	"requires_target_pc"		: false,
  	"requires_target_item"		: false,
  	"include_target_items_from_location"		: false,
  	"is_default"			: false,
  	"is_emote"			: false,
  	"sort_on"			: 50,
  	"tooltip"			: "Put it in your pack",
  	"is_drop_target"		: false,
  	"proximity_override"			: 800,
  	"conditions"			: function(pc, drop_stack){
  
  		return this.takeable_pickup_conditions(pc, drop_stack);
  	},
  	"handler"			: function(pc, msg, suppress_activity){
  
  		return this.takeable_pickup(pc, msg);
  	}
  };
  
  verbs.give = { // defined by game_box
  	"name"				: "give",
  	"ok_states"			: ["in_pack"],
  	"requires_target_pc"		: true,
  	"requires_target_item"		: false,
  	"include_target_items_from_location"		: false,
  	"is_all"			: 1,
  	"is_default"			: false,
  	"is_emote"			: false,
  	"sort_on"			: 51,
  	"tooltip"			: "Or, drag item to player",
  	"is_drop_target"		: false,
  	"conditions"			: function(pc, drop_stack){
  
  		if (this.player) { 
  			return {state:'disabled', reason:"You're in the middle of playing this Game!"};
  		}
  
  		return {state:'enabled'};
  	},
  	"handler"			: function(pc, msg, suppress_activity){
  
  		return this.parent_verb_takeable_give(pc, msg, suppress_activity);
  	}
  };
  
  verbs.drop = { // defined by game_box
  	"name"				: "drop",
  	"ok_states"			: ["in_pack"],
  	"requires_target_pc"		: false,
  	"requires_target_item"		: false,
  	"include_target_items_from_location"		: false,
  	"is_all"			: 1,
  	"is_default"			: false,
  	"is_emote"			: false,
  	"sort_on"			: 52,
  	"tooltip"			: "Drop it on the ground",
  	"is_drop_target"		: false,
  	"conditions"			: function(pc, drop_stack){
  
  		if (this.player) { 
  			return {state:'disabled', reason:"You can't drop this while you are playing it!"};
  		}
  
  		return {state:'enabled'};
  	},
  	"handler"			: function(pc, msg, suppress_activity){
  
  		return this.parent_verb_takeable_drop(pc, msg, suppress_activity);
  	}
  };
  
  verbs.play = { // defined by game_box
  	"name"				: "play",
  	"ok_states"			: ["in_pack"],
  	"requires_target_pc"		: false,
  	"requires_target_item"		: false,
  	"include_target_items_from_location"		: false,
  	"is_single"			: 1,
  	"is_default"			: false,
  	"is_emote"			: false,
  	"sort_on"			: 53,
  	"tooltip"			: "Play the Game",
  	"is_drop_target"		: false,
  	"conditions"			: function(pc, drop_stack){
  
  		if (pc.is_playing_game) { 
  			return {state:"disabled", reason: "You're already playing!"};
  		}
  
  		if (this.player) { 
  			return {state: "disabled", reason: "Somebody else is playing this Game."};
  		}
  
  		return {state:"enabled"};
  	},
  	"handler"			: function(pc, msg, suppress_activity){
  
  		var failed = 0;
  		var orig_count = this.count;
  		var self_msgs = [];
  		var self_effects = [];
  		var they_effects = [];
  
  		var context = {'class_id':this.class_tsid, 'verb':'play'};
  
  		pc.apiSendAnnouncement({
  			type: 'pc_overlay',
  			swf_url: overlay_key_to_url('play_glitch'),
  			duration: 24500,
  			pc_tsid: pc.tsid,
  			locking: false,
  			dismissible: false,
  			delta_x: 0,
  			delta_y: -140,
  			width: 110,
  			height: 110,
  			uid: pc.tsid+'_play_glitch'
  		});
  
  		pc.is_playing_game = true;
  		this.player = pc;
  
  		this.events_add({callback: 'onFinishPlayGame', pc: pc}, 24.5);
  
  
  		return failed ? false : true;
  	}
  };
  
  function parent_verb_takeable_give(pc, msg, suppress_activity){
  	return this.takeable_give(pc, msg);
  };
  
  function parent_verb_takeable_give_effects(pc){
  	// no effects code in this parent
  };
  
  function parent_verb_takeable_drop(pc, msg, suppress_activity){
  	return this.takeable_drop(pc, msg);
  };
  
  function parent_verb_takeable_drop_effects(pc){
  	// no effects code in this parent
  };
  
  function onFinishPlayGame(details){ // defined by game_box
  	var self_msgs = [];
  	var self_effects = [];
  	var they_effects = [];
  
  
  	var context = {'class_id':this.class_tsid, 'verb':'play'};
  		
  	var xp = this.player.stats_add_xp(250, false, context);
  		
  	self_msgs.push("Woah! How much fun was that!?!!");
  		
  	self_effects.push({
  		"type"	: "xp_give",
  		"value"	: xp
  	});
  		
  	var pre_msg = this.buildVerbMessage(1, 'play', 'played', false, self_msgs, self_effects, they_effects);
  	this.player.sendActivity(pre_msg);
  
  	delete this.player.is_playing_game;
  		
  	this.apiDelete();
  }
  
  function getDescExtras(pc){
  	var out = [];
  	return out;
  }
  
  var tags = [
  	"no_rube",
  	"no_discovery_dialog",
  	"collectible",
  	"swf",
  	"no_auction"
  ];
  
  
  // this is a temporary fix, while the client doesn't load item defs
  // from the XML files. we pass this data on login events.
  
  function getAssetInfo(){
  	return {
  		'position': {"x":-19,"y":-50,"w":37,"h":51},
  		'thumb': "iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM\/rhtAAAK1ElEQVR42sXY+VNUVxoG4PwH\/jpV\nceJMajKTMSaacWERRRZjQIOyi+z72gp0s4uNssjWCMiObAoiIoKsbtgoNCigqLjgirspjYIRaBXw\nne+cpjuNE6tyZyYzVL11obuKfu773XPuhU8+EfAFYN709HTZ9NSUfGpqqp6+l9LRFZOThvTenE\/+\nX1\/04a6vXr2Sv3\/\/Hu+np0FATE9OYorl3TtMvX2LyTdvKEq8nZiQU+onlePSd2NjrpNKpSGUynm\/\nB2oOg1FLw2rYG6USbyYmoKQ8+\/FHjPz0E549fcoz\/vPPGH\/1ijKKt+PjeDs2hjevX1N+xht6T0nv\nTYyODoyPvpQrR0akEyMjW+h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+iO1McPqJxv5AU+cqd8MWfFOfGMToEJ+ALShJ+h9nTVoGGpD8eAxWPiJtGDUnInlyBJT\ny\/X\/1X8Nnyg0ndOYZ2bYlGsubdxtVt8vTxj4GJCvZro8jAO2wTclEyb2XhzGWltqailfbGr7v\/nH\n++e2PnO+thUZLrILkq7wFMsrD+0ayEl1QMEuN+yrlUHHYytt9EnQpT\/a\/6OR\/h5Nn6jYKNXxjq1f\nIdo5omflNbzMyHKhkN\/zT0VFYmNYVlKDAAAAAElFTkSuQmCC",
  	};
  };
  
  var itemDef = {
  	label		: this.label,
  	name_plural	: this.name_plural,
  	stackmax	: this.stackmax,
  	is_hidden	: this.is_hidden,
  	has_info	: this.has_info,
  	adjusted_scale	: this.adjusted_scale,
  	asset_swf_v	: "http:\/\/c2.glitch.bz\/items\/2011-09\/game_box-1316567440.swf",
  	admin_props	: false,
  	obey_physics	: true,
  	in_background	: false,
  	in_foreground	: false,
  	has_status	: false,
  	not_selectable	: false,
  };
  
  if (this.consumable_label_single) itemDef.consumable_label_single = this.consumable_label_single;
  if (this.consumable_label_plural) itemDef.consumable_label_plural = this.consumable_label_plural;
  
  itemDef.verbs = {
  };
  itemDef.hasConditionalVerbs = 1;
  itemDef.emote_verbs = {
  };
  itemDef.hasConditionalEmoteVerbs = 0;
  itemDef.tags = [
  	"no_rube",
  	"no_discovery_dialog",
  	"collectible",
  	"swf",
  	"no_auction"
  ];
  itemDef.keys_in_location = {
  	"p"	: "pickup"
  };
  itemDef.keys_in_pack = {
  	"r"	: "drop",
  	"g"	: "give",
  	"y"	: "play"
  };
  
  log.info("game_box.js LOADED");
  
  // generated ok 2012-11-13 16:18:51 by martlume
  