plan

  node
    node-1 
    nil 
    (end_of node-1) 
    (begin_of node-1) 
    (begin_of node-3) 
    (0 :inf 0 :inf 0 :inf) 
    start 
    "" 
  end_node

  node
    node-2 
    (end_of node-3) 
    (end_of node-2) 
    (begin_of node-2) 
    nil 
    (0 :inf 0 :inf 0 :inf) 
    finish 
    "" 
  end_node

  node
    node-3 
    (end_of node-1) 
    (end_of node-3 begin_of node-3-1) 
    (begin_of node-3 end_of node-3-1) 
    (begin_of node-2) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(build_required_house)" 
  end_node

  node
    node-3-1 
    (begin_of node-3) 
    (end_of node-3-1 begin_of node-3-1-1) 
    (begin_of node-3-1 end_of node-3-1-1) 
    (end_of node-3) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(build_house)" 
  end_node

  node
    node-3-1-1 
    (begin_of node-3-1) 
    (end_of node-3-1-1 begin_of node-3-1-1-1) 
    (begin_of node-3-1-1 end_of node-3-1-1-2 end_of node-3-1-1-3) 
    (end_of node-3-1) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(build_house_of bricks)" 
  end_node

  node
    node-3-1-1-1 
    (begin_of node-3-1-1) 
    (end_of node-3-1-1-1 begin_of node-3-1-1-1-1) 
    (begin_of node-3-1-1-1 end_of node-3-1-1-1-2) 
    (begin_of node-3-1-1-2 begin_of node-3-1-1-3) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(build_walls bricks)" 
  end_node

  node
    node-3-1-1-1-1 
    (begin_of node-3-1-1-1) 
    (end_of node-3-1-1-1-1) 
    (begin_of node-3-1-1-1-1) 
    (begin_of node-3-1-1-1-2) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(purchase bricks)" 
  end_node

  node
    node-3-1-1-1-2 
    (end_of node-3-1-1-1-1) 
    (end_of node-3-1-1-1-2) 
    (begin_of node-3-1-1-1-2) 
    (end_of node-3-1-1-1) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(make_walls_from bricks)" 
  end_node

  node
    node-3-1-1-2 
    (end_of node-3-1-1-1) 
    (end_of node-3-1-1-2) 
    (begin_of node-3-1-1-2) 
    (end_of node-3-1-1) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(install windows)" 
  end_node

  node
    node-3-1-1-3 
    (end_of node-3-1-1-1) 
    (end_of node-3-1-1-3) 
    (begin_of node-3-1-1-3) 
    (end_of node-3-1-1) 
    (0 :inf 0 :inf 0 :inf) 
    action 
    "(install door)" 
  end_node

  gost_entry
    supervised 
    "(walls built)" 
    true 
    (node-3-1-1-2 :begin) 
    (((node-3-1-1-1 :end) . :none)) 
  end_gost_entry

  gost_entry
    supervised 
    "(walls built)" 
    true 
    (node-3-1-1-3 :begin) 
    (((node-3-1-1-1 :end) . :none)) 
  end_gost_entry

  gost_entry
    supervised 
    "(have bricks)" 
    true 
    (node-3-1-1-1-2 :begin) 
    (((node-3-1-1-1-1 :end) . :none)) 
  end_gost_entry

  tome_entry
    "(proof_against wolf bricks)" 
    :always 
    "true" 
  end_tome_entry

  tome_entry
    "(windows installed)" 
    (node-3-1-1-2 :end) 
    "true" 
  end_tome_entry

  tome_entry
    "(door installed)" 
    (node-3-1-1-3 :end) 
    "true" 
  end_tome_entry

  tome_entry
    "(have bricks)" 
    (node-3-1-1-1-1 :end) 
    "true" 
  end_tome_entry

  tome_entry
    "(walls built)" 
    (node-3-1-1-1-2 :end) 
    "true" 
  end_tome_entry

  tome_entry
    "(material wall)" 
    (node-3-1-1-1-2 :end) 
    "bricks" 
  end_tome_entry

  resource_entry
    "node-3-1-1-1-2" 
    "(resource money)" 
    500 500 
    node-3-1-1-1 
    nil 
  end_resource_entry

  resource_entry
    "node-3-1-1-1-1" 
    "(resource money)" 
    1000 1000 
    node-3-1-1-1 
    nil 
  end_resource_entry

  resource_entry
    "node-3-1-1-1" 
    "(resource money)" 
    1500 :inf 
    node-3-1-1 
    (node-3-1-1-1-1 node-3-1-1-1-2) 
  end_resource_entry

  resource_entry
    "node-3-1-1-3" 
    "(resource money)" 
    50 50 
    node-3-1-1 
    nil 
  end_resource_entry

  resource_entry
    "node-3-1-1-2" 
    "(resource money)" 
    50 50 
    node-3-1-1 
    nil 
  end_resource_entry

  resource_entry
    "node-3-1-1" 
    "(resource money)" 
    1600 :inf 
    node-3-1 
    (node-3-1-1-2 node-3-1-1-3 node-3-1-1-1) 
  end_resource_entry

  resource_entry
    "node-3-1" 
    "(resource money)" 
    1600 :inf 
    node-3 
    (node-3-1-1) 
  end_resource_entry

  resource_entry
    "node-3" 
    "(resource money)" 
    1600 :inf 
    node 
    (node-3-1) 
  end_resource_entry

  resource_entry
    "node" 
    "(resource money)" 
    1600 :inf 
    nil 
    (node-3) 
  end_resource_entry

  resource_entry
    "node-3-1-1-1-1" 
    "(resource bricks)" 
    1000 1000 
    node-3-1-1-1 
    nil 
  end_resource_entry

  resource_entry
    "node-3-1-1-1" 
    "(resource bricks)" 
    1000 :inf 
    node-3-1-1 
    (node-3-1-1-1-1) 
  end_resource_entry

  resource_entry
    "node-3-1-1" 
    "(resource bricks)" 
    1000 :inf 
    node-3-1 
    (node-3-1-1-1) 
  end_resource_entry

  resource_entry
    "node-3-1" 
    "(resource bricks)" 
    1000 :inf 
    node-3 
    (node-3-1-1) 
  end_resource_entry

  resource_entry
    "node-3" 
    "(resource bricks)" 
    1000 :inf 
    node 
    (node-3-1) 
  end_resource_entry

  resource_entry
    "node" 
    "(resource bricks)" 
    1000 :inf 
    nil 
    (node-3) 
  end_resource_entry

end_plan

