1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Move a setting to show enchanting success chance from GUI to Game section

This commit is contained in:
Andrei Kortunov 2017-06-03 23:03:24 +04:00
parent 9a1ba1e559
commit f4a187a9c2
4 changed files with 15 additions and 15 deletions

View File

@ -181,7 +181,7 @@ namespace MWGui
mBuyButton->setCaptionWithReplacing("#{sCreate}");
bool enabled = Settings::Manager::getBool("show enchant chance","GUI");
bool enabled = Settings::Manager::getBool("show enchant chance","Game");
mChanceLayout->setVisible(enabled);

View File

@ -127,14 +127,3 @@ The default value is "1.0 0.15 0.15 1.0" which is a bright red color.
This setting can only be configured by editing the settings configuration file.
This setting has no effect if the crosshair setting in the HUD Settings Section is false.
This setting has no effect if the show owned setting in the Game Settings Section is false.
show enchant chance
----------------
:Type: boolean
:Range: True/False
:Default: False
Whether or not the chance of success will be displayed in the enchanting menu.
The default value is false. This setting can only be configured by editing the settings configuration file.

View File

@ -40,6 +40,17 @@ If this setting is true, melee weapons reach and speed will be showed on item to
The default value is false. This setting can only be configured by editing the settings configuration file.
show enchant chance
-------------------
:Type: boolean
:Range: True/False
:Default: False
Whether or not the chance of success will be displayed in the enchanting menu.
The default value is false. This setting can only be configured by editing the settings configuration file.
best attack
-----------

View File

@ -141,9 +141,6 @@ werewolf overlay = true
color background owned = 0.15 0.0 0.0 1.0
color crosshair owned = 1.0 0.15 0.15 1.0
# Show success probability in self-enchant dialog
show enchant chance = false
[HUD]
# Displays the crosshair or reticle when not in GUI mode.
@ -161,6 +158,9 @@ show projectile damage = false
# Show additional melee weapon info: reach and attack speed
show melee info = false
# Show success probability in self-enchant dialog
show enchant chance = false
# Always use the best mode of attack: e.g. chop, slash or thrust.
best attack = false