EMFTeam / EMF

Extended Mechanics & Flavor
34 stars 18 forks source link

[SWMH] Solve syntactic issues with `misc_old_gods_events.txt` #665

Closed zijistark closed 4 years ago

zijistark commented 4 years ago

From the error.log on base SWMH:

/--------------------------------------------------------------\
|                      INVALID TOKEN (!!)                      |
+---------------------------------+------+---------------------+
|                        Filename | Line |           Bad Token |
+---------------------------------+------+---------------------+
| events/misc_old_gods_events.txt | 1166 |               title |
|                                 | 1167 |                desc |
|                                 | 1169 |             picture |
|                                 | 1170 |              border |
|                                 | 1172 |   is_triggered_only |
|                                 | 1174 |              option |
|                                 | 1183 |               title |
|                                 | 1184 |                desc |
|                                 | 1186 |             picture |
|                                 | 1187 |              border |
|                                 | 1189 |   is_triggered_only |
|                                 | 1191 |              option |
|                                 | 1199 |               title |
|                                 | 1200 |                desc |
|                                 | 1202 |             picture |
|                                 | 1203 |              border |
|                                 | 1205 |   is_triggered_only |
|                                 | 1207 |              option |
|                                 | 1214 |               title |
|                                 | 1215 |                desc |
|                                 | 1217 |             picture |
|                                 | 1218 |              border |
|                                 | 1220 |   is_triggered_only |
|                                 | 1222 |              option |
|                                 | 1230 |               title |
|                                 | 1231 |                desc |
|                                 | 1233 |             picture |
|                                 | 1234 |              border |
|                                 | 1236 |   is_triggered_only |
|                                 | 1238 |              option |
|                                 | 1245 |               title |
|                                 | 1246 |                desc |
|                                 | 1248 |             picture |
|                                 | 1249 |              border |
|                                 | 1251 |   is_triggered_only |
|                                 | 1253 |              option |
|                                 | 1261 |               title |
|                                 | 1262 |                desc |
|                                 | 1264 |             picture |
|                                 | 1265 |              border |
|                                 | 1267 |   is_triggered_only |
|                                 | 1269 |              option |
|                                 | 1276 |               title |
|                                 | 1277 |                desc |
|                                 | 1279 |             picture |
|                                 | 1280 |              border |
|                                 | 1282 |   is_triggered_only |
|                                 | 1284 |              option |
|                                 | 1292 |               title |
|                                 | 1293 |                desc |
|                                 | 1295 |             picture |
|                                 | 1296 |              border |
|                                 | 1298 |   is_triggered_only |
|                                 | 1300 |              option |
|                                 | 1309 |               title |
|                                 | 1310 |                desc |
|                                 | 1312 |             picture |
|                                 | 1313 |              border |
|                                 | 1315 |       only_playable |
|                                 | 1317 |             trigger |
|                                 | 1323 | mean_time_to_happen |
|                                 | 1327 |              option |
|                                 | 1343 |               title |
|                                 | 1344 |                desc |
|                                 | 1346 |             picture |
|                                 | 1347 |              border |
|                                 | 1349 |       only_playable |
|                                 | 1351 |             trigger |
|                                 | 1357 | mean_time_to_happen |
|                                 | 1361 |              option |
|                                 | 1377 |               title |
|                                 | 1378 |                desc |
|                                 | 1380 |             picture |
|                                 | 1381 |              border |
|                                 | 1383 |       only_playable |
|                                 | 1385 |             trigger |
|                                 | 1391 | mean_time_to_happen |
|                                 | 1395 |              option |
|                                 | 1408 |         hide_window |
|                                 | 1409 |   is_triggered_only |
|                                 | 1411 |       only_playable |
|                                 | 1413 |             trigger |
|                                 | 1423 |           immediate |
|                                 | 1433 |         hide_window |
|                                 | 1434 |   is_triggered_only |
|                                 | 1436 |       only_playable |
|                                 | 1438 |             trigger |
|                                 | 1455 |           immediate |
|                                 | 1466 |         hide_window |
|                                 | 1468 |             min_age |
|                                 | 1469 |            only_men |
|                                 | 1470 |            prisoner |
|                                 | 1471 |             culture |
|                                 | 1473 |             trigger |
|                                 | 1487 | mean_time_to_happen |
|                                 | 1491 |           immediate |
|                                 | 1501 |               title |
|                                 | 1502 |                desc |
|                                 | 1504 |             picture |
|                                 | 1505 |              border |
|                                 | 1507 |   is_triggered_only |
|                                 | 1509 |              option |
|                                 | 1522 |              option |
|                                 | 1535 |              option |
|                                 | 1572 |              option |
|                                 | 1583 |               title |
|                                 | 1584 |                desc |
|                                 | 1586 |             picture |
|                                 | 1587 |              border |
|                                 | 1589 |   is_triggered_only |
|                                 | 1591 |              option |
\--------------------------------------------------------------/
/-------------------------------------------------------------------\
|                       INVALID TRIGGER (!!)                        |
+--------------------------+---------------------------------+------+
|              Bad Trigger |                        Filename | Line |
+--------------------------+---------------------------------+------+
| random_neighbor_province | events/misc_old_gods_events.txt | 1039 |
\-------------------------------------------------------------------/
zijistark commented 4 years ago

Working on this now.

zijistark commented 4 years ago

Fixed with this commit to SWMH:

https://github.com/Aasmul/SWMH-BETA/commit/7fd50209aa35020cedd9131b466a05113439a8ff