Add an optional [amount] argument to Creep.pickup and PowerCreep.pickup



  • Creep.withdraw and PowerCreep.withdraw have it, why not pickup? Seems like an oversight. The use cases are identical to the use cases of Creep.withdraw. Maybe you don't want all the energy on the ground. Maybe you want to get your store up to 50 to top off an extension and let another creep take the rest. Hopefully easy to implement!