248 Commits

Author SHA1 Message Date
Charles Dang
1c9dc4ae3d T S1: fixed initial scenario end prompt
You can't have two events with the same name, and one set to first once. Only the first one will fire.
Use a slightly different name for this one to be clear
2014-12-30 04:28:17 +11:00
Charles Dang
1fab61360d T: moved a wmllint spelling exception to the correct file 2014-12-30 03:49:08 +11:00
Charles Dang
8646c57b77 T S2: initialize starting units in [side]s 2014-12-30 03:47:18 +11:00
Charles Dang
7b899320dd T S1: next_turn var doesn't exist anymore, don't clear it 2014-12-30 03:41:50 +11:00
Charles Dang
a941e3e7d1 T S1: completely refactored scenario code. More tweaks pending 2014-12-30 03:37:49 +11:00
Charles Dang
d6d952a7b1 T S1: initialize Delf in his [side] 2014-12-30 00:29:45 +11:00
Charles Dang
beaf189a6a T: replaced ALL cases of MOVE with MOVE_UNIT and deleted the former 2014-12-30 00:24:55 +11:00
Charles Dang
9b0c1a41bf T: dropped stable_singleplayer ai aliases 2014-12-30 00:11:48 +11:00
Charles Dang
02a79264bd Include utils only once, from main 2014-12-30 00:07:47 +11:00
Charles Dang
124d264f0e Gave the tutorial it's own _main.cfg 2014-12-30 00:05:30 +11:00
Charles Dang
d2fdcefbcb T: dropped variable usage in LABEL and PRINT 2014-12-30 00:00:27 +11:00
Charles Dang
c8756ca92c T S1: beautified map 2014-12-29 23:58:39 +11:00
Charles Dang
d859adef38 Merge util files 2014-12-29 23:48:36 +11:00
Charles Dang
18284fef33 Renamed files for clarity 2014-12-29 23:46:49 +11:00
Charles Dang
62b377235e Tutorial: split S1 map into its own file 2014-12-29 23:41:27 +11:00
ln-zookeeper
366df75cde Switched tutorial Delfador to elvish clothing 2014-10-24 16:27:04 +03:00
Alain O'Dea
877e897f72 Grammar: missing preposition in tutorial 1 victory 2014-06-22 16:37:44 +00:00
ln-zookeeper
91c13b82c0 Fixed Li'sar not carrying over correctly 2014-05-23 22:53:10 +03:00
David Mikos
6eb14d317b Tutorial: add Delfador animation to summon extra quintains 2014-05-03 12:28:13 +09:30
David Mikos
eadfe4a990 Tutorial: set initial facing directions for the player and Delfador 2014-04-26 10:32:43 +09:30
David Mikos
bf81a314a6 Tutorial: add summon quintain animation to Delfador. 2014-04-26 10:28:48 +09:30
aquileia
066ae06083 Reapply a5cb1492c4 on 1_Tutorial.cfg
The tutorial produced a row of warnings because the WML container
next_turn and its members weren't initialized.
2014-04-16 04:39:42 +02:00
Alarantalara
15627a5a1d Clear more instances of upkeep (all campaigns)
Redundant full upkeep values
Loyal trait and upkeep set
Units with canrecruit=yes
2013-11-09 11:22:02 -05:00
David Mikos
dd63f95a7b Tutorial: convert unit WML to new syntax 2013-10-16 17:17:30 +10:30
Adrián Chaves Fernández (Gallaecio)
ce77900176 Removed a trailing parenthesis at the end of a string that made no sense there. 2013-08-12 22:10:13 +02:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956e6316f8b50a6accba607f66cf197a7.
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 5fa5c034110c3c942d299c8fd440297c89aca037, reversing
changes made to 06374c64ba00977a4f720a44108593fc43d5c787.
2013-08-08 18:50:46 +02:00
Elvish_Hunter
605911f179 Removed no longer useful ellipse= key from campaign specific units (tutorial) 2013-07-21 14:26:36 +02:00
Nils Kneuper
c9f6847f66 applied utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 16720 KiB on 404 files
 Optimized size: 15237 KiB
   Total saving: 1482 KiB = 8% decrease
2013-06-23 10:07:53 +02:00
Richard Kettering
daf200f564 New portrait for old-delfador in tutorial. 2013-05-26 02:07:32 -05:00
Ignacio R. Morelle
c6a1b4a9c9 Tutorial scenario 1: suppress warnings...
...about "nonstandard word-wrap style within message"
2013-03-24 10:23:20 +00:00
Richard Kettering
bd6ec9eb94 Updated the konrad and lisar portraits in the tutorial...
...to be the same as the new base portraits in HttT.
2012-10-07 02:20:31 +00:00
J. Tyne
3db9fc8a8a Replace recruits before they are displayed (prerecruit event). 2012-09-06 00:34:21 +00:00
Steven Panek
9974be1d32 Point translators to the community instead of Rusty;...
...improved the po comment in question.
2012-09-02 19:25:44 +00:00
Steven Panek
6e085e542a Rewrote the second sentence in the string that mentions...
...the End Scenario item in the context menu.
2012-09-02 18:57:46 +00:00
J. Tyne
5dc6a7b178 Remove the "End scenario" menu item at the end of tutorial S1. 2012-07-08 17:52:49 +00:00
Iurii Chernyi
94a8e076c6 Add a way to stop the tutorial via a right-click menu,
...instead of getting the answer each turn. Patch #3203 by hankerspace
2012-03-27 22:09:15 +00:00
Lari Nieminen
2fa8388790 Prevented an event intended to be triggered by a player-initiated attack...
...from being triggered by an enemy attack.
2012-02-29 12:20:06 +00:00
Anonymissimus
e0958f0e3b Gendrify a message. (fix for bug #19367) 2012-02-24 01:15:00 +00:00
Nils Kneuper
06a695f04b replace $unit.type by $unit.language_name...
...since in translateable strings .type will always be english (which
is obviously bad for translations) added pofix rules for this and
applied them
2012-02-14 20:13:41 +00:00
Mark de Wever
3b71fb3f64 Properly show narrator messages in the tutorial.
This breaks the string-freeze, so not ported to 1.10.

A better fix for bug #19316.
2012-01-30 18:35:13 +00:00
Mark de Wever
85c3935923 Fixed the translation of some tutorial messages.
The second part of the narrator messages were not translated, not sure
why. This patch is a work-around not a proper fix. Once 1.10 is in its
own branch a proper fix can be committed. That fix will change
translatable strings, and is the reason for a work-around in the trunk.

Fixes bug #19316.
2012-01-29 09:27:40 +00:00
Anonymissimus
3bc6ea611d Fix tutorial units without xp bar. (bug #19279) 2012-01-15 20:49:06 +00:00
Anonymissimus
ac067bb4f6 Remove current_player= setting and add save_id=human_player
(fix for bug #19188)

This causes statistics, scenario overwiew and turn dialog to show the
save_id instead of current_player. This doesn't break stringfreeze
since save_id isn't translatable. Any bug report complaints about
these dialogs no longer showing player name's translation shall be
rejected. >:|

Uninvasive workaround. Adding a dummy side would require many changes
and complicate the wml code. I've been using save_id=human player in
my addon campaign which involves leader change as well sine ever
without anyone complaining so hopefully...
2011-12-20 19:28:13 +00:00
Anonymissimus
68aaf39c11 Revert code-modifying revisions related to bug #19188 conflict-free,
since they break compatibility.

This reverts

2011-12-16T01:24:54Z!anonymissimus@arcor.de
2011-12-16T04:06:47Z!Majora700@gmail.com
2011-12-16T04:08:22Z!Majora700@gmail.com
2011-12-16T04:14:58Z!Majora700@gmail.com
2011-12-16T20:13:27Z!anonymissimus@arcor.de
2011-12-16T20:14:08Z!anonymissimus@arcor.de
2011-12-16T20:48:39Z!Majora700@gmail.com
2011-12-17T09:46:29Z!Majora700@gmail.com
2011-12-18 15:10:16 +00:00
Steven Panek
44cbafee63 Reverted 2011-12-16T20:13:27Z!anonymissimus@arcor.de through 2011-12-16T20:14:24Z!anonymissimus@arcor.de; redid 2011-12-16T04:06:47Z!Majora700@gmail.com right. 2011-12-16 20:48:39 +00:00
Anonymissimus
7b9233abe6 fix bug #19188 the way I envisioned it 2011-12-16 20:14:08 +00:00
Anonymissimus
bbaa97e898 Revert 2011-12-16T04:06:47Z!Majora700@gmail.com, 2011-12-16T04:08:22Z!Majora700@gmail.com and 2011-12-16T04:14:58Z!Majora700@gmail.com.
1. The internal type is a std::string, the lua getters/setters should
reflect that like all the existing ones already do instead of making
implicit conversions.

2. It doesn't make sense to convert the already translated string
into a t_string again upon getting it.

3. The setter in team.cpp you added is redundant.

4. The attribute is apparently not really meant to be modified
by lua or wml so a tag is no good idea.
2011-12-16 20:13:27 +00:00
Steven Panek
380bf42665 And modify current_player as necessary in the tutorial's second scenario... 2011-12-16 04:14:58 +00:00
Steven Panek
c023cd71af If Li'sar is selected in the tutorial,
...change the current_player attribute to suit her. Fixes bug #19188.
2011-12-16 04:08:22 +00:00