mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Fjordur Settings
- added a checkbox header to the settings to enable/disable.
This commit is contained in:
parent
52fe37c221
commit
711cf955c3
5 changed files with 42 additions and 6 deletions
|
|
@ -1553,7 +1553,7 @@
|
||||||
<sys:String x:Key="ServerSettings_HexagonCostMultiplierLabel">Hexagon Cost Multiplier</sys:String>
|
<sys:String x:Key="ServerSettings_HexagonCostMultiplierLabel">Hexagon Cost Multiplier</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_HexagonCostMultiplierTooltip">Specifies the multiplier for the hexagon cost of items.</sys:String>
|
<sys:String x:Key="ServerSettings_HexagonCostMultiplierTooltip">Specifies the multiplier for the hexagon cost of items.</sys:String>
|
||||||
|
|
||||||
<sys:String x:Key="ServerSettings_FjordurLabel">Fjordur</sys:String>
|
<sys:String x:Key="ServerSettings_FjordurLabel">Enable Fjordur Settings</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_UseFjordurTraversalBuffLabel">Enable Fjordur Biome Teleport</sys:String>
|
<sys:String x:Key="ServerSettings_UseFjordurTraversalBuffLabel">Enable Fjordur Biome Teleport</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_UseFjordurTraversalBuffTooltip">If enabled, will allow biome teleport on Fjordur map.</sys:String>
|
<sys:String x:Key="ServerSettings_UseFjordurTraversalBuffTooltip">If enabled, will allow biome teleport on Fjordur map.</sys:String>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1811,8 +1811,16 @@ namespace ServerManagerTool.Lib
|
||||||
set { SetValue(HexagonCostMultiplierProperty, value); }
|
set { SetValue(HexagonCostMultiplierProperty, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty EnableFjordurSettingsProperty = DependencyProperty.Register(nameof(EnableFjordurSettings), typeof(bool), typeof(ServerProfile), new PropertyMetadata(false));
|
||||||
|
[DataMember]
|
||||||
|
public bool EnableFjordurSettings
|
||||||
|
{
|
||||||
|
get { return (bool)GetValue(EnableFjordurSettingsProperty); }
|
||||||
|
set { SetValue(EnableFjordurSettingsProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
public static readonly DependencyProperty UseFjordurTraversalBuffProperty = DependencyProperty.Register(nameof(UseFjordurTraversalBuff), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
public static readonly DependencyProperty UseFjordurTraversalBuffProperty = DependencyProperty.Register(nameof(UseFjordurTraversalBuff), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules)]
|
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules, ConditionedOn = nameof(EnableFjordurSettings))]
|
||||||
public bool UseFjordurTraversalBuff
|
public bool UseFjordurTraversalBuff
|
||||||
{
|
{
|
||||||
get { return (bool)GetValue(UseFjordurTraversalBuffProperty); }
|
get { return (bool)GetValue(UseFjordurTraversalBuffProperty); }
|
||||||
|
|
|
||||||
|
|
@ -2149,8 +2149,12 @@
|
||||||
</Grid>
|
</Grid>
|
||||||
</GroupBox>
|
</GroupBox>
|
||||||
|
|
||||||
<GroupBox Header="{DynamicResource ServerSettings_FjordurLabel}" Style="{StaticResource GroupBoxStyle}">
|
<GroupBox Style="{StaticResource GroupBoxStyle}">
|
||||||
<Grid>
|
<GroupBox.Header>
|
||||||
|
<cctl:CheckBoxAndTextBlock IsChecked="{Binding EnableFjordurSettings, Mode=TwoWay}" Text="{DynamicResource ServerSettings_FjordurLabel}" />
|
||||||
|
</GroupBox.Header>
|
||||||
|
|
||||||
|
<Grid IsEnabled="{Binding EnableFjordurSettings}">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:FF41F7AB-66B0-4504-9F2C-2E1325DB50E2</id>
|
<id>urn:uuid:FF41F7AB-66B0-4504-9F2C-2E1325DB50E2</id>
|
||||||
<title>1.1.434 (1.1.434.1)</title>
|
<title>1.1.434 (1.1.434.2)</title>
|
||||||
<summary>1.1.434.1</summary>
|
<summary>1.1.434.2</summary>
|
||||||
<link href="" />
|
<link href="" />
|
||||||
<updated>2022-06-22T00:00:00Z</updated>
|
<updated>2022-06-22T00:00:00Z</updated>
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
<br/>
|
<br/>
|
||||||
<ul>
|
<ul>
|
||||||
<li>3rd Party Libraries - updated all library to latest versions.</li>
|
<li>3rd Party Libraries - updated all library to latest versions.</li>
|
||||||
|
<li>Fjordur Settings - added checkbox to enable/disable settings.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,29 @@
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2022-06-22T00:00:00Z</updated>
|
<updated>2022-06-22T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id>urn:uuid:F3965FC7-685F-47DF-9E5B-3BA4D928127F</id>
|
||||||
|
<title>1.1.434 (1.1.434.2)</title>
|
||||||
|
<summary>1.1.434.2</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2022-06-22T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">CHANGE</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Fjordur Settings - added checkbox to enable/disable settings.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>bletch</name>
|
||||||
|
<email>bletch1971@hotmail.com</email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:FF41F7AB-66B0-4504-9F2C-2E1325DB50E2</id>
|
<id>urn:uuid:FF41F7AB-66B0-4504-9F2C-2E1325DB50E2</id>
|
||||||
<title>1.1.434 (1.1.434.1)</title>
|
<title>1.1.434 (1.1.434.1)</title>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue