[HEADER]
Title=Routine to identify problems with displaying subgoals
Description=This is a test to find bugs in subgoal routine

[SUBGOAL]

Goal Title=Purchase 51% of your stock
Goal Description=With the CEO's personal cash, purchase as much of your stock as you can.  Have your corporation purchase back 1% of its own stock so that the player owns more than 51%, but not more than 60% of their company's stock.  Wait a day so you can complete the subgoal.

[SUBGOAL VALUES]
Ownership=51

//-------------------------------------------------------------------//

[SUBGOAL]

Goal Title=Purchase 60% of your stock
Goal Description=Sell 5% of the player's stock in their corporation so that you are below the 51% ownership required to meet the first subgoal.  Wait a day, then take a look at the Goals screen.  It should read that no goals are currently available.  If you repurchase your own stock so that the player is above 51% again, this subgoal comes back.

Parent Goal=Purchase 51% of your stock

[SUBGOAL VALUES]
Ownership=60

//-------------------------------------------------------------------//

[MAIN GOAL]

Goal Title=Purchase back 100% of your stock
Goal Description=Testing to find some bugs when using subgoals

Parent Goal=Purchase 60% of your stock

[MAIN GOAL VALUES]
Ownership=100