17729 Commits

Author SHA1 Message Date
Jérémy Rosen
857e53f001 apply patch #3656 by coffee to simplify terrain WML 2013-02-02 13:02:37 +00:00
J. Tyne
1edf9b8a97 Lost a "first_time_only=no" in 2013-02-02T02:38:46Z!jt_coding@verizon.net. 2013-02-02 03:53:41 +00:00
J. Tyne
fac47d0f34 Make sure the scenario-ending events actually fire;
there was a chance of them not firing ever since WML division was
changed to floating point.

Also changelog entries for this and 2013-02-01T04:48:38Z!jt_coding@verizon.net.
2013-02-02 03:02:20 +00:00
J. Tyne
c0a085108c Define the victory-defining event within the event that makes victory possible. 2013-02-02 02:57:45 +00:00
J. Tyne
5315735d81 Reduce calculations by subtracting 1...
...before calling the REGULAR_RANDOM_SPAWNS macro.
2013-02-02 02:48:10 +00:00
J. Tyne
08730dd872 Simplify the setting of the final turn limit. 2013-02-02 02:40:49 +00:00
J. Tyne
d6853fa5ad Simplify the event extending the turn limit and firing final spawns...
...with more advanced event handling.
2013-02-02 02:38:46 +00:00
J. Tyne
dcb69362ff Remove an unused variable. 2013-02-02 00:23:05 +00:00
J. Tyne
4582bd0e1c Simplify the victory check by nesting events and using [filter_condition]...
...instead of [if].
2013-02-02 00:19:32 +00:00
J. Tyne
3bfb51743b Also decrement the manually-tracked length when clearing a spawn group.
(I forgot to copy that line when converting REMOVE to CLEAR.)
2013-02-01 06:26:51 +00:00
J. Tyne
80caf8623e Use the simpler CLEAR_SPAWN_GROUP instead of the long REMOVE_SPAWN_GROUP. 2013-02-01 05:17:13 +00:00
J. Tyne
a4ced0614e Convert some {VARIABLE_OP X value Y}'s to {VARIABLE X Y}. 2013-02-01 05:06:29 +00:00
J. Tyne
370e7b5fbf Remove some stray dollar signs. 2013-02-01 04:58:07 +00:00
J. Tyne
0982804dc7 Consistency: spawn in the top two rows instead of the top three.
(The other spawn locations cover 2 rows or columns.)
2013-02-01 04:54:50 +00:00
J. Tyne
3a65fbd2c8 Only choose spawn locations that are on-board (not border) locations.
Otherwise the spawning will fail.
2013-02-01 04:48:38 +00:00
J. Tyne
82b26cf7fe Merge an [if] into a [while] conditional...
...so we don't loop more often than is useful.
2013-01-31 23:37:06 +00:00
J. Tyne
4adfa2a576 Solve the "invalid WML array index" messages emitted...
...upon starting turn 2 of Dark Forecast.
2013-01-31 23:04:57 +00:00
J. Tyne
efb6189879 Initialize a variable outside the loop where it is incremented.
This should allow the intended limitation of at most two spawns after
$final_turns.
2013-01-31 06:30:13 +00:00
J. Tyne
80638bdd0e Remove an unsed variable. 2013-01-31 06:22:54 +00:00
J. Tyne
b4a9505e0b Simplify the new_turn event that spawns the waves of creatures. 2013-01-31 06:22:27 +00:00
J. Tyne
7a6c382851 Don't waste time adding and subtracting zero. 2013-01-31 06:04:05 +00:00
J. Tyne
c9627819b2 Move a conditional earlier.
The logic is exactly the same, but this might read a bit better (and
is marginally more efficient).
2013-01-31 06:01:11 +00:00
J. Tyne
b98fcd866e Sides with no_leader=yes have no use for keys from SingleUnitWML. 2013-01-31 05:38:28 +00:00
J. Tyne
067b7bf620 Less round-about way to update the weather. 2013-01-31 05:26:41 +00:00
J. Tyne
72af74ca4d Simplify RANDOMIZE_INDEX, eliminating two temporary variables. 2013-01-31 03:50:25 +00:00
J. Tyne
8dc87d7d82 Simplify how some variables receive their values,
and remove some unused and redundant variables.
2013-01-31 02:15:51 +00:00
J. Tyne
c88846eefb Don't suggest the player can pay fractional gold. 2013-01-30 23:53:20 +00:00
Jérémy Rosen
0562337892 syntax simplification for sounds in animations 2013-01-30 21:52:46 +00:00
Jérémy Rosen
dc02698fa8 change syntax of square bracket animations, ~ is not used for range 2013-01-30 21:37:44 +00:00
Alexander van Gessel
0cd7ab7f48 Apply patch #3622: remove old 'empty' leading animation...
...from drake flare and flameheart.
2013-01-28 20:37:04 +01:00
Nils Kneuper
f429b01c6e updated Italian translation 2013-01-28 07:00:07 +00:00
Jérémy Rosen
27f11c3c49 small cleanup on the animation expansion patch 2013-01-27 12:43:27 +00:00
Jérémy Rosen
5662cbcc38 new syntax for animation lines, simplifies mainline WML quite a bit.
patch by Coffee
2013-01-26 22:33:51 +00:00
J. Tyne
70351c6209 Improve the implementation of parenthetical_split()...
...and make it local to wml_actions.remove_unit_overlay().
2013-01-25 22:10:57 +00:00
Simon Forsyth
f5a4a83def New experimental CAs to improve village capturing and retreat when injured 2013-01-21 19:54:58 +00:00
Matthias Schoeck
40c7046b5a Add new AI aspect leader_ignores_keep.
If set, AI leaders do not move to the closest keep at the beginning of
the turn.  Instead, they participate in the move_to_targets candidate
action (and all other CAs in which they already participated anyway,
of course).  The default value is 'no', which leaves the default
behavior unchanged.
2013-01-20 04:07:08 +00:00
Lari Nieminen
68cd31dc14 Added rhyging5's flames animation frames, provided by artisticdude.
Doesn't include any terrain or macro definitions, only the images.
2013-01-17 09:36:03 +00:00
Ignacio R. Morelle
5f0ce8d010 Make wmllint recognize victory_string, defeat_string,
...gold_carryover_string, and notes_string (all from the [objectives]
tag) as attributes that need to be made translatable
2013-01-17 05:43:48 +00:00
Charles Dang
3c1b40e1b2 Added myself to credits 2013-01-14 01:49:15 +00:00
Simon Forsyth
dd7045ddb5 Allow SoF to continue after gathering materials (bug reported in forums) 2013-01-13 21:28:12 +00:00
Fabian Müller
44a453da3e Report the unit's vision value in the sidebar. 2013-01-13 20:11:15 +00:00
Simon Forsyth
3afbd449ba Do not count regenerating units without moves...
...as having moves in healer support micro AI
2013-01-13 03:54:17 +00:00
Simon Forsyth
1ea4ff0f26 Add healer support micro AI to experimental multiplayer AI 2013-01-12 23:31:59 +00:00
Simon Forsyth
d09dc44505 Promote lurker and Mefisto in Art contributions section...
...in recognition of the large amount of terrain artwork they have
done recently
2013-01-12 22:30:24 +00:00
Fabian Müller
921c415651 Test case for modifing the vision range. 2013-01-12 21:26:24 +00:00
Boldizsár Lipka
84d257f90f Credit irker in about.cfg 2013-01-10 18:06:10 +00:00
Matthias Schoeck
ce6ee7e586 Rename passive_leader_shares_keep candidate action to leader_shares_keep.
This CA is on by default, dealing with a passive leader is only a
special case.  The old syntax still works for backward compatibility
(for both CA and macros).
2013-01-09 17:18:45 +00:00
J. Tyne
110484bca6 Add a variant on parenthetical_split() to helper.lua...
...and use it to fix bug #20401.

If no problems are found with this approach, I can backport it to stable.
2013-01-05 23:47:53 +00:00
Simon Forsyth
8c0f21f9eb Consider regenerating units as effectively unpoisonable 2013-01-05 21:19:38 +00:00
J. Tyne
26c993207b Convert some WML macros and lua functions to use...
...unpoisonable/undrainable instead of not_living.

One remaining use of "not_living" is in the feeding ability.
2013-01-05 18:16:02 +00:00