from header_quests import *

####################################################################################################################
#  Each quest record contains the following fields:
#  1) Quest id: used for referencing quests in other files. The prefix qst_ is automatically added before each quest-id.
#  2) Quest Name: Name displayed in the quest screen.
#  3) Quest flags. See header_quests.py for a list of available flags
#  4) Quest Description: Description displayed in the quest screen.
#
# Note that you may call the opcode setup_quest_text for setting up the name and description
####################################################################################################################
quests_defined=1
quests = [
# Note : This is defined as the first governer quest in module_constants.py: 
## ("deliver_message", "Deliver Message to {s3}", qf_random_quest,
##  "{s1} asked you to take a message to lord {s3}. {s3} was at {s4} when you were given this quest."
##  ),
## ("escort_lady", "Escort {s3} to {s4}", qf_random_quest,
##  "{s1} asked you to escort his {s7} {s3} to {s4}."
##  ),
## ("rescue_lady_under_siege", "Rescue {s3} from {s4}", qf_random_quest,
##  "{s1} asked you to rescue his {s7} {s3} from {s4} and return her back to him."
##  ),
## ("deliver_message_to_lover", "Deliver Message to {s3}", qf_random_quest,
##  "{s1} asked you to take a message to his lover {s3} at {s4}."
##  ),
## ("deliver_message_to_enemy_lord", "Deliver Message to {s3}", qf_random_quest,
##  "{s1} asked you to take a message to an enemy lord {s3}. {s3} was at {s4} when you were given this quest."
##  ),
## ("bring_prisoners_to_enemy", "Bring Prisoners to {s4}", qf_random_quest,
##  "{s1} asked you to bring {reg1} {s3} as prisoners to the guards at {s4}."
##  ),
## ("bring_reinforcements_to_siege", "Bring Reinforcements to the Siege of {s5}", qf_random_quest,
##  "{s1} asked you to bring {reg1} {s3} to {s4} at the siege of {s5}."
##  ),
## ("deliver_supply_to_center_under_siege", "Deliver Supplies to {s5}", qf_random_quest,
##  "TODO: Take {reg1} cartloads of supplies from constable {s3} and deliver them to constable {s4} at {s5}."
##  ),
## ("raise_troops", "Raise {reg1} {s3}", qf_random_quest,
##  "{s1} asked you to raise {reg1} {s3} and bring them to him."
##  ),
## ("capture_messenger", "Capture {s3}", qf_random_quest,
##  "{s1} asked you to capture a {s3} and bring him back."
##  ),
## ("bring_back_deserters", "Bring {reg1} {s3}", qf_random_quest,
##  "{s1} asked you to bring {reg1} {s3}."
##  ),
## ("kill_local_merchant", "Kill Local Merchant at {s3}", qf_random_quest,
##  "{s1} asked you to kill a local merchant at {s3}."
##  ),
## ("bring_back_runaway_serfs", "Bring Back Runaway Serfs", qf_random_quest,
##  "{s1} asked you to bring back the three groups of runaway serfs back to {s2}. He said all three groups must be running away in the direction of {s3}."
##  ),
## ("follow_spy", "Follow the Spy to Meeting", qf_random_quest,
##  "{s1} asked you to follow the spy that will leave {s2}. You must be careful not to be seen by the spy during his travel, or else he may get suspicious and turn back. Once the spy meets with his accomplice, you are to ambush and capture them and bring them both back to {s1}."
##  ),
## ("capture_enemy_hero", "Capture a Lord from {s3}", qf_random_quest,
##  "TODO: {s1} asked you to capture a lord from {s3}."
##  ),
## ("lend_companion", "Lend Your Companion {s3} to {s1}", qf_random_quest,
##  "TODO: {s1} asked you to lend your companion {s3} to him. You can get {s3} back on day {reg1}."
##  ),
## ("capture_conspirators", "Capture Conspirators", qf_random_quest,
##  "TODO: {s1} asked you to capture all troops in {reg1} conspirator parties that plan to rebel against him and join {s3}."
##  ),
## ("defend_nobles_against_peasants", "Defend Nobles Against Peasants", qf_random_quest,
##  "TODO: {s1} asked you to defend {reg1} noble parties against peasants."
##  ),
## ("incriminate_loyal_commander", "Incriminate the Loyal Commander of {s3}, {s6}", qf_random_quest,
##  "{s1} gave you a fake letter and asked your help for a plot to fool {s3}.\
## You are to go near {s4}, give the letter to one of your {s5} and send him as a messenger to the town."
##  ),
## ("capture_prisoners", "Bring {reg1} {s3} Prisoners", qf_random_quest,
##  "{s1} wanted you to bring him {reg1} {s3} as prisoners."
##  ),
## ("hunt_down_raiders", "Hunt Down Raiders",qf_random_quest,
##  "{s1} asked you to hunt down and punish the raiders that attacked a village near {s3} before they reach the safety of their base at {s4}."
##  ),

##################
# Enemy Kingdom Lord quests
##################
# Note : This is defined as the first kingdom lady quest in module_constants.py:
## ("lend_surgeon", "Lend Your Surgeon {s3} to {s1}", qf_random_quest,
##  "TODO: Lend your experienced surgeon {s3} to {s1}."
##  ),


##################
# Kingdom Lady quests
##################
# Note : This is defined as the first kingdom lady quest in module_constants.py:
## ("rescue_lord_by_replace", "Rescue {s3} from {s4}", qf_random_quest,
##  "TODO: Rescue {s1}'s {s7} {s3} from {s4} by switching clothes."
##  ),
## ("deliver_message_to_prisoner_lord", "Deliver Message to {s3} at {s4}", qf_random_quest,
##  "TODO: Deliver message to {s3} at {s4}."
##  ),
##  ("duel_for_lady", "Challenge {s3}", qf_random_quest,
##  "TODO: Challenge {s3}. He was at {s4} when you took the quest."
##  ),

##################
# Merchant quests
##################
# Note : This is defined as the first merchant quest in module_constants.py: 
# ("escort_merchant_caravan", "Escort Merchant Caravan to {s1}", qf_random_quest,
#  "Escort the merchant caravan to the town of {s1}."
#  ),
# ("deliver_wine", "Deliver {reg5} Units of {s6} to {s2}", qf_random_quest,
#  "{s1} of {s3} asked you to deliver {reg5} units of {s6} to the tavern in {s2} in 7 days."
#  ),
# ("troublesome_bandits", "Hunt Down Troublesome Bandits", qf_random_quest,
#  "{s1} of {s2} asked you to hunt down the troublesome bandits in the vicinity of the town."
#  ),
# ("kidnapped_girl", "Ransom Girl from Bandits", qf_random_quest,
#  "{s1} of {s2} gave you {reg12} denars to pay the ransom of a girl kidnapped by bandits.\
# You are to meet the bandits near {s3} and pay them the ransom fee.\
# After that you are to bring the girl back to {s2}."
#  ),
# Deliver horses, Deliver food, Escort_Caravan, Hunt bandits, Ransom Merchant.
## ("capture_nobleman", "Capture Nobleman",qf_random_quest,
##  "{s1} wanted you to capture an enemy nobleman on his way from {s3} to {s4}. He said the nobleman would leave {s3} in {reg1} days."
##  ),

# Bandit quests: Capture rich merchant, capture banker, kill manhunters?..
 
# ("hunt_down_river_pirates", "Hunt Down River Pirates", qf_show_progression,
#  "Constable Hareck asked you to hunt down the river pirates that plague the country around Zendar.\
# He promised to pay you 20 denars for each river pirate party you eliminate."
#  ),



 ("deliver_message", "Deliver Message to {s3}", qf_random_quest,
  "{s1} of {s2} asked you to take a message to the lord of {s3}."
  ),
 ("supply_horses","Supply Horses", qf_random_quest,
  "{s1} of {s2} asked you to bring {reg1} {s3}."
  ),
 ("supply_equipment","Supply Equipment", qf_random_quest,
  "{s1} of {s2} asked you to bring him {reg1} {s3}."
 ),
 ("supply_armor","Supply Armor", qf_random_quest,
  "{s1} of {s2} asked you to bring him {reg1} {s3}."
 ),
 ("capture_prisoners", "Bring {reg1} {s3} prisoners", qf_random_quest,
  "{s1} of {s2} wanted you to bring him {reg1} {s3} as prisoners."
  ),
 ("raise_troops", "Raise {reg1} {s3}", qf_random_quest,
  "{s1} of {s2} asked you to raise {reg1} {s3} and bring them to him."
  ),
 ("capture_nobleman", "Capture Nobleman",qf_random_quest,
  "{s1} of {s2} wanted you to capture an enemy nobleman on his way from {s3} to {s4}.\
 He said the nobleman would leave {s3} in {reg1} days."
  ),
 ("hunt_down_raiders", "Hunt Down Raiders",qf_random_quest,
  "{s1} of {s2} asked you to hunt down and punish the raiders that attacked a village near {s3} before they reach the safety of their base at {s4}."
  ),

##################
# Merchant quests
##################
# Note : This is defined as the first merchant quest in module_constants.py: 
 ("escort_merchant_caravan", "Escort merchant caravan to {s1}.", qf_random_quest,
  "Escort the merchant caravan to the town of {s1}."
  ),
 ("deliver_wine", "deliver {reg5} units of {s6} to {s2}.", qf_random_quest,
  "Merchant {s1} asked you to deliver {reg5} units of {s6} to the tavern in {s2} in 7 days."
  ),
 ("troublesome_bandits", "Hunt down troublesome bandits", qf_random_quest,
  "Merchant {s1} of {s2} asked you to hunt down the troublesome bandits in the vicinity of the town."
  ),
 ("kidnapped_girl", "Ransom girl from bandits", qf_random_quest,
  "Merchant {s1} gave you {reg12} denars to pay the ransom of a girl kidnapped by bandits.\
 You are to meet the bandits near {s3} and pay them the ransom fee.\
 After that you are to bring the girl back to {s2}."
  ),
# Deliver horses, Deliver food, Escort_Caravan, Hunt bandits, Ransom Merchant.

# Bandit quests: Capture rich merchant, capture banker, kill manhunters?..
 
 ("hunt_down_river_pirates", "hunt down river pirates", qf_show_progression,
  "Constable Hareck asked you to hunt down the river pirates that plague the country around Zendar.\
 He promised to pay you 20 denars for each river pirate party you eliminate."
  ),



 # Tutorial quest
## ("destroy_dummies", "Destroy Dummies", qf_show_progression,
##  "Trainer ordered you to destroy 10 dummies in the training camp."
##     ),

 # Join Kingdom quest
 ("join_faction", "Give Oath of Fealty to {s1}", qf_random_quest,
  "Find {s1} and give him your oath of fealty."
  ),

#
 ("prestige","prestige",qf_random_quest,
"Your prestige is {reg56}"),
  
 ("quests_end", "Quests End", 0, "."),
]

