/* A cargo junk, recoded from /players/tatsuo/ezo/cargoJunk.c */

inherit "players/goldsun/gen/obj/boat";


void reset(int arg){
 ::reset();
 if (arg) return;
  set_name("cargo junk");   
  set_short("A cargo junk");
  set_long("You are on a cargo junk. The junk is made of wood and it is in a good\n" +
   "condition. In the middle of the junk can you see the mast with big yards,\n" +
   "great sails and strong shroud. Many sailors are running around and\n" +
   "are busy doing something and at the back of the ship stands the captain.\n");
  sailor_name="captain";

  voyage=({"room/sea",25,
             "players/tatsuo/ezo/coast/c1",20});

  destination("players/tatsuo/ezo/cargoroom"); /* here we move traveler */

  anchor_time=24; /* anchoring time in every harbour */
  arr_time=12;     /* time to arrive from central harbour */

  msgin=capitalize(name)+" arrives.\n";
  msgout=capitalize(name)+" is sailing away.\n";
  sailor_msgout=capitalize(sailor_name)+" says: We are sailing on.\n";
  sailor_msgin=capitalize(sailor_name)+" says: We are landing.\n";

  set_preinfo(capitalize(sailor_name)+" says: ");
                  /* if you use this function, message between " " */
	 	  /* +short_desc of harbour will written after sailor_msgin.*/
	          

 }
