Planets.nu - Message Links Plugin

Adds links to ships/planets/bases in reports and messages.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
big beefer
日安装量
0
总安装量
173
评分
0 0 0
版本
1.0
创建于
2014-11-27
更新于
2014-11-27
大小
7.9 KB
许可证
暂无
适用于

This add-on improves inter-player communications by adding links into the
message to replace strings of the following formats:

s#XXX
p#XXX
b#XXX

where s, p, b are for ship, planet, base respectively, and XXX is the id
number of the object. The # may be omitted. If the object is found,
the text is replace by a link including the name, that when clicked
selects the object on the map.

Example, the string:

s#42

will be replaced by a link similar to "S#42: GOBRIE CLASS BATTLE CARRIER",
which will also select that ship when clicked.

Version History:
0.3 Adds notes to bottom of ship and planet screens. Applies same link format.
0.4 Adds links to system messages too, searching for "ID#XXX". Simple mided
implementation, will likely give strange results in some corner cases,
such as a planet and a ship having both the same ID *and* name, or a ship
having a name set to the name and ID of a different ship/planet.
0.5 Fixes system message links to handle ship names with special chars.
0.7 Changes link color for new version
1.0 Major update for new version
- now uses plugin toolkit
- fixed some links to stuff owned by others
- added map highlighting of object when selected
- added parsing of formats without the # sign in between, ie. s42 or p123
(this seems to be a more common usage)
- links are now also added to activity feed
- activity feed is detachable, can be viewed as movable window and is visible
on map and other screens