So, now my freighttrain has a 1 in 10 Chance to fly to the main station...

Moderators: winston, another_commander
I corrected that for you.cim wrote:Only if there are no other non-carrier dockables inRorschachhamster wrote:Does "setTargetToRandomStation" choose the main station as well?the systemrange, which is generally rare.
The Oolite world simulation code is single-threaded, so no. Only one script will ever be running at any one time, and it will completely finish and return from whatever event handler set it going before any other event handlers run.spara wrote:Is that function being run simultaneously by the spawn scripts?
Not much.spara wrote:Coriolis (current main station) is destroyed. What will happen, if the next time visiting the system, that station is removed from existence? What will break?
Yes.spara wrote:Does some other station just be the "main station?"
Yes.spara wrote:Is it possible to save at such a substitute station?
Hermits are spawned as "rock clusters" - the rock hermit along with some nearby asteroids and a mining ship. (Or several ships?) If you remove the hermit, you probably ought to remove everything in scanner range of it, too.spara wrote:Hermit is destroyed. What will happen and what will break, if it is removed from the existence the next time it is spawned?
To specify a little:Wildeblood wrote:Yes.spara wrote:Does some other station just be the "main station?"Yes.spara wrote:Is it possible to save at such a substitute station?
All systems have at least one rock hermit now (I think).Commander McLane wrote:.. and lots of systems don't have Rock Hermits;
Yes, as of 1.77, unless it gets blown up.Cody wrote:All systems have at least one rock hermit now (I think).Commander McLane wrote:.. and lots of systems don't have Rock Hermits;
I think - I'd have to check - that as of 1.77 carriers cannot become the main station. There's quite a bit of stuff around "what is a main station" that I want to tidy up - the main station gets a bunch of separate properties all of which should not necessarily be unique to a single station (and many of which make no sense whatsoever when applied to an originally non-main station).Commander McLane wrote:Note that the closest dockable entity does not need to be a station. It can also be a carrier
As a regular asteroid miner, this greatly increases the profitability of a system to me...perhaps too much. Is there an easy way to adjust system populator not add a Rock Hermit to some systems?cim wrote:Yes, as of 1.77, unless it gets blown up.Cody wrote:All systems have at least one rock hermit now (I think).Commander McLane wrote:.. and lots of systems don't have Rock Hermits;
Not yet, but there will be. You can always remove it and its nearby asteroids after population has happened, of course.Switeck wrote:As a regular asteroid miner, this greatly increases the profitability of a system to me...perhaps too much. Is there an easy way to adjust system populator not add a Rock Hermit to some systems?cim wrote:Yes, as of 1.77, unless it gets blown up.Cody wrote:All systems have at least one rock hermit now (I think).