Commit graph

7241 commits

Author SHA1 Message Date
mattsc
28b05397b6 SotBE S6: fix typo in variable names 2013-12-04 08:50:29 -08:00
mattsc
3cce3ae093 SotBE S6: move unloading code into the AI
This is now possible with the new ai.synced_command Lua AI command and
means that the code does not have to be split between Lua and WML any
more.
2013-12-04 07:30:46 -08:00
mattsc
4aef27a1dd SotBE S6: rename transport AI candidate action file 2013-12-04 07:30:45 -08:00
fendrin
c5826e0bd7 DW: Put the time schedule macros in use. 2013-11-30 21:52:39 +01:00
Bär Halberkamp
8a2cafb943 Fixed indentation 2013-11-30 18:15:50 +01:00
Bär Halberkamp
f05897058a Made the concentration event easier to translate 2013-11-30 18:12:03 +01:00
Bär Halberkamp
2dc2b0acfe Added the concentration mechanic to SoF. Many thanks to mattsc and vultraz for helping me with the code. 2013-11-30 14:35:02 +01:00
Bär Halberkamp
b6692d2471 Changed the flaming sword's code 2013-11-30 14:35:02 +01:00
Bär Halberkamp
cbac0279f6 Gave Kaylan a different portrait and TC 2013-11-30 14:35:02 +01:00
Lari Nieminen
6041a70ea2 New bigmap for Liberty. 2013-11-29 03:52:25 -08:00
Lari Nieminen
a4f8d7e3cf New bigmap for DW. 2013-11-29 01:45:09 -08:00
fendrin
7af0443080 Put time schedule macros in use. 2013-11-27 02:16:17 +01:00
Bär Halberkamp
fb36b15a6a Added the portrait variations to the HTTT code 2013-11-26 20:06:25 +01:00
Bär Halberkamp
2da8f8b603 Unified naming for the Delfador portrait variations 2013-11-26 20:06:25 +01:00
mattsc
f5a842352a SotBE S5: make one of the AI leaders a Death Knight
This is mostly just for variety, but gives the player the option to use
different units types more effectively against one leader than the
other.
2013-11-26 08:19:17 -08:00
mattsc
63e7b16c8b SotBE S15: add some road hexes to western part of map
This has negligible effect on the fighting, but means that Kapou'e
doesn't have to spend many turns drudging through difficult terrain to
get to the signpost at the end of the scenario (if he was involved in
the fighting).
2013-11-26 08:07:08 -08:00
mattsc
2139e1d0d0 SotBE S16: eliminate dependence on luck at scenario start
The difficulty of the scenario depended too much on the success of a
small number of attacks, on whether the player succeeded in killing
one, or even both, of the close enemy leaders on the first turn.
Now, Kapou'e has his own keep, out of reach of the two close enemy
keeps.  Minor changes going along with this are making the two AI
leaders warriors (instead of grunts) and not allowing wolves as
replacements for Jetto and Inarix.
2013-11-26 07:56:37 -08:00
mattsc
8c174aa598 SotBE S8: use healer Micro AI for AI sides 2013-11-26 06:55:05 -08:00
mattsc
6f426eacd5 SotBE S8: give the elves most of the villages at scenario start 2013-11-26 06:54:33 -08:00
mattsc
0977ac2da5 SotBE S7: don't activate bandits until orcs get close 2013-11-25 20:29:35 -08:00
mattsc
754d77bd6d SotBE S7: give side 2 all villages around oasis at start 2013-11-25 20:28:19 -08:00
mattsc
f3535c3a4f SotBE S7: use Simple Attack Micro AI to spread poison 2013-11-25 19:37:21 -08:00
mattsc
0ea4685636 SotBE S10: move objectives from 'prestart' to 'turn 1' event
... so that the first objective is displayed correctly as turn_number
still has the value of the previous scenario's last turn during
prestart and start events.
2013-11-19 13:52:57 -08:00
mattsc
1532d8f2b6 SotBE S6: unload units from galleons preferentially onto land hexes
This is done in Lua, so that it can easily be integrated into the AI
once the AI functionality for synced commands has been committed.
2013-11-19 08:38:08 -08:00
8573
ef73e1d08c Fix straight apostrophes in player-visible text.
Fix four instances — one in The Rise of Wesnoth’s dialog, two in the
ogre race description, and one in the “LAN server” “motd” — of the
straight apostrophe (U+0027 ' APOSTROPHE) being used in player-visible
text, where the typographic apostrophe (U+2019 ’ RIGHT SINGLE QUOTATION
MARK) ought to be used instead.
2013-11-18 00:58:56 +00:00
mattsc
964973d567 AToTB: crop campaign icon
So that it fits into the space (and wreath) of the campaign selection
dialog.
This fixes bug #20935.
2013-11-15 21:40:37 -08:00
Alarantalara
e17213a48c Change variable to #ifdef 2013-11-15 22:59:51 -05:00
Alarantalara
e9dafa52e1 Track life of Nym and Zhul by existence, not separate variables 2013-11-14 22:42:25 -05:00
Alarantalara
6b8fc0b3af Fix ally death
Simplify filter
Fix bug in which if the ally dies in the rescue scenario, he is also
considered to have died in the epilogue changing the final dialog
Change to a last breath event since the unit speaks in it (but was
concealed by variable name from wmllint)
Removes variable ally_dead
2013-11-14 22:30:49 -05:00
Alarantalara
1a654391df Convert nested if structure to while loop 2013-11-14 20:53:15 -05:00
Alarantalara
8a65202fc8 Spawn minions in loop/event instead of macro copies 2013-11-14 20:45:04 -05:00
Alarantalara
81d36dbc24 Change name to result
Documented key says result is correct key.
2013-11-14 19:03:56 -05:00
mattsc
9d6331ac19 SotBE S13: move images in two messages to the right
... so that they don't cover the speakers.
2013-11-14 10:31:26 -08:00
mattsc
0859124926 SotBE S12: move image in a message to the right
... so that it doesn't cover the speaker.
2013-11-14 10:30:57 -08:00
mattsc
86624051d2 SotBE S6: move image in a message to the right
... so that it doesn't cover the speaker.
2013-11-14 10:30:40 -08:00
mattsc
acc32219c6 SotBE S9: move images in some messages to the right
... so that they don't cover the speakers.
2013-11-14 10:30:16 -08:00
mattsc
7d378fabde SotBE S10: fix placement of quotes 2013-11-14 09:56:04 -08:00
mattsc
f727785e6e SotBE transport AI code: replace tabs by spaces 2013-11-14 09:36:00 -08:00
mattsc
e2d14ff3d5 SotBE S12-19: remove unnecessary keys from [side] tags 2013-11-14 09:22:53 -08:00
mattsc
683ef52558 SotBE S18: make Howgarth's death result in defeat
It says so in the objectives, but the event was missing.
2013-11-14 09:12:41 -08:00
mattsc
70754c277b SotBE S18: move images in some messages to the right
... so that they don't cover the speakers.
2013-11-14 08:54:54 -08:00
mattsc
c3bcb6f687 SotBE S18: make Shan Taum death dialog work even if ...
... Kapou'e kills him himself.
2013-11-14 08:52:06 -08:00
mattsc
37517f03be SotBE S18: use simpler and more robust check for afternoon time
This one will also happen in the afternoon if the scenario start time
of day gets changed.
2013-11-14 08:41:04 -08:00
mattsc
b992e92b74 SotBE S18: make Shan Taum's move contiguous
It didn't save much time to skip part of it and looked strange.
2013-11-14 08:31:17 -08:00
mattsc
a3d4ef6494 SotBE S18: fix coordinates of fake unit move
... to end where the unit appears.
2013-11-14 08:28:28 -08:00
mattsc
baca881d25 SotBE S17: move images in some messages to the right
... so that they don't cover the speakers.
2013-11-14 07:58:30 -08:00
mattsc
954a0d9dd5 SotBE S17: remove commented out code 2013-11-14 07:52:40 -08:00
mattsc
e5905f05ee SotBE S17: put repetitive human reinforcement code into a macro 2013-11-14 07:50:04 -08:00
mattsc
25ffddee9e SotBE S16: remove objectives that do not apply
Al'Brock and Flar'Tar are not present in this scenario.
2013-11-14 07:34:30 -08:00
mattsc
f1bd037b26 SotBE S16: move images in some messages to the right
... so that they don't cover the speakers.
2013-11-14 07:05:22 -08:00