Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(creep.carry.energy > 0){
- if(routines['repairDefence'](creep) || routines['repairCivilian'](creep) || routines['buildDefence'](creep) || routines['buildCivilian'](creep)){}
- }
- else{
- routines['recharge'](creep)
- }
Advertisement
Add Comment
Please, Sign In to add comment