Charles Dang
30847b361b
Hornshark: remove unit ids from Clockwork Boy units (bug #24722 )
...
This prevents ID conflicts resulting in certain units disappearing. They weren't
used anywhere in the scenario anyway.
2016-06-06 03:11:31 +11:00
ln-zookeeper
dee6fbf24f
Avoid errors if scenario is played with one of the sides empty
2016-05-08 14:42:23 +03:00
Ignacio R. Morelle
d8db51fa94
ANL: Work around recruit lists being overridden by factions (bug #23593 )
...
This only seems to happen when Use Map Settings is enabled. Using
faction_lock in that case forces the "Custom" faction selection, which
offers all possible leaders from all factions and doesn't override the
recruit lists.
faction_from_recruit would limit the faction selection to Loyalists in
1.10, thus ensuring all leaders are Loyalists with Use Map Settings on,
but that doesn't seem to work right now either. It shouldn't matter for
this scenario anyway as long as the recruit lists are the ones defined
here rather than the faction's.
2015-06-12 05:58:30 -03:00
ln-zookeeper
a07274d849
Fixed players not winning if last enemy is side 2
2014-10-16 21:29:04 +03:00
fendrin
54c15592f7
Put the DEFAULT_SCHEDULE_* macros in use.
2014-06-07 16:49:21 +02:00
fendrin
ebf797f65f
Removed YAMG from the 1.12 branch codebase.
2014-06-04 21:42:18 +02:00
fendrin
2709197594
Refactored the time of day schedule related images and macros.
...
This moves the after the fall schedule into core to grant that the
debian package wesnoth-editor does not depend on wesnoth-utbs.
Also, the images now life in their own subdirectories.
Wmllint has been updated to take care about the changed paths.
2013-12-22 07:32:12 +01:00
Alexander van Gessel
47e311ab9b
Fix some image references in ANL
...
Found by wmlscope
2013-12-22 04:15:10 +01:00
David Mikos
9780a8a53f
Fix missing background dragonguard image in mp map Aethermaw
2013-12-22 10:20:45 +10:30
fendrin
92a6d30ee7
Put the time schedule macros in use.
2013-12-18 00:46:57 +01:00
Andrius Silinskas
da65ff655b
Revert "Added "controller_lock=no" for multiplayer maps."
...
Reverting since "controller_lock" will be set to "no" by default.
This reverts commit 6e337de378
.
2013-10-27 09:13:14 +00:00
Andrius Silinskas
6e337de378
Added "controller_lock=no" for multiplayer maps.
...
These changes guarantees that it will be possible to select any kind of
controller in MP Connect screen in all multiplayer maps.
2013-10-11 20:35:27 +01:00
Alexander van Gessel
38b224c1ff
Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
...
This reverts commit 23b72d6956
.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956
Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
...
This reverts commit 5fa5c03411
, reversing
changes made to 06374c64ba
.
2013-08-08 18:50:46 +02:00
fendrin
5191331565
Grouped the map generators into a folder and added the yamg.
2013-07-20 15:59:29 +02:00
Eric S. Raymond
8c044a01db
Mainline campaigns are wmllint/wmlscope clean again.
...
Unfortunately, this required telling wmlscope to ignore all present
instances of new-style animation wildcarding. Some rather messy changes
to wmlscope will have to be considered if it gets more widely used.
2013-03-28 11:33:43 -04: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é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
Charles Dang
0467098eb7
Use campfire terrain in TSG instead of {ANIMATED_CAMPFIRE} macro
2012-08-25 10:10:06 +00:00
Anonymissimus
e3b1f228ae
fix unresolved references as reported by wmlscope
2012-08-19 19:01:02 +00:00
Steven Panek
2caea903b0
Fixed bug #19677 .
2012-04-30 19:49:59 +00:00
Lari Nieminen
93a0dca160
Changes to the schedules of Fallenstar Lake and Silverhead Crossing,
...
...as requested by Doc Paterson.
2012-04-02 13:20:47 +00:00
Jérémy Rosen
c1ef91f881
remove 4p_Lagoon on Doc Paterson's request
2012-03-07 19:23:20 +00:00
Anonymissimus
3edb598556
fix keys which got lost on some macro deprecation (fix for bug #19400 )
2012-02-08 01:54:57 +00:00
Anonymissimus
631e73b1d3
Make PLACE_HALO a local macro where it's needed.
2012-01-21 19:56:06 +00:00
Anonymissimus
8256ce533a
fix some cropped unit images with previous 2 revisions
2012-01-21 19:26:29 +00:00