Re: Max Production Regen Question
The goal is to update the "last ported" timestamp. When tested, this happened whenever I hit P, then the second viable
choice.
So if you have a planet in the sector, pn* will work to update the timestamp, just as would ptz**z**z** or some macro
variant. However if there is no planet in the sector, then it will (sadly) accept the N, but kick you back to the command
prompt. With that, it won't update the sector. Likewise, whether planet nego or port trade, it still costs a turn.
That means for a planet nego to update the timestamp, there has to be a planet there first for it to work, and it still costs
you a turn. There isn't much benefit to a nego over a standard trade, then, but there is a condition you'd have to check
for first. IMO, that equates to more work.
Now for the macro... if the port is a class 7 or 8, you'd need 6 enters. Otherwise, you would only need a max of 4...
Code:
if ((PORT.CLASS[$this_sector] = 7) OR (PORT.CLASS[$this_sector] = 8))
send " p t z** z** z** "
else
send " p t z** z** "
end
Would cut down on the text flood a bit, prolly make your script a little faster. Why you'd want to nego to a class 7, I've
got no idea. But it's there just in case.
Interestingly, it still updates the timestamp even if your holds are full. So you don't need to jettison before you port.