
#+TITLE: Sim City
#+TODO: IDEA TODO ACTV TEST DONT IGNR NOTE QUES | DONE
#+STARTUP: showeverything
#+start-date: <2020-02-03 Mon>

; limits displayed tags in schedule output:
#+schedule-tags: infrastructure,resources,commerce,services,leasure

====================================================== Staff
* Staff
  > Everything rests upon the shoulders of these three people

** Peter
   :PROPERTIES:
   :resource_id: peter
   ; 24h/w
   :workinghours: mo-thu 6h, fr off
   :vacation: <2020-01-28 Tue> - <2020-02-14 Fri>
   :vacation: <2020-07-09 Thu> - <2020-07-10 Fri>
   :END:

** Paul
   :PROPERTIES:
   :resource_id: paul
   ; 40h/w
   :workinghours: mo-fr 9-5
   :vacation: <2020-02-24 Mon> - <2020-03-13 Fri>
   :vacation: <2020-05-11 Mon> - <2020-05-13 Wed>
   :END:

** Mary
   :PROPERTIES:
   :resource_id: mary
   ; 29h/w
   :workinghours: mo-tue 8h, wed off, thu-fr 6.5h
   :vacation: <2020-03-04 Wed> - <2020-03-20 Fri>
   :vacation: <2020-06-01 Mon> - <2020-06-12 Fri>
   :END:


====================================================== Tasks
* Tasks
  ; (note) a "tasks" group is _not_ mandatory

** Build a city
   > Understaffed and overworked but against all odds, these three will make it




======================================================
*** Transportation

**** Roads                                                   :infrastructure:
   :PROPERTIES:
   :allocate: mary
   :effort: 7d
   :depends: diesel-generator
   :END:

**** Vehicles                                                :infrastructure:
   :PROPERTIES:
   :allocate: peter
   :effort: 3d
   :END:



======================================================
*** Resources

**** Water

***** Pump Station                                                :resources:
   :PROPERTIES:
   :effort: 2d
   :allocate: peter
   :depends: power
   :END:
   
**** Power                                                  :resources:power:
     :PROPERTIES:
     :allocate: paul
     :effort: 2h
     :END:

***** Diesel Generator                                      :power:resources:
     :PROPERTIES:
     :allocate: mary
     :effort: 1d
     :END:

***** Wind turbines                                         :power:resources:
     :PROPERTIES:
     :depends: diesel-generator
     :allocate: mary
     :effort: 10d
     :END:

***** Solar panels                                          :power:resources:
     :PROPERTIES:
     :depends: diesel-generator
     :allocate: peter
     :effort: 8d
     :END:

**** Food                                                         :resources:
     :PROPERTIES:
     :depends: power, water, transportation
     :allocate: paul
     :effort: 8d
     :END:

*** People                                                        :resources:
    > They grow up so fast !
    > (multiline test)
     :PROPERTIES:
     :depends: hospital
     :allocate: peter, mary
     :effort: 1h
     ;:duration: 9m
     :duration: 2m
     :END:



======================================================
*** Residential areas

**** Housing complex                                         :infrastructure:
     :PROPERTIES:
     :allocate: peter, paul, mary
     :effort: 20d
     :risk: 20%
     :END:


======================================================
*** Commercial areas

**** Groceries

***** Supermarket                                             :shop:commerce:
     :PROPERTIES:
     :depends: resources
     :allocate: peter
     :effort: 8d
     :END:

***** Bakery                                                  :shop:commerce:
     :PROPERTIES:
     :depends: resources
     :allocate: mary
     :effort: 3d
     :END:

***** Drinks Dealer                                           :shop:commerce:
     :PROPERTIES:
     :depends: power, water, transportation
     :allocate: paul
     :effort: 2d
     :END:

***** Farmer's Market                                         :shop:commerce:
     :PROPERTIES:
     :depends: resources
     :allocate: paul
     :effort: 4d
     :END:

**** Hardware Store                                           :shop:commerce:
     :PROPERTIES:
     :depends: resources
     :allocate: mary
     :effort: 3d
     :END:

**** Office complex

***** Build                                                        :commerce:
     :PROPERTIES:
     :task_id: office_build
     :depends: power, water, transportation
     :allocate: peter, paul
     :effort: 9d
     :END:

***** Commence Operation                                           :commerce:
     :PROPERTIES:
     :task_id: office_op
     :depends: office_build, services
     :allocate: peter
     :effort: 1d
     :END:

**** Cardboard Box Factory                                         :commerce:

***** Build                                                        :commerce:
     :PROPERTIES:
     :task_id: factory_build
     :depends: power, water, transportation
     :allocate: peter, paul, mary
     :effort: 10d
     :effortrisk: 30%
     :END:

***** Commence Operation                                           :commerce:
     :PROPERTIES:
     :task_id: factory_op
     :depends: factory_build, services
     :allocate: paul
     :effort: 1d
     :END:

**** Brewery

***** Build                                                        :commerce:
     :PROPERTIES:
     :task_id: brewery_build
     :depends: power, water, transportation
     :allocate: paul
     :effort: 5d
     :END:

***** Commence Operation                                           :commerce:
     :PROPERTIES:
     :task_id: brewery_op
     :depends: brewery_build, services, food
     :allocate: paul
     :effort: 1d
     :END:



======================================================
**** Services

***** Administration                                               :services:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: peter
     :effort: 2d
     :END:

***** Hospital                                                     :services:
     :PROPERTIES:
     :depends: power, water, transportation
     :allocate: mary
     :effort: 3d
     :END:

***** Fire Department                                              :services:
     :PROPERTIES:
     :depends: power, water, transportation
     :allocate: peter
     :effort: 3d
     :END:

***** Police Department                                            :services:
     :PROPERTIES:
     :depends: power, water, transportation
     :allocate: peter
     :effort: 3d
     :END:

***** Bank                                                         :services:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: paul
     :effort: 3d
     :END:




======================================================
*** Leasure

**** Park                                                           :leasure:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: mary
     :effort: 3d
     :END:

**** Beach                                                          :leasure:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: peter
     :effort: 2d
     :END:

**** Movie Theatre                                         :leasure:commerce:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: paul
     :effort: 5d
     :END:

**** Restaurant                                            :leasure:commerce:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: mary
     :effort: 4d
     :END:

**** Bar                                                   :leasure:commerce:
     :PROPERTIES:
     :depends: power, water, roads
     :allocate: mary
     :effort: 4d
     :END:




======================================================
*** Citizens
     :PROPERTIES:
     :depends: people, residential-areas, commercial-areas, services
     :END:



======================================================
** Milestones

*** Earn Taxes
    > In this world nothing can be said to be certain, except death and taxes
     :PROPERTIES:
     :depends: citizens
     :milestone:
     :END:

*** Take a swim
    > ..and rub-a-duck
     :PROPERTIES:
     :depends: citizens, beach
     :milestone:
     :END:

*** Eat a double quarter pounder with cheese
    > They call it Royale with Cheese
     :PROPERTIES:
     :depends: citizens, restaurant
     :milestone:
     :END:

*** Watch a movie
    > The new Lawrence of Arabia remake is out !
     :PROPERTIES:
     :depends: citizens, movie-theatre
     :milestone:
     :END:

*** Have a cold one
    > just one..as if
     :PROPERTIES:
     :depends: citizens, bar, brewery
     :milestone:
     :END:

*** A Walk in the Park
    > I`m getting away, escaping today
     :PROPERTIES:
     :depends: citizens, park
     :milestone:
     :END:
