EDDI icon indicating copy to clipboard operation
EDDI copied to clipboard

Update rings from the `SAASignalsFound` event?

Open Tkael opened this issue 4 years ago • 3 comments

  • Add a variable to record when / whether the ring has been mapped?
  • Add a variable to record detected hotspots for that ring?
  • Preserve these properties when syncing data from 3rd parties
  • Add optional Rings to map script, similar to the Bodies to map script? (see description below)

I am trying to add a recommended rings to scan to the "Bodies to map" script, I want it to inform me of icy rings like it does with planets. { if body.rings != 0: {for ring in body.rings: {if ring.composition = "Icy": {if !toMapList[body.shortname]: {set toMapList to cat(toMapList, [body.shortname])} } } } } I have this code after line 45 (test if not star) I haven't been able to find a variable that would tell the script if the ring has been mapped yet, only the planet.

thanks in advance

Originally posted by @TentacleMasterKonami in https://github.com/EDCD/EDDI/discussions/2117

Tkael avatar Feb 23 '21 06:02 Tkael

If possible, a position of hotspots and their size would be great, since you can use that data to find overlaps automatically

TentacleMasterKonami avatar Feb 23 '21 07:02 TentacleMasterKonami

Sorry, but as you can see below hotspot size and position are not available from the messages we receive.

{ "timestamp":"2020-11-27T01:56:06Z", "event":"SAASignalsFound", "BodyName":"Robigo 2 A Ring", "SystemAddress":9463020987689, "BodyID":17, "Signals":[ { "Type":"Alexandrite", "Count":2 }, { "Type":"Monazite", "Count":1 } ] }

Tkael avatar Feb 24 '21 01:02 Tkael

I have raised #2169 Ring hotspots detected not triggering with Ship role set to 'Mining', Tkael asked me to link it here.

fraxinus-e avatar May 17 '21 18:05 fraxinus-e

I've added mapped and hotspots properties to ring objects for the next release. That should allow you to create a Rings to map script.

Tkael avatar Nov 25 '22 08:11 Tkael