Robots Build Closest First


Personal construction robots now prioritize building and deconstructing entities closest to the player. This change makes a player twice as fast at building and deconstructing with the exact same equipment setup. This mod is a complete rework of similar existing mods and offers a massive performance increase. A shortcut is available to toggle the mod, and the maximum construction area can be limited in the settings. Should work with other mods adding new personal roboports.

Utilities
5 days ago
2.0
1.60K
Armor Logistic network

b Quality ignored by mod

5 days ago

I discovered a bug that i believe is caused by this mod. i installed it a couple days ago. Im doing my first run with space age, so im new to the concept of Quality. I only have access to rare level quality and i made Power Armor MK2 as well as a host of other armor equipment at rare level.

Well i noticed when i was putting my roboport into the armor i was wearing. the roboport would revert to normal quality and then it would charge up with power. all other equipment was fine. it was just the roboport mk1. I dont have access to anything off Nauvis yet but ive equipped everything i possibly can make at this point as rare and they stayed rare.

I was given the suggestion to try reloading my save or taking the armor off and on again. or try putting the equipment in when the armor was in a crate. I found whenever i put the roboport in the armor when the armor was in the crate, it would stay rare, but the power would not charge up. however the moment i equipped the armor the roboport would convert to normal quality. So it only seems to happen when im wearing the armor.

Anyways i tried taking a couple mods off one at a time to see which might be the cause and once i unloaded this mod, my roboport stopped convertin to lower quality and stayed rare when equipping it into the armor. Also when i loaded the game withtout the mod. the game tells you it removed "personal_roboport_something_15" sorry i didnt get the full name. since it mentioned roboport specifically in what got removed, im guessing it was something to do with that.

5 days ago

I discovered a bug that i believe is caused by this mod. i installed it a couple days ago. Im doing my first run with space age, so im new to the concept of Quality. I only have access to rare level quality and i made Power Armor MK2 as well as a host of other armor equipment at rare level.

Well i noticed when i was putting my roboport into the armor i was wearing. the roboport would revert to normal quality and then it would charge up with power. all other equipment was fine. it was just the roboport mk1. I dont have access to anything off Nauvis yet but ive equipped everything i possibly can make at this point as rare and they stayed rare.

I was given the suggestion to try reloading my save or taking the armor off and on again. or try putting the equipment in when the armor was in a crate. I found whenever i put the roboport in the armor when the armor was in the crate, it would stay rare, but the power would not charge up. however the moment i equipped the armor the roboport would convert to normal quality. So it only seems to happen when im wearing the armor.

Anyways i tried taking a couple mods off one at a time to see which might be the cause and once i unloaded this mod, my roboport stopped convertin to lower quality and stayed rare when equipping it into the armor. Also when i loaded the game withtout the mod. the game tells you it removed "personal_roboport_something_15" sorry i didnt get the full name. since it mentioned roboport specifically in what got removed, im guessing it was something to do with that.

Dude, thank you so much! I completely forgot about quality. I’m going to fix that right now.

Your intuition is spot on. For context: the mod works by swapping the roboport in your armor with a hidden variant. I create copies of every roboport at the start of the game with all different possible ranges. By swapping them out, I can dynamically change the armor's roboport range. This is the only way to do it because values like "roboport range" are hardcoded into the prototype (the blueprint of a Factorio entity).

Because you're wearing the armor, it tries to adjust the range so only nearby things get built. It swaps your roboport for one with a smaller range. But currently, it defaults to normal quality because I ignored that part. Oops!

5 days ago

It should be fixed!
I hope it works for you.
What do you think about the mod in general?
Is it working as you expected? I haven't received any feedback from anyone yet!

5 days ago

Thank you for the quick fix. It does appear to be working properly and not changing the quality of my roboport when i equip them on the armor.

I meant to say in my first post i started with upgrading the armor itself to rare. and at some point after i first noticed the roboport changing, i noticed my armor wasnt rare anymore. But you know what maybe i was smoking crack and thought i upgraded the armor. i was still working on making my upgrading setup and maybe it wasnt correct yet and i assumed the armor was done when it wasnt. I was also reloading saves alot when i discovered the original issue, its possible i loaded an auto save from before i did the armor. So at first i thought it was affecting both, but yea i think the armor was a "my bad" thing, cause its rare now and not changing.

Anyways, yeah i do like the mod so far. Though i was expecting it to do items in order of closeness at first (kinda like the screen shot on the mod page shows). It still does closest things just not in the exact order of proximity like i was expecting. But its fine, and after your explanation how it works above it makes total sense. honestly this will help alot, cause i was getting real tired of bots choosing to upgrade the absolute farthest and random things out of say a hundred of the same items to place instead of closer stuff.

Thanks for making the mod and the quick fix. Its really pretty nice.

New response