Good, if glitchey.
It's a very good idea, I just have a few suggestions:
1. Obviously, make it not crash and make the saving work.
2. Some interactivity would be nice. Right now it's just seeing what combination of X items tend to work the best against a particular enemy, and memorizing it... even just some basic AI sliders would be helpful. Make it try to keep the enemy in the specified range for the weapon, have utility bots try to avoid being attacked, give them better object collision detection...
3. Maybe some variation in the weapons? Ones with a long range but weak attack, with an explosive radius, ones that are slow but do more damage, ones that have to charge up...
4. More utility weapons. Besides healing, put mine laying, or ones that make enemies less accurate, or slower, or have a shorter range...
5. Maybe an extra slot, for another type of weapon? For example, a defensive lazier that could, say, destroy incoming missiles, or something that made the sensors better...
6. Randomized battles?