koishi-plugin-tmp-bot 1.8.6 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,5 +81,12 @@ module.exports = async (ctx, cfg, session, tmpId) => {
81
81
  message += ' - '
82
82
  message += await baiduTranslate(ctx, cfg, playerMapInfo.data.location.poi.realName)
83
83
  }
84
+ let patreon = playerInfo.data.patreon
85
+ if (patreon && patreon.active) {
86
+ message += '\n🎁赞助用户'
87
+ if (!patreon.hidden) {
88
+ message += ` (\$${Math.floor(patreon.currentPledge / 100)})`
89
+ }
90
+ }
84
91
  return message
85
92
  }
@@ -117,8 +117,8 @@
117
117
  ets: {
118
118
  tileUrl: 'https://ets-map.oss-cn-beijing.aliyuncs.com/ets2/05102019/{z}/{x}/{y}.png',
119
119
  multipliers: {
120
- x: 71292,
121
- y: 60412
120
+ x: 71282,
121
+ y: 56532
122
122
  },
123
123
  breakpoints: {
124
124
  uk: {
@@ -85,8 +85,8 @@
85
85
  ets: {
86
86
  tileUrl: 'https://ets-map.oss-cn-beijing.aliyuncs.com/ets2/05102019/{z}/{x}/{y}.png',
87
87
  multipliers: {
88
- x: 71292,
89
- y: 60412
88
+ x: 71282,
89
+ y: 56532
90
90
  },
91
91
  breakpoints: {
92
92
  uk: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-tmp-bot",
3
3
  "description": "欧洲卡车模拟2 TMP查询插件,不会部署的可以直接使用此机器人 QQ:3523283907",
4
- "version": "1.8.6",
4
+ "version": "1.10.0",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",