Version 0.0.3 is available. This build is quite stable and mostly bug free. If I don't find anymore issues or get any reports I will release this mod.
Description
PocketBots will give you access to a new piece of armor, the PocketBots Power Armor. This armor is just a version of the Mk2 Power Armor but comes with some pre-installed extras, a fusion reactor, some batteries and a roboport. This roboport will use construction bots in your inventory to provide roboport coverage outside of your base, allowing the use of blue prints at all times. They will also use your main inventory (not your quickbar) as some portable storage.
Large Gifs Download Info/Notes
This is power armor when it should be a bit of equipment for your modular armor. It started out that way but once I realized you can't easily find out what equipment is loaded into your armor I moved it over to a piece of modded armor. It will be changed back if the API starts allowing us to access the inventory of items.
If you have too many items in your inventory then new items returned by the bots (and the bots themselves when they finally return home) will be placed on the ground. This uses the inbuilt collision detection for finding locations for the items and can cause your game to slow down if you take it to the extreme but under normal circumstances it works quite well. Thanks ficolas for helping out with that.
When running around your bots can spac out as I am moving their roboport and they get a little confused. If they get really stuck just stand still for a couple of seconds and life will return to normal.
Because of how it works, when you are outside the roboport range and you have item overlays on (as if you wouldn't) you may see an overlay for your inventory following you around, this means the roboport is deployed. I would like to get rid of this but I have absolutely no idea how. If anyone has any thoughts, let me know
Your construction bots will also use the repair packs you have on you to repair damaged buildings. This can be really useful but I have no idea what the robots do with the packs if they don't get used up. I suspect they put them in their inventory and if this is the case they will be lost.
Because of how the API works with items in an inventory I can not sync damage (unless I am missing something, any one help with this?) so items picked up off the ground by the bots will be repairs when stored into your inventory. The reverse is also true, items taken out of your inventory by bots will magically be in full health.
Change Log
- v0.0.1 Initial release... expect lots of bugs...
v0.0.2 fixed bugs and improved the code for deploying the roboport
v0.0.3 A lot better at doing the things that matter. Now runs more often but takes up less cpu time... I hope