17715 Commits

Author SHA1 Message Date
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
J. Tyne
ee19578fc4 Suppress the level-up animation when [transform_unit] is used...
...to transform a unit to its normal advancement (for consistency with
transforming to a specified type).
2013-01-05 17:56:39 +00:00
J. Tyne
01c20ecea5 Make it a default to remove poison from immune units.
This impacts wesnoth.transform_unit, [effect]apply_to=type, and
[effect]apply_to=variation.  If desired, the poisoned state can still
be explicitly set for immune units; this change only affects default
behavior, making it correspond better to the core rules.
2013-01-05 17:46:59 +00:00
J. Tyne
7b0a480254 Make Lua's wesnoth.transform_unit() function preserve hit points.
This is actually simpler to implement and is more consistent with the
[transform_unit] tag.  Plus, the wiki documentation for
wesnoth.transform_unit() does not state that the hit points definitely
will be changed (it's a bit vague on that point), so this is
consistent with the existing documentation.
2013-01-05 14:53:05 +00:00
Steven Panek
9bd93c5d60 UtBS: updated strings from wesnoth-help. 2013-01-04 20:06:25 +00:00
Elvish_Hunter
aab7c8afcf Lua: added new helper.shuffle() function 2013-01-03 13:22:15 +00:00
Simon Forsyth
8064f893c0 Recompress human3.png as it was not being loaded properly with my current png library 2013-01-02 05:00:19 +00:00
Ignacio R. Morelle
bafdbfad40 preferences: Better tooltip replacement for the new lobby option...
...from 2013-01-01T19:56:28Z!shadowm@wesnoth.org
2013-01-01 22:34:15 +00:00
Ignacio R. Morelle
0a06043a79 preferences: Demote new lobby option to Advanced Preferences...
...and improve/replace related UI strings to avoid misleading players
2013-01-01 19:56:28 +00:00
Ignacio R. Morelle
30c8f93e6c website: New Year copyright update 2013-01-01 00:47:00 +00:00
Ignacio R. Morelle
0e6e1eb04c gui2/taddon_filter_options: Keep track of the add-on type...
...fields and implement a button to toggle them all at once

Also needed to do some refactoring to achieve the tracking part. Not
that anyone really needs to see that in a separate commit.
2012-12-31 02:28:34 +00:00
Ignacio R. Morelle
21e46bf2ba gui2/taddon_filter_options: Swap left and right option columns
Having the listbox to the right seemed arbitrary and not particularly
pleasing from an aesthetic point of view.
2012-12-31 02:28:17 +00:00
Ignacio R. Morelle
b0c68e6779 gui2/taddon_filter_options: Rearrange grid layout...
...for the areas containing the type checkboxes and the status listbox

The previous grid layout seemed strictly presentational and rather
unhelpful from an organizational/semantic standpoint. The new layout
should also make a couple of upcoming changes to the dialog's widget
arrangement and contents easier to implement.
2012-12-31 02:27:48 +00:00
Alexander van Gessel
d82762b87d Split the 'not_living' unit status into...
...unpoisonable, undrainable and unplagueable
2012-12-31 01:03:53 +01:00
Matthias Schoeck
7d35decc9e Add missing apostrophe 2012-12-30 01:03:30 +00:00