anchor.diff:  		actions.addAll([
   			new Action.withName('check for mail'),
   			new Action.withName('view inbox')
  -						]);
  -
  -		type = "Mailbox";
  +		]);
  +
  +		type = 'Mailbox';
   		speed = 0;
   
   		states = {
  -			"add_done":new Spritesheet(
  -				"all_done",
  +			'add_done':new Spritesheet('all_done',
   				'http://childrenofur.com/assets/entityImages/npc_mailbox_variant_mailboxLeft_x1_all_done_png_1354832237.png',
  -				776,
  -				438,
  -				97,
  -				146,
  -				22,
  -				false),
  -			"has_mail":new Spritesheet(
  -				"has_mail",
  +				776, 438, 97, 146, 22, false),
  +			'has_mail':new Spritesheet('has_mail',
   				'http://childrenofur.com/assets/entityImages/npc_mailbox_variant_mailboxLeft_x1_has_mail_png_1354832234.png',
  -				970,
  -				1168,
  -				97,
  -				146,
  -				73,
  -				true),
  -			"interract":new Spritesheet(
  -				"interract",
  +				970, 1168, 97, 146, 73, true),
  +			'interract':new Spritesheet('interract',
   				'http://childrenofur.com/assets/entityImages/npc_mailbox_variant_mailboxLeft_x1_interact_png_1354832236.png',
  -				873,
  -				146,
  -				97,
  -				146,
  -				9,
  -				false),
  -			"idle":new Spritesheet(
  -				"idle",
  +				873, 146, 97, 146, 9, false),
  +			'idle':new Spritesheet('idle',
   				'http://childrenofur.com/assets/entityImages/npc_mailbox_variant_mailboxLeft_x1_idle_png_1354832232.png',
  -				97,
  -				146,
  -				97,
  -				146,
  -				1,
  -				false),
  -			"has_mail_idle":new Spritesheet(
  -				"has_mail_idle",
  +				97, 146, 97, 146, 1, false),
  +			'has_mail_idle':new Spritesheet('has_mail_idle',
   				'http://childrenofur.com/assets/entityImages/npc_mailbox_variant_mailboxLeft_x1_has_mail_idle_png_1354832235.png',
  -				97,
  -				146,
  -				97,
  -				146,
  -				1,
  -				false)
  +				97, 146, 97, 146, 1, false)
   		};
   		setState('idle');
   		respawn = new DateTime.now();
  
positive.code: 	message.item5 = encode(items[4]);
  
  	try {
  		String query = "INSERT INTO messages(to_user, from_user, subject, body, currants, item1, item2, item3, item4, item5) VALUES(@to_user,@from_user,@subject,@body,@currants,@item1,@item2,@item3,@item4,@item5)";
  		int result = await dbConn.execute(query, message);
  
  		List<String> itemNames = [];
  
negative.code: }
  
  @app.Route('/deleteMail', methods: const[app.POST])
  Future<String> deleteMail(@app.Body(app.JSON) Map parameters) async {
  	String query = 'DELETE FROM messages WHERE id = @id';
  	int result = await dbConn.execute(query, {'id':parameters['id']});
  
  	if (result > 0) {
  		return 'OK';
  	} else {
  		return 'Error';
  	}
  }
  
  @app.Route('/readMail', methods: const[app.POST])
  readMail(@app.Body(app.JSON) Map parameters) async {
  	Message message = jsonx.decode(JSON.encode(parameters), type: Message);
  	String query = 'UPDATE messages SET read = TRUE WHERE id = @id';
  	await dbConn.execute(query, message);
  }
  
  