Fjordur Setting

- added UseFjordurTraversalBuff setting to rules.
This commit is contained in:
Brett Hewitson 2022-06-16 12:26:51 +10:00
parent 10506765fb
commit 1bf04ed33e
5 changed files with 61 additions and 6 deletions

View file

@ -1540,9 +1540,9 @@
<sys:String x:Key="ServerSettings_HexagonsLabel">Hexagons</sys:String>
<sys:String x:Key="ServerSettings_DisableHexagonStoreLabel">Disable Hexagon Store</sys:String>
<sys:String x:Key="ServerSettings_DisableHexagonStoreTooltip">Is enabled, the hexagon store will be disabled.</sys:String>
<sys:String x:Key="ServerSettings_DisableHexagonStoreTooltip">If enabled, the hexagon store will be disabled.</sys:String>
<sys:String x:Key="ServerSettings_HexStoreAllowOnlyEngramTradeOptionLabel">Allow Only Engram Points Trade</sys:String>
<sys:String x:Key="ServerSettings_HexStoreAllowOnlyEngramTradeOptionTooltip">Is enabled, only engram points can be sold on the Hexagon store.</sys:String>
<sys:String x:Key="ServerSettings_HexStoreAllowOnlyEngramTradeOptionTooltip">If enabled, only engram points can be sold on the Hexagon store.</sys:String>
<sys:String x:Key="ServerSettings_MaxHexagonsPerCharacterLabel">Max Hexagons per Character</sys:String>
<sys:String x:Key="ServerSettings_MaxHexagonsPerCharacterTooltip">Specifies the maximum number of hexagons that each player can have.</sys:String>
<sys:String x:Key="ServerSettings_HexagonRewardMultiplierLabel">Hexagon Reward Multiplier</sys:String>
@ -1550,6 +1550,10 @@
<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_FjordurLabel">Fjordur</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_ItemStatClampsLabel">Item Stat Clamps</sys:String>
<sys:String x:Key="ServerSettings_ItemStatClampsNoteLabel">WARNING: This will permanently change the stats of any existing items so make sure to backup your current save before modifying and playing with the clamping values.</sys:String>
<sys:String x:Key="ServerSettings_ItemStatClamps_GenericQualityLabel">Generic Quality</sys:String>

View file

@ -1811,6 +1811,14 @@ namespace ServerManagerTool.Lib
set { SetValue(HexagonCostMultiplierProperty, value); }
}
public static readonly DependencyProperty UseFjordurTraversalBuffProperty = DependencyProperty.Register(nameof(UseFjordurTraversalBuff), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules)]
public bool UseFjordurTraversalBuff
{
get { return (bool)GetValue(UseFjordurTraversalBuffProperty); }
set { SetValue(UseFjordurTraversalBuffProperty, value); }
}
public bool ClampItemStats
{
get
@ -5647,6 +5655,8 @@ namespace ServerManagerTool.Lib
this.ClearValue(HexagonRewardMultiplierProperty);
this.ClearValue(HexagonCostMultiplierProperty);
this.ClearValue(UseFjordurTraversalBuffProperty);
this.ClearNullableValue(ItemStatClamps_GenericQualityProperty);
this.ClearNullableValue(ItemStatClamps_ArmorProperty);
this.ClearNullableValue(ItemStatClamps_MaxDurabilityProperty);
@ -6366,6 +6376,8 @@ namespace ServerManagerTool.Lib
this.SetValue(HexagonRewardMultiplierProperty, sourceProfile.HexagonRewardMultiplier);
this.SetValue(HexagonCostMultiplierProperty, sourceProfile.HexagonCostMultiplier);
this.SetValue(UseFjordurTraversalBuffProperty, sourceProfile.UseFjordurTraversalBuff);
this.SetNullableValue(ItemStatClamps_GenericQualityProperty, sourceProfile.ItemStatClamps_GenericQuality);
this.SetNullableValue(ItemStatClamps_ArmorProperty, sourceProfile.ItemStatClamps_Armor);
this.SetNullableValue(ItemStatClamps_MaxDurabilityProperty, sourceProfile.ItemStatClamps_MaxDurability);

View file

@ -2145,6 +2145,21 @@
</Grid>
</GroupBox>
<GroupBox Header="{DynamicResource ServerSettings_FjordurLabel}" Style="{StaticResource GroupBoxStyle}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<CheckBox Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding UseFjordurTraversalBuff}" Content="{DynamicResource ServerSettings_UseFjordurTraversalBuffLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseFjordurTraversalBuffTooltip}"/>
</Grid>
</GroupBox>
<GroupBox Header="{DynamicResource ServerSettings_ItemStatClampsLabel}" Style="{StaticResource GroupBoxStyle}">
<Grid>
<Grid.RowDefinitions>

View file

@ -9,10 +9,10 @@
<entry>
<id>urn:uuid:93A04A12-C632-4C2B-AC76-42D9E476431C</id>
<title>1.1.432 (1.1.432.3)</title>
<summary>1.1.432.3</summary>
<title>1.1.432 (1.1.432.4)</title>
<summary>1.1.432.4</summary>
<link href="" />
<updated>2022-06-13T00:00:00Z</updated>
<updated>2022-06-16T00: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>
@ -20,6 +20,7 @@
<br/>
<ul>
<li>Reset Server - added new button to reset your server. This will delete all server, player and tribe files and reset your server back to new.</li>
<li>Profile Settings - Rules Section - Added UseFjordurTraversalBuff setting. Located in the Fjordur group at the bottom of the Rules section.</li>
</ul>
<u style="font-size: .9em;">CHANGE</u>
<br/>

View file

@ -8,7 +8,30 @@
<updated>2022-06-16T00:00:00Z</updated>
<entry>
<id>urn:uuid:93A04A12-C632-4C2B-AC76-42D9E476431C</id>
<id>urn:uuid:DB240E90-17B0-4DE1-B60B-0D5E4753810F</id>
<title>1.1.432 (1.1.432.4)</title>
<summary>1.1.432.4</summary>
<link href="" />
<updated>2022-06-16T00: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;">NEW</u>
<br/>
<ul>
<li>Profile Settings - Rules Section - Added UseFjordurTraversalBuff setting. Located in the Fjordur group at the bottom of the Rules section.</li>
</ul>
</p>
</div>
</content>
<author>
<name>bletch</name>
<email>bletch1971@hotmail.com</email>
</author>
</entry>
<entry>
<id>urn:uuid:EB7309A6-5E1F-4F97-A813-CDCFC51A9A7C</id>
<title>1.1.432 (1.1.432.3)</title>
<summary>1.1.432.3</summary>
<link href="" />