OK, in #f63c43c—Add Sitrep to Starlane Bore building I've got a sitrep working for the Bore but the systemname link in the sitrep displays as clickable but doesn't take you to the system. I've tried various other iterations and I either get the same result or the name of the building instead.
I cannot figure out why. Any ideas?
(IIRC this has happened before, the Experimentor monster spawn sitreps spring to mind)
Sitrep coding and clickable links fails
Moderators: Oberlus, Committer
Sitrep coding and clickable links fails
Mat Bowles
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Sitrep coding and clickable links fails
The target object is a system, not a planet, but the tag says planet.
Re: Sitrep coding and clickable links fails
Right, ok, so if the scope is a system the tag has to be system and if the scope is a planet the tag has to be planet and then it all works.Geoff the Medio wrote:The target object is a system, not a planet, but the tag says planet.
I kept looking at various sitreps to see what I'd messed up but the best ones were buildinds that affected planets. Cool, fixed (and done the rest of your corrections on github), will commit in a bit.
Mat Bowles
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.