Size: 144
Comment:
|
Size: 238
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
AbandonAllValleys | == AbandonAllValleys == Script to drop all vallys |
Line 4: | Line 5: |
Line 7: | Line 6: |
Line 9: | Line 7: |
if x execute "abandon "+FieldIdToCoords(0) |
if x execute "abandon "+FieldIdToCoords(city.fields[0].id) |
Line 13: | Line 9: |
if x >=0 goto abandonAllValleys | |
Line 14: | Line 11: |
---- ScriptExamples |
AbandonAllValleys
Script to drop all vallys
label abandonAllValleys x = city.fields.length if x execute "abandon "+FieldIdToCoords(city.fields[0].id) x = x-1 if x >=0 goto abandonAllValleys