Cholmondely wrote: ↑Thu Sep 02, 2021 12:56 pm
Fair enough. But I'm not a computer programmer. The ability to generate copious quantities of obfuscatory polysyllabic nomenclature in no way signifies comprehension of the mysteries of semi-colonic parantheses.
What should I be looking for?
And: what is the significance of vanilla-coded station allegiance in this area? Will a GalCop-aligned Sothis-station register crimes committed within 25 kuː ʊm? Or does one need to be witnessed by a police viper?
I appreciate your frustration, it comes down to at least two things.
The game itself assigns bounty in the cases discussed, either something identified as police (at least vipers but potentially other vehicles if they are set to be police) or the station (anything that isnt the main station, as far as the game itself is concerned is something quite different). So anything from an OXP that marks a ship as police, as described by montana05 below, will get the standard police behaviour including assigning bounty. Any OXP main station, provided it is actually the main station, will similarly act as such. Additional stations or other dockables will as standard out of the box not have an aegis and not "see" crimes.
Second is the ability for a script to manipulate the bounty directly. This could be setting an increased bounty for a new crime, for example one could create a wildlife oxp that adds a bounty for anyone who shoots an animal. Or it could be reducing or setting the bounty to zero, for example there is I believe an OXP that will swap out the ship transponder (waving arms and so on) and so set the bounty to zero because your ship appears to be one other than that which it is.
And therein lies the complexity, who knows where in the brains of an OXP lies burried a bit of magic which tinkers with the bounty? Other than reading it all yourself, or of course using some kind of search tool to do it for you there is no real way to know. And what exactly one would search for isnt 100% clear to me. I suspect you would find it by searching every .js file for the text bounty but I cannot guarantee that, Ive never been an OXP developer even though I have tinkered with the innards of oolite itself.