#+TITLE: Sim City
#+TODO: IDEA TODO ACTV TEST DONT IGNR NOTE QUES | DONE
#+STARTUP: showeverything
#+START-DATE: <2020-02-03 Mon>
#+SCHEDULE-TAGS: infrastructure,resources,commerce,services,leasure



=============================================================================== Staff

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

** Peter
    :PROPERTIES:
    :resource_id: peter
    :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
    :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
    :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


** 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:
     :PROPERTIES:
     :depends: hospital
     :allocate: peter, mary
     :effort: 1h
     :duration: 2m
     :END:
     > They grow up so fast !
     > (multiline test)




===============================================================================

*** 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
     :PROPERTIES:
     :depends: citizens
     :milestone: 
     :END:
     > In this world nothing can be said to be certain, except death and taxes


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


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


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


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


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

