Merge pull request #4566 from nemaara/tutorial_cleanup

Tutorial: move from title screen to campaign menu
This commit is contained in:
nemaara 2019-11-17 18:06:06 -05:00 committed by GitHub
commit 32eb921d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -6,6 +6,31 @@
# wmlscope: set export=no
[campaign]
id=Tutorial
name= _ "Battle Training"
icon="data/campaigns/tutorial/images/units/quintain.png~RC(magenta>blue)"
image="data/campaigns/tutorial/images/units/quintain.png~RC(magenta>blue)~XBRZ(4)"
abbrev= _ "Tutorial"
rank=1
# put it last when sorted by date
year="9999 AF"
define=TUTORIAL
first_scenario=tutorial
description= _ "Learn the basics of Wesnoth gameplay with a tutorial. Recommended for first time players."
[difficulty]
# The difficulty-select dialog wont be shown to the player, as there's
# only one difficulty. However, if the [campaign] tag doesn't include
# it then a silver instead of gold laurel will be shown in the
# campaigns menu. The label and description will be shown in the
# load-game dialog.
define=NORMAL
default=yes
label= _ "Tutorial"
description= _ "Beginner"
[/difficulty]
[/campaign]
#ifdef TUTORIAL
[binary_path]
path=data/campaigns/tutorial

View file

@ -248,7 +248,6 @@ where
definition = "box_display"
[grid]
{_GUI_BUTTON "tutorial" _"Tutorial" _"Start a tutorial to familiarize yourself with the game"}
{_GUI_BUTTON "campaign" _"Campaigns" _"Start a new single player campaign"}
{_GUI_BUTTON "multiplayer" _"Multiplayer" _"Play multiplayer (hotseat, LAN, or Internet), or a single scenario against the AI"}
{_GUI_BUTTON "load" _"Load" _"Load a saved game"}