Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lisa Greene
Tales of MajEyal
Commits
93971d87
Commit
93971d87
authored
4 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
plop
parent
301b73f1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/dialogs/LevelupDialog.lua
+4
-3
4 additions, 3 deletions
game/modules/tome/dialogs/LevelupDialog.lua
with
4 additions
and
3 deletions
game/modules/tome/dialogs/LevelupDialog.lua
+
4
−
3
View file @
93971d87
...
...
@@ -111,7 +111,8 @@ function _M:init(actor, on_finish, on_birth)
end
end
,
__TEXTINPUT
=
function
(
c
)
if
c
==
'x'
then
self
.
show_detailed_progression
=
not
self
.
show_detailed_progression
config
.
settings
.
tome
.
show_detailed_talents_desc
=
not
config
.
settings
.
tome
.
show_detailed_talents_desc
game
:
saveSettings
(
"tome.show_detailed_talents_desc"
,
(
"tome.show_detailed_talents_desc = %s\n"
):
format
(
config
.
settings
.
tome
.
show_detailed_talents_desc
and
"true"
or
"false"
))
self
:
updateTooltip
()
end
if
self
.
focus_ui
.
ui
.
last_mz
then
...
...
@@ -921,7 +922,7 @@ function _M:getStatDesc(item)
end
local
tokenize_number
=
{}
local
tokenize_digit
=
lpeg
.
R
(
"09"
)
local
tokenize_digit
=
lpeg
.
R
(
"09"
)
+
lpeg
.
P
"%"
-- Matches: 10, -10, 0
tokenize_number
.
integer
=
...
...
@@ -979,7 +980,7 @@ function _M:getTalentDesc(item)
end
local
traw
=
self
.
actor
:
getTalentLevelRaw
(
t
.
id
)
if
self
.
show_detailed_
progression
then
if
config
.
settings
.
tome
.
show_detailed_
talents_desc
then
local
list
=
{}
for
i
=
1
,
5
do
local
d
=
self
.
actor
:
getTalentReqDesc
(
item
.
talent
,
i
-
traw
):
toTString
():
tokenize
(
" ()[]"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment