Surviving Mars

Surviving Mars

Elevator A.I.
 This topic has been pinned, so it's probably important
SkiRich  [developer] 6 Sep, 2018 @ 1:43am
Feature requests
Place all feature requests here.
< >
Showing 1-15 of 33 comments
Quirquie 6 Sep, 2018 @ 11:36am 
Would it be possible to set rare metal limits. Like say I don't want to export if I have under 200 rare metals and then want to export when I get up to 500. Is this something that can be done?
SkiRich  [developer] 6 Sep, 2018 @ 12:10pm 
Originally posted by Quirquie:
Would it be possible to set rare metal limits. Like say I don't want to export if I have under 200 rare metals and then want to export when I get up to 500. Is this something that can be done?
Thats a pretty good idea. Let me explore how best to implement. The space elevator acts just like a universal storage depot so maybe this would be easy to just add another slider. I'll keep you posted here.
Last edited by SkiRich; 6 Sep, 2018 @ 12:49pm
Quirquie 6 Sep, 2018 @ 12:34pm 
Oh I hope it is as easy as you think it is, I just ran out of electronics because I didn't notice the elevator was holding all my rare metals!
SkiRich  [developer] 6 Sep, 2018 @ 12:48pm 
Originally posted by Quirquie:
Oh I hope it is as easy as you think it is, I just ran out of electronics because I didn't notice the elevator was holding all my rare metals!
Yep, I realized thats the reason why. I'll be thinking about how best to implement this today, and if I can get a decent workflow I'll start coding for it.
SkiRich  [developer] 6 Sep, 2018 @ 3:18pm 
@Quirquie, do you have the save game just before you ran out of precious metals and the last of them went up in export? I need a save to test the new feature with.
If you do put it here and let me know.
It appears I can make this happens fairly easily.
My file drop ... SkiRich file drop[www.dropbox.com]
Last edited by SkiRich; 6 Sep, 2018 @ 3:19pm
Quirquie 6 Sep, 2018 @ 5:36pm 
I saved over the file already, I am sure I can make it happen again rather quickly.
Quirquie 6 Sep, 2018 @ 6:06pm 
So how do I find the save file?
Quirquie 6 Sep, 2018 @ 6:11pm 
Found and uploaded!
SkiRich  [developer] 6 Sep, 2018 @ 6:16pm 
Got it. This is what I am coding:
A new AI Slider for rare metals will be in the infopanel.
It will be the minimum rare metals in stock to keep before allowing exports.
If set higher than zero it disables manual control of the rare Metals Export.
it will allow an export when there is the minimum rare metals plus the elevator export maximum export space, which by default is 100.
So setting the slider to 200, the elevator will wait till 300 metals are in stock, fill up the elevator pod and allow it to go on the next cycle of either the regular export time or when a AI order is placed.
If this logic sounds good, let me know. now is the time to ask for changes.
SkiRich  [developer] 6 Sep, 2018 @ 6:37pm 
Slight modification from above. It would be too confusing to users to have the AI wait till amount + storage space. most users will see that the elevator is not filling when they have X+more but less than export storage of metals.
So instead the slider will be the threshold to engage the auto export, which means setting it to something like 200 will allow the elevator to export starting at 201.

An example of how this will look will be the following.
Set slider to 200.
No exports when metal lower than 200.
Say you mine 25 more metals. inventory is now 225. exports allowed. If you dont mine more metals, then on next export 100 metals will be exported and your inventory will drop to 125, and the ai will shut down auto export and wait till your inventory increases again.
Quirquie 6 Sep, 2018 @ 7:38pm 
That sounds great!
SkiRich  [developer] 8 Sep, 2018 @ 12:47am 
Its done. Auto Export Control. I'll be testing for a day and putting it through its paces before uploading the new version. Barring any bugs, Sunday it should be updated.
Quirquie 8 Sep, 2018 @ 1:47am 
Sweet, thank you!
SkiRich  [developer] 9 Sep, 2018 @ 10:32am 
New version will be published today.
Thanks Quirquie for the savegame, tested against it and it does exactly what you wanted.
Last edited by SkiRich; 9 Sep, 2018 @ 10:34am
Quirquie 9 Sep, 2018 @ 11:20am 
Yay! I can't wait to try it out in my next game, I think I may be past needing it in my current game, I have 18k rare metals lol.
< >
Showing 1-15 of 33 comments
Per page: 1530 50