比较提交
28 次代码提交
0100d4faf6
...
4.16
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
| 9b655c1848 | |||
| fba862a1ef | |||
| c5a82f86c9 | |||
| 341f07a0f6 | |||
| bead07a0cf | |||
| 407dc14298 | |||
| 7b9de40e57 | |||
| 450cad90b9 | |||
| 739352c641 | |||
| 6ccaa69b5a | |||
| 6ae87cea64 | |||
| f9d3cf6e84 | |||
| 0d5248671f | |||
|
|
634f7b5c6d | ||
|
|
affde86fa9 | ||
| 53bc660b7c | |||
|
|
ec7939be37 | ||
| de1cb88ca8 | |||
|
|
176a0ccf91 | ||
|
|
fde8966292 | ||
|
|
90332bac93 | ||
|
|
014300b239 | ||
| b55d263f25 | |||
| 7c530dc0a1 | |||
| c9ac569694 | |||
|
|
35abf9337b | ||
| c7d11b3e44 | |||
|
|
af3a473fe2 |
@@ -28,6 +28,7 @@ steps:
|
|||||||
- apk update && apk add --no-cache zip
|
- apk update && apk add --no-cache zip
|
||||||
# Delete unneeded files/dirs
|
# Delete unneeded files/dirs
|
||||||
- rm -rf sources/.git
|
- rm -rf sources/.git
|
||||||
|
- rm -rf sources/screenshots
|
||||||
- rm -f sources/.drone.status
|
- rm -f sources/.drone.status
|
||||||
- rm -f sources/.drone.yml
|
- rm -f sources/.drone.yml
|
||||||
- rm -f sources/.luacheckrc
|
- rm -f sources/.luacheckrc
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ read_globals = {
|
|||||||
"EVENT_ACHIEVEMENT_UPDATED",
|
"EVENT_ACHIEVEMENT_UPDATED",
|
||||||
"EVENT_ADD_ON_LOADED",
|
"EVENT_ADD_ON_LOADED",
|
||||||
"EVENT_MANAGER",
|
"EVENT_MANAGER",
|
||||||
"LINK_STYLE_BRACKET",
|
"LINK_STYLE_BRACKETS",
|
||||||
"zo_callLater",
|
"zo_callLater",
|
||||||
|
"zo_strformat",
|
||||||
"ZO_SavedVars",
|
"ZO_SavedVars",
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
## Author: |c87B7CCAsto|r, @Astarax
|
## Author: |c87B7CCAsto|r, @Astarax
|
||||||
## Contact: mail@coded-with-heart.com
|
## Contact: mail@coded-with-heart.com
|
||||||
|
|
||||||
## APIVersion: 100031
|
## APIVersion: 101043
|
||||||
## SavedVariables: ACHIEVEMENT_INFO_DB ACHIEVEMENT_INFO_DB_USE_AW
|
## SavedVariables: ACHIEVEMENT_INFO_DB ACHIEVEMENT_INFO_DB_USE_AW
|
||||||
|
|
||||||
## DependsOn: LibAddonMenu-2.0
|
## DependsOn: LibAddonMenu-2.0
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ function AchievementInfo.onAchievementUpdated(_, achId)
|
|||||||
local percentageStep = false
|
local percentageStep = false
|
||||||
local percentageStepSize = AchievementInfo.settingGet("genShowUpdateSteps")
|
local percentageStepSize = AchievementInfo.settingGet("genShowUpdateSteps")
|
||||||
|
|
||||||
local link = GetAchievementLink(achId, LINK_STYLE_BRACKET)
|
local link = GetAchievementLink(achId, LINK_STYLE_BRACKETS)
|
||||||
local catName = "/"
|
local catName = "/"
|
||||||
|
|
||||||
if categoryId ~= false then
|
if categoryId ~= false then
|
||||||
@@ -67,13 +67,18 @@ function AchievementInfo.onAchievementUpdated(_, achId)
|
|||||||
tmpOutput = tmpOutput .. ", "
|
tmpOutput = tmpOutput .. ", "
|
||||||
end
|
end
|
||||||
|
|
||||||
tmpOutput = tmpOutput .. description .. " "
|
tmpOutput = tmpOutput .. zo_strformat("<<1>>", description) .. " "
|
||||||
tmpOutput = tmpOutput .. AchievementInfo.calcCriteriaColor(numCompleted, numRequired) .. numCompleted .. "|r"
|
tmpOutput = tmpOutput .. AchievementInfo.calcCriteriaColor(numCompleted, numRequired) .. numCompleted .. "|r"
|
||||||
tmpOutput = tmpOutput .. AchievementInfo.clrDefault .. "/" .. "|r"
|
tmpOutput = tmpOutput .. AchievementInfo.clrDefault .. "/" .. "|r"
|
||||||
tmpOutput = tmpOutput .. AchievementInfo.clrCriteriaComplete .. numRequired .. "|r"
|
tmpOutput = tmpOutput .. AchievementInfo.clrCriteriaComplete .. numRequired .. "|r"
|
||||||
tmpOutput = tmpOutput .. AchievementInfo.clrDefault
|
tmpOutput = tmpOutput .. AchievementInfo.clrDefault
|
||||||
|
|
||||||
if AchievementInfo.settingGet("genShowOpenDetailsOnly") == true and numCompleted ~= numRequired then
|
if AchievementInfo.settingGet("genShowOpenDetailsOnly") == true then
|
||||||
|
if numCompleted ~= numRequired then
|
||||||
|
detailOutput[detailOutputCount] = tmpOutput
|
||||||
|
detailOutputCount = detailOutputCount + 1
|
||||||
|
end
|
||||||
|
else
|
||||||
detailOutput[detailOutputCount] = tmpOutput
|
detailOutput[detailOutputCount] = tmpOutput
|
||||||
detailOutputCount = detailOutputCount + 1
|
detailOutputCount = detailOutputCount + 1
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ LANG_STORE.EN.SettingsOption.AddOnEnabled = "AddOn enabled"
|
|||||||
LANG_STORE.EN.SettingsOption.AddOnEnabledTooltip = "Enable or disable this AddOn"
|
LANG_STORE.EN.SettingsOption.AddOnEnabledTooltip = "Enable or disable this AddOn"
|
||||||
LANG_STORE.EN.SettingsOption.AddOnEnabledWarning = "Only the output messages can be disabled here"
|
LANG_STORE.EN.SettingsOption.AddOnEnabledWarning = "Only the output messages can be disabled here"
|
||||||
|
|
||||||
LANG_STORE.EN.SettingsOption.AccountWideEnabled = "Use acctountwide Settings"
|
LANG_STORE.EN.SettingsOption.AccountWideEnabled = "Use account-wide Settings"
|
||||||
LANG_STORE.EN.SettingsOption.AccountWideEnabledTooltip = "Use and save the settings for all of your characters"
|
LANG_STORE.EN.SettingsOption.AccountWideEnabledTooltip = "Use and edit the same settings for all characters"
|
||||||
|
|
||||||
LANG_STORE.EN.SettingsOption.ShowEveryUpdate = "Show every update"
|
LANG_STORE.EN.SettingsOption.ShowEveryUpdate = "Show every update"
|
||||||
LANG_STORE.EN.SettingsOption.ShowEveryUpdateTooltip = "Shows a message on every status update of an achievement. Otherwise the messages appear only in steps of x%"
|
LANG_STORE.EN.SettingsOption.ShowEveryUpdateTooltip = "Shows a message on every status update of an achievement. Otherwise the messages appear only in steps of x%"
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
#### Notable Changes
|
#### Notable Changes
|
||||||
|
|
||||||
|
##### Release 4.15
|
||||||
|
* Fixed "bracket style" of the achievement links, thanks to DakJaniels
|
||||||
|
|
||||||
|
##### Release 4.5
|
||||||
|
* Fixed "ShowDetails" option working only in combination with "ShowOpenDetailsOnly"
|
||||||
|
|
||||||
|
##### Release 4.3
|
||||||
|
* Fixed an error with gendered achievement descriptions
|
||||||
|
|
||||||
##### Release 4.0
|
##### Release 4.0
|
||||||
* Added accountwide settings
|
* Added accountwide settings
|
||||||
* Added an "use accountwide settings" option to the settings of each character
|
* Added an "use accountwide settings" option to the settings of each character
|
||||||
|
|||||||
26
README.md
26
README.md
@@ -1,12 +1,32 @@
|
|||||||
# AchievementInfo
|
# AchievementInfo
|
||||||
|
|
||||||
|
[](https://monitoring.f-brinker.de/status/eso)
|
||||||
[](https://drone.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo)
|
[](https://drone.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo)
|
||||||
[](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/releases)
|
[](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/releases)
|
||||||
|
[](https://www.esoui.com/downloads/info350-AchievementInfo.html)
|
||||||
|
[](https://www.esoui.com/downloads/info350-AchievementInfo.html)
|
||||||
|
|
||||||
This is an **The Elderscrolls Online** addon. [See all details and the download @ESOUI](http://www.esoui.com/downloads/info350-AchievementInfo.html#info).
|
This is a **The Elderscrolls Online** addon. [See all details and the download @ESOUI](http://www.esoui.com/downloads/info350-AchievementInfo.html#info).
|
||||||
|
|
||||||
[Issue-Tracker](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/issues)
|
[Issue-Tracker](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/issues)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
### What is this AddOn about?
|
||||||
|
|
||||||
|
I like achievements, and I like to know what to do to complete them and what type of achievements exist without browsing through the entire achievement catalog: This AddOn displays lightweight chat notifications if you make progress in an achievement (please see the screenshots).
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Shows chat notifications if you do something that is needed for an achievement
|
||||||
|
* Triggers on each action or just in x% steps of the achievement's requirements (configurable)
|
||||||
|
* Can show some details in the chat notification like (kill 250/1000 Humanoids)
|
||||||
|
* You can toggle the notifications for each category
|
||||||
|
* Lightweight: It is not always present and shows up only when necessary
|
||||||
|
* You can enable account-wide settings
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Why is this a public project?
|
## Why is this a public project?
|
||||||
|
|
||||||
In case I quit or pause playing TESO and cannot maintain this addon, feel free to contribute to keep this up to date and running.
|
In case I quit or pause playing TESO and cannot maintain this addon, feel free to contribute to keep this up to date and running.
|
||||||
@@ -14,9 +34,9 @@ I'll still be available here and be able to update the ESOUI page.
|
|||||||
|
|
||||||
## How to contribute?
|
## How to contribute?
|
||||||
|
|
||||||
**IMPORTANT: Github is a mirror.** Please contribute at [git.f-brinker.de/elderscrolls-addon-achievementInfo](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo) - You can login with your Github or Gitlab account (OAuth2).
|
**IMPORTANT: Github is a mirror.** Please contribute at [git.f-brinker.de/elderscrolls-addon-achievementInfo](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo) - You can log in with your Github or Gitlab account (OAuth2).
|
||||||
|
|
||||||
Then, create a fork of the repository, do what you have to do and create a pull-request afterwards. Feel free to contact me any time.
|
Then, create a fork of the repository, do what you have to do, and create a pull-request afterward. Feel free to contact me any time.
|
||||||
|
|
||||||
#### Linting
|
#### Linting
|
||||||
Luacheck is used to check the LUA code. [Documentation](https://luacheck.readthedocs.io/en/stable/index.html)
|
Luacheck is used to check the LUA code. [Documentation](https://luacheck.readthedocs.io/en/stable/index.html)
|
||||||
|
|||||||
二进制
screenshots/chat-1.jpg
普通文件
二进制
screenshots/chat-1.jpg
普通文件
二进制文件未显示。
|
之后 宽度: | 高度: | 大小: 60 KiB |
二进制
screenshots/chat-2.jpg
普通文件
二进制
screenshots/chat-2.jpg
普通文件
二进制文件未显示。
|
之后 宽度: | 高度: | 大小: 21 KiB |
二进制
screenshots/settings.jpg
普通文件
二进制
screenshots/settings.jpg
普通文件
二进制文件未显示。
|
之后 宽度: | 高度: | 大小: 91 KiB |
在新工单中引用
屏蔽一个用户