Loading

Paste #pz95u21px

  1. Draft
  2.  
  3. if sea:
  4.     sea was removed
  5.     restore sea, set owner to water
  6.     (set canal not on river)
  7.  
  8. if bare land:
  9.     self canal was removed
  10.     restore canal, set canal to self
  11.     set canal not on river
  12.    
  13. if river && canal on river:
  14.     self canal was removed
  15.     restore canal, set canal to self
  16.     set canal on river
  17.  
  18. if river && canal not on river:
  19.     (it's a real river)
  20.     maintain river, maintain owner
  21.     (maintain canal not on river)
  22.    
  23. if canal && canal not on river:
  24.     (it's not our canal)
  25.     maintain canal, set canal to its owner
  26.     (maintain canal not on river)
  27.    
  28. if canal && canal on river:
  29.     (it's not our canal)
  30.     maintain canal, set canal to its owner
  31.     (maintain canal on river)

Version history

Revision # Author Created at
piyzyaylx Anonymous 26 Mar 2015, 16:58:57 UTC Diff

Comments