-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A feature flag denotes whether a scenario uses the new or old format …
…for its metadata. With the old format (legacy scenarios and openBoE scenarios created prior to this PR) everything displays in the scenario picker as before, and scenario designers get 2 text fields to display however they want, and 2 text fields that are pretty much useless. With the new format, Author and Contact info are formatted onto the first line in the scenario picker display. The scenario designer gets 1 line to write a teaser. Fix #593 Also fix a bug where scenario ratings were appearing as integers ingame instead of the correct "G", "PG", etc.
- Loading branch information
1 parent
0f4b112
commit 0afed5d
Showing
22 changed files
with
195 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version='1.0' encoding='UTF-8' standalone='no'?> | ||
<!-- NOTE: This file should be updated to use relative positioning the next time it changes. --> | ||
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?> | ||
<dialog defbtn='okay'> | ||
<pict type='dlog' num='16' top='8' left='8'/> | ||
<text size='large' top='6' left='50' width='256' height='17'>Scenario Advanced Details</text> | ||
|
||
<text top='23' left='50' width='372' height='20'> | ||
You can use this window to edit some of the more esoteric details for your scenario. | ||
</text> | ||
|
||
<led name='adjust' top='56' left='50' size='small'>Adjust difficulty if played by a party stronger than recommended</led> | ||
|
||
<text top='79' left='50' width='120' height='14'>Special on Start:</text> | ||
<field name='oninit' top='78' left='181' width='100' height='16'/> | ||
<button name='pickinit' type='large' top='74' left='290'>Create/Edit</button> | ||
|
||
<text top='107' left='50' width='120' height='14'>Campaign ID:</text> | ||
<field name='cpnid' top='106' left='181' width='100' height='16'/> | ||
<text top='130' left='50' width='400' height='44'> | ||
If your scenario is part of a campaign of several scenarios, | ||
the ID specified here makes it easy to carry information from one scenario to the next. | ||
It should be the same in each scenario in the series. | ||
</text> | ||
|
||
<text top='184' left='50' width='120' height='60'>Default backgrounds:<br/> | ||
Set the default patterns to be shown behind the game screen. | ||
</text> | ||
<button name='bg-out' type='tiny' top='184' left='180'>Outdoors:</button> | ||
<button name='bg-town' type='tiny' top='201' left='180'>In towns:</button> | ||
<button name='bg-dungeon' type='tiny' top='218' left='180'>In dungeons:</button> | ||
<button name='bg-fight' type='tiny' top='235' left='180'>In combat:</button> | ||
|
||
<button name='okay' type='regular' top='304' left='395'>OK</button> | ||
</dialog> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.