Commit 4194828
committed
Add escort missions for building improvements
AI now has the ability to create escort missions for Great Generals,
Archaeologists and regular Workers. Previously they could only do it for
Settlers, Great Merchants and diplomat units. Future consideration for
Great Prophets or perhaps all missionary units.
AI will now escort Great Generals when they are building citadels. As
well as when they are moving between cities.
AI can now escort Archaeologists and Workers when they are building
outside of friendly territory.
AI can now escort workers moving between different non-contiguous parts
of their empire.
Consolidate archaeology logic into the regular worker logic.1 parent 54dee87 commit 4194828
16 files changed
Lines changed: 863 additions & 334 deletions
File tree
- (1) Community Patch/Database Changes/Units
- CvGameCoreDLLUtil/include
- CvGameCoreDLL_Expansion2
- Lua
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
17 | 29 | | |
18 | 30 | | |
| |||
1061 | 1073 | | |
1062 | 1074 | | |
1063 | 1075 | | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
1064 | 1119 | | |
1065 | 1120 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2564 | 2564 | | |
2565 | 2565 | | |
2566 | 2566 | | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
2567 | 2570 | | |
2568 | 2571 | | |
2569 | 2572 | | |
| |||
0 commit comments