FuelRats / pipsqueak

ED Fuel rats IRC bot
Other
13 stars 14 forks source link

Features/landmarks #192

Closed dewiniaid closed 7 years ago

dewiniaid commented 7 years ago

Adds configurable landmark systems and fixes a few bugs.

Landmarks

When announcing a new rescue, the nearest landmark system and distance to it is displayed if the reported system has known coordinates. This helps provide a quick identifier for "Might be a LRR" and may help quickly identify systems to a rat who might be a long way from the bubble but close-ish to a client. If the system is not in EDDB, this is also displayed.

The number of defined landmarks should probably be kept low. I used Sol, Sagittarius A*, Colonia and Beagle Point in dev.

New command: !landmark - Lists or modifies landmark starsystems. !landmark list - Lists all known landmarks in a PM. !landmark near <system> - Find the landmark closest to !landmark add <system> - Adds the listed starsystem as a landmark system. (Overseer Only) !landmark del <system> - Removes the listed starsystem from the landmark system lists. (Overseer Only) !landmark refresh - Updates all landmarks to match their current listed EDDB coordinates. (Overseer Only)

Bugfixes

MECHA-199 Ensure RatMama trigger input is sanitized MECHA-197 Duplicate case created - same IRC name MECHA-196 Display cae number on client re-entry to IRC

Other

Also has some starsystem refresh performance improvements.