NationStates Optimization Assistant

Provides links from NationStates issue pages to their NationStates Issue Results pages (http://www.mwq.dds.nl/ns/results/) in a new tab, and highlights stats on there in a way that should make it easier for you to determine how good or bad the option is for you (put the stats in one of the two arrays at the top of the code).

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.6 2024-08-21

    Some code optimization performed by Nanocyberia

  • v1.5 2024-08-20

    Made current url detection a little more versatile (should make it work with http/https better), thanks Nanocyberia for the fix
    Adjusted regex to detect Eco-conservatism correctly (it wasn't expecting the hyphen before)

  • v1.4 2024-08-15

    Fixed some bugs:
    - Entries with a effect (like "±X" rather than usual "±X to ±X") are now supported. As they're no longer always highlighted white, removed mentions that you should keep "ignored" stats from being highlighted white. They'll still remain gray by default though.
    - Code now should correctly differentiate between "Average Income", "Average Income of the Poor", and "Average Income of the Rich", no longer highlighting them the same.

  • v1.3 2024-08-14

    Added additional formatting options based on maximization/optimization (off by default, uncomment to enable), plus some tweaks to make relevant code run only on relevant website rather than on both. Also added "external link" image near the link on NationStates.

    Thanks to the Planetary Ring Space Station of Nanocyberia for contributing!

  • v1.2 2024-08-12
  • v1.1 2024-08-12
  • v1.0 2024-08-12