Script Function: Q4RI

From Ultima Online: The Second Age
Jump to: navigation, search
 function string Q4RI(string Q5NW)
 {
   if (Q5NW == "city_yew")
   {
     return ("the city of Yew");
   }
   if (Q5NW == "city_minoc")
   {
     return ("the city of Minoc");
   }
   if (Q5NW == "city_vesper")
   {
     return ("the city of Vesper");
   }
   if (Q5NW == "city_cove")
   {
     return ("the village of Cove");
   }
   if (Q5NW == "city_britain")
   {
     return ("the city of Britain");
   }
   if (Q5NW == "city_moonglow")
   {
     return ("the city of Moonglow");
   }
   if (Q5NW == "city_magincia")
   {
     return ("the city of Magincia");
   }
   if (Q5NW == "city_ocllo")
   {
     return ("the island of Ocllo");
   }
   if (Q5NW == "city_skara")
   {
     return ("Skara Brae");
   }
   if (Q5NW == "city_trinsic")
   {
     return ("Trinsic");
   }
   if (Q5NW == "city_nujelm")
   {
     return ("Nujel'm");
   }
   if (Q5NW == "city_serphold")
   {
     return ("Serpent's Hold");
   }
   if (Q5NW == "city_jhelom")
   {
     return ("the city of Jhelom");
   }
   if (Q5NW == "city_bucden")
   {
     return ("Buccaneer's Den");
   }
   if (Q5NW == "shrine")
   {
     return ("any of the shrines of the Virtues");
   }
   if (Q5NW == "inn")
   {
     return ("an inn where I can rest and recover");
   }
   if (Q5NW == "tavern")
   {
     return ("a tavern where I can recover");
   }
   if (Q5NW == "city")
   {
     return ("any city");
   }
   return ("an inn");
 }
 function string Q4RI(string Q5NW)
 {
   if (Q5NW == "city_yew")
   {
     return ("the city of Yew");
   }
   if (Q5NW == "city_minoc")
   {
     return ("the city of Minoc");
   }
   if (Q5NW == "city_vesper")
   {
     return ("the city of Vesper");
   }
   if (Q5NW == "city_cove")
   {
     return ("the village of Cove");
   }
   if (Q5NW == "city_britain")
   {
     return ("the city of Britain");
   }
   if (Q5NW == "city_moonglow")
   {
     return ("the city of Moonglow");
   }
   if (Q5NW == "city_magincia")
   {
     return ("the city of Magincia");
   }
   if (Q5NW == "city_ocllo")
   {
     return ("the island of Ocllo");
   }
   if (Q5NW == "city_skara")
   {
     return ("Skara Brae");
   }
   if (Q5NW == "city_trinsic")
   {
     return ("Trinsic");
   }
   if (Q5NW == "city_nujelm")
   {
     return ("Nujel'm");
   }
   if (Q5NW == "city_serphold")
   {
     return ("Serpent's Hold");
   }
   if (Q5NW == "city_jhelom")
   {
     return ("the city of Jhelom");
   }
   if (Q5NW == "city_bucden")
   {
     return ("Buccaneer's Den");
   }
   if (Q5NW == "dungn")
   {
     return ("a dungeon");
   }
   return ("somewhere");
 }