amirite wrote:Found some sort of bug last night. I had an Osprey with 8 repair lasers and 3 PRGs on the turrets. When I ordered a repair the Osprey started shooting the three turrets at me too.
It's not a bug. The game is not designed to allow you to order your own ships to attack each other. Since it was requested that ships with no main guns and only turrets be able to use the scripts, I made the repair ship fire main guns and turrets at the damaged ship. Just use a dedicated repair ship that doesn't have weapons installed, or remove them prior to attempting repairs.
@ThisIsHarsh: Yeah, takes a little over 9 hours to make 2 lasers, and as stated in the OP, it's up to you or NPC's to stock the factories with resources. I'm
still waiting to get some in my current game (which is over 24 hours old). This was intentional, since they save millions and allow you to make millions (repairing damaged ships before selling them). Once you get them, they're a cash cow. Hence also the computer components as a 4th resource, "going against the grain", as you say.
As for the creation scripts, that was my first effort at creating factories. As you may know, the game refuses to allow you to create 2 factories with one script. So I took the easy way out, lol. Are you referring to using something like this instead:
Code: Select all
$install.fabs = get global variable: name='GRAX.INSTALL.FABS'
if not $install.fabs
set global variable: name='GRAX.INSTALL.FABS' value='first.install'
return null
else if $install.fabs == 'first.install'
set global variable: name='GRAX.INSTALL.FABS' value=null
end
To install the 2nd factory on the second game start?
-Grax