Skip to content

Commit d763968

Browse files
authored
Merge develop into master (#105)
* adding lua formatter config * updated formatting * updated formatting of maps files * updated formatting of tabs files * updated formatting of main files * updated more formatting * added option to hide window on travel skill use * changed order of options in general options panel * fixed buggy behaviour on pressing escape and f12 * fixed whitespace * renamed two global variables * some beta19 preparation changes * renamed global variable * Added port to Thorenhad * adding metadata * added Yondershire skill * set pluginversion to 20 * replaced options in plugin manager with a simple button opening the options window * updated changelog
1 parent 908488c commit d763968

9 files changed

+41
-18
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## v1.0.20beta
4+
- added Yondershire port
5+
- worked around plugin manager causing client crash; replaced the manager options with a button opening the actual options window
36
## v1.0.19beta
47
- added new option to close Travel Window when using a travel skill regardless of window mode
58
- updated behaviour of Travel Window when using function key and escape to hide the UI, should now handle all cases correctly

TravelWindowII.plugin

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Information>
44
<Name>Travel Window II</Name>
55
<Author>Hyoss</Author>
6-
<Version>v1.0.19beta</Version>
6+
<Version>v1.0.20beta</Version>
77
<Description>
88
This plugin creates a single window that contains all the available travel skills, including the race, class and reputation skills.
99
It is a further development of Travel Window, that has been worked on by multiple authors before.

TravelWindowII.plugincompendium

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PluginConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<Id>1113</Id>
44
<Name>Travel Window II</Name>
5-
<Version>v1.0.19beta</Version>
5+
<Version>v1.0.20beta</Version>
66
<Author>Hyoss</Author>
77
<InfoUrl>http://www.lotrointerface.com/downloads/info1113</InfoUrl>
88
<DownloadUrl>http://www.lotrointerface.com/downloads/download1113</DownloadUrl>

doc/lotroforums.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
A new version is available!
22

3-
- added new option to close Travel Window when using a travel skill regardless of window mode
4-
- updated behaviour of Travel Window when using function key and escape to hide the UI, should now handle all cases correctly
5-
- added Tornhad travel skills
6-
- fixed many French Warden skills that were renamed by SSG
3+
v1.0.20beta
4+
- added Yondershire port
5+
- worked around plugin manager causing client crash; replaced the manager options with a button opening the actual options window
76

87
Download it at [url=https://www.lotrointerface.com/downloads/fileinfo.php?id=1113]Lotrointerface[/url], [url=https://github.com/wduda/TravelWindowII/releases]GitHub[/url], via [url=https://github.com/JeremyStepp/OneLauncher]OneLauncher[/url] or via [url=https://www.lotrointerface.com/downloads/info663-LOTROPluginCompendium.html]Plugin Compendium[/url].

doc/lotrointerface.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ These three options work:
1919
[*] right-click anywhere on TW II, select "Check untrained skills" from the menu, the skill will show up
2020
[*] open options window, go to Enable tab, click "Check untrained skills" button, the skill will show up
2121
[*] relog the character
22-
2322
[/LIST]
2423

2524
Why does my racial skill show up even though I do not have the racial trait equipped?
@@ -43,10 +42,9 @@ How to handle the settings reset introduced by v1.0.7beta?
4342
[/LIST]
4443

4544
Version history:
46-
v1.0.19beta
47-
- added new option to close Travel Window when using a travel skill regardless of window mode
48-
- updated behaviour of Travel Window when using function key and escape to hide the UI, should now handle all cases correctly
49-
- added Tornhad travel skills
50-
- fixed many French Warden skills that were renamed by SSG
45+
v1.0.20beta
46+
- added Yondershire port
47+
- worked around plugin manager causing client crash; replaced the manager options with a button opening the actual options window
48+
5149

5250
Rest of changelog found [URL="https://github.com/wduda/TravelWindowII/blob/master/CHANGELOG.md"]here[/URL].

src/IndexedDictionaryDe.lua

+7-4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function TravelDictionaries:CreateDictionaries()
160160
hunterLocations:AddSkill("Führer zum Prachttor", "0x7005D487", "Prachttor (Führer)");
161161
hunterLocations:AddSkill("Führer nach Leitstáth", "0x7005D47D", "Leitstáth (Führer)");
162162
hunterLocations:AddSkill("Führer nach Tornhad", "0x70060EA6", "Tornhad (Führer)");
163+
hunterLocations:AddSkill("Führer nach Neuhausen", "0x7006133F", "Neuhausen (Führer)");
163164

164165
wardenLocations:AddSkill("Appell in der Feste Guruth", "0x70014786", "Feste Guruth (Appell)");
165166
wardenLocations:AddSkill("Appell in Esteldín", "0x70014798", "Esteldín (Appell)");
@@ -202,6 +203,7 @@ function TravelDictionaries:CreateDictionaries()
202203
wardenLocations:AddSkill("Heerschau am Prachttor", "0x7005D48A", "Prachttor (Appell)");
203204
wardenLocations:AddSkill("Heerschau in Leitstáth", "0x7005D488", "Leitstáth (Appell)");
204205
wardenLocations:AddSkill("Heerschau in Tornhad", "0x70060EA5", "Tornhad (Appell)");
206+
wardenLocations:AddSkill("Heerschau in Neuhausen", "0x7006133E", "Neuhausen (Appell)");
205207

206208
racialLocations:AddSkill("Rückkehr nach Bree", "0x700062F6", "Bree (Rasse)");
207209
racialLocations:AddSkill("Rückkehr ins Auenland", "0x700062C8", "Michelbinge (Rasse)");
@@ -268,10 +270,11 @@ function TravelDictionaries:CreateDictionaries()
268270
repLocations:AddSkill("Kehrt nach Schragen zurück.", "0x70059D12", "Schragen (Ruf)");
269271
repLocations:AddSkill("Rückkehr nach Akrâz-zahar", "0x7005AA90", "Akrâz-zahar (Ruf)");
270272
repLocations:AddSkill("Rückkehre nach Azanulbizar", "0x7005AA92", "Azanulbizar (Ruf)");
271-
repLocations:AddSkill("Reise zur Halle Vérnozal", "0x7005A596", "Vérnozal (Rep)");
272-
repLocations:AddSkill("Rückkehr zum Prachttor", "0x7005D47C", "Prachttor (Rep)");
273-
repLocations:AddSkill("Rückkehr nach Leitstáth", "0x7005D484", "Leitstáth (Rep)");
274-
repLocations:AddSkill("Kehrt nach Tornhad zurück.", "0x70060EA8", "Tornhad (Rep)");
273+
repLocations:AddSkill("Reise zur Halle Vérnozal", "0x7005A596", "Vérnozal (Ruf)");
274+
repLocations:AddSkill("Rückkehr zum Prachttor", "0x7005D47C", "Prachttor (Ruf)");
275+
repLocations:AddSkill("Rückkehr nach Leitstáth", "0x7005D484", "Leitstáth (Ruf)");
276+
repLocations:AddSkill("Kehrt nach Tornhad zurück.", "0x70060EA8", "Tornhad (Ruf)");
277+
repLocations:AddSkill("Kehrt nach Neuhausen zurück.", "0x70061340", "Neuhausen (Ruf)");
275278

276279
-- monster player maps
277280
creepLocations:AddSkill("Kartenskizze zum Gramfuss", "0x70028BBC");

src/IndexedDictionaryEn.lua

+3
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function TravelDictionaries:CreateDictionaries()
160160
hunterLocations:AddSkill("Guide to the Noble Gate", "0x7005D487", "Noble Gate (Guide)");
161161
hunterLocations:AddSkill("Guide to Leitstáth", "0x7005D47D", "Leitstáth (Guide)");
162162
hunterLocations:AddSkill("Guide to Tornhad", "0x70060EA6", "Tornhad (Guide)");
163+
hunterLocations:AddSkill("Guide to Nobottle", "0x7006133F", "Nobottle (Guide)");
163164

164165
wardenLocations:AddSkill("Muster in Ost Guruth", "0x70014786", "Ost Guruth (Muster)");
165166
wardenLocations:AddSkill("Muster in Esteldín", "0x70014798", "Esteldín (Muster)");
@@ -202,6 +203,7 @@ function TravelDictionaries:CreateDictionaries()
202203
wardenLocations:AddSkill("Muster at the Noble Gate", "0x7005D48A", "Noble Gate (Muster)");
203204
wardenLocations:AddSkill("Muster at Leitstáth", "0x7005D488", "Leitstáth (Muster)");
204205
wardenLocations:AddSkill("Muster at Tornhad", "0x70060EA5", "Tornhad (Muster)");
206+
wardenLocations:AddSkill("Muster at Nobottle", "0x7006133E", "Nobottle (Muster)");
205207

206208
-- add the racial travel skills
207209
racialLocations:AddSkill("Return to Bree", "0x700062F6", "Bree (Racial)");
@@ -275,6 +277,7 @@ function TravelDictionaries:CreateDictionaries()
275277
repLocations:AddSkill("Return to the Noble Gate", "0x7005D47C", "Noble Gate (Rep)");
276278
repLocations:AddSkill("Return to Leitstáth", "0x7005D484", "Leitstáth (Rep)");
277279
repLocations:AddSkill("Return to Tornhad", "0x70060EA8", "Tornhad (Rep)");
280+
repLocations:AddSkill("Return to Nobottle", "0x70061340", "Nobottle (Rep)");
278281

279282
-- monster player maps
280283
creepLocations:AddSkill("Crude Map to Gramsfoot", "0x70028BBC");

src/IndexedDictionaryFr.lua

+4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function TravelDictionaries:CreateDictionaries()
160160
hunterLocations:AddSkill("Guide vers la Porte Noble", "0x7005D487", "Porte Noble (Guide)");
161161
hunterLocations:AddSkill("Guide vers Leitstath", "0x7005D47D", "Leitstath (Guide)");
162162
hunterLocations:AddSkill("Guide vers Tornhad", "0x70060EA6", "Tornhad (Guide)");
163+
hunterLocations:AddSkill("Guide vers Bourdeneuve", "0x7006133F", "Bourdeneuve (Guide)");
163164

164165
wardenLocations:AddSkill("Rassemblement : Ost Guruth", "0x70014786", "Ost Guruth (Rassemblement)");
165166
wardenLocations:AddSkill("Rassemblement : Esteldin", "0x70014798", "Esteldin (Rassemblement)");
@@ -202,6 +203,7 @@ function TravelDictionaries:CreateDictionaries()
202203
wardenLocations:AddSkill("Rassemblement : La Porte Noble", "0x7005D48A", "Porte Noble (Rassemblement)");
203204
wardenLocations:AddSkill("Rassemblement : Leitstath", "0x7005D488", "Leitstath (Rassemblement)");
204205
wardenLocations:AddSkill("Retour à Tornhad", "0x70060EA5", "Tornhad (Rassemblement)");
206+
wardenLocations:AddSkill("Rassemblement à Bourdeneuve", "0x7006133E", "Bourdeneuve (Rassemblement)");
205207

206208
racialLocations:AddSkill("Retour à Bree", "0x700062F6", "Bree (Race)");
207209
racialLocations:AddSkill("Retournez dans la Comté", "0x700062C8", "Comté (Race)");
@@ -272,6 +274,8 @@ function TravelDictionaries:CreateDictionaries()
272274
repLocations:AddSkill("Retourner à la Porte Noble", "0x7005D47C", "Porte Noble (Rep)");
273275
repLocations:AddSkill("Retourner à Leitstath", "0x7005D484", "Leitstath (Rep)");
274276
repLocations:AddSkill("Retournez voir Tornhad", "0x70060EA8", "Tornhad (Rep)");
277+
repLocations:AddSkill("Retour à Bourdeneuve", "0x70061340", "Bourdeneuve (Rep)");
278+
275279

276280
-- monster player maps
277281
creepLocations:AddSkill("Carte grossière pour aller au Pied de Gram", "0x70028BBC");

src/TravelWindow.lua

+15-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,20 @@ function TravelWindow:Constructor()
139139

140140
pcall(function()
141141
plugin.GetOptionsPanel = function(self)
142-
return optionsPanel;
142+
local options = Turbine.UI.Control()
143+
options:SetSize(500, 200)
144+
145+
local OptionsButton = Turbine.UI.Lotro.Button()
146+
OptionsButton:SetParent(options)
147+
OptionsButton:SetPosition(100, 100)
148+
OptionsButton:SetSize(200,15)
149+
OptionsButton:SetText(menuOptionsString)
150+
OptionsButton:SetVisible(true)
151+
152+
OptionsButton.Click = function()
153+
TravelWindow:OpenOptions();
154+
end
155+
return options;
143156
end
144157
end);
145158

@@ -809,7 +822,7 @@ function TravelWindow:LoadSettings()
809822
if (not SettingsStrings.pulldownTravel or SettingsStrings.pulldownTravel == "nil") then
810823
SettingsStrings.pulldownTravel = tostring(0);
811824
end
812-
825+
813826
if (not SettingsStrings.hideOnTravel or SettingsStrings.hideOnTravel == "nil") then
814827
SettingsStrings.hideOnTravel = tostring(0);
815828
end

0 commit comments

Comments
 (0)