{"action":"created","issue":{"url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/issues/445","repository_url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern","labels_url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/issues/445/comments","events_url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/issues/445/events","html_url":"https://github.com/ScreepsOCS/screeps.behaviour-action-pattern/issues/445","id":199486040,"number":445,"title":"Remote mining branch ready for testing","user":{"login":"whardeman","id":1666165,"avatar_url":"https://avatars.githubusercontent.com/u/1666165?v=3","gravatar_id":"","url":"https://api.github.com/users/whardeman","html_url":"https://github.com/whardeman","followers_url":"https://api.github.com/users/whardeman/followers","following_url":"https://api.github.com/users/whardeman/following{/other_user}","gists_url":"https://api.github.com/users/whardeman/gists{/gist_id}","starred_url":"https://api.github.com/users/whardeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whardeman/subscriptions","organizations_url":"https://api.github.com/users/whardeman/orgs","repos_url":"https://api.github.com/users/whardeman/repos","events_url":"https://api.github.com/users/whardeman/events{/privacy}","received_events_url":"https://api.github.com/users/whardeman/received_events","type":"User","site_admin":false},"labels":[{"id":505881586,"url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/labels/!%20Discussion","name":"! Discussion","color":"fbca04","default":false},{"id":505882076,"url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/labels/%23%20Economy","name":"# Economy","color":"c5def5","default":false},{"id":505882162,"url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/labels//%20Help%20Wanted","name":"/ Help Wanted","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-01-09T06:35:10Z","updated_at":"2017-01-09T20:23:14Z","closed_at":null,"body":"https://github.com/ScreepsOCS/screeps.behaviour-action-pattern/tree/feature/remoteMining\r\n\r\nWith a WHITE/BROWN flag, miners and haulers will spawn and they will go to the target room and perform work. A couple of points:\r\n- This is still pretty unstable and needs some more work.\r\n- Definitely need to optimize creep sizes and memory mgmt.\r\n- These creeps don't repair-on-driveby, so roads/containers decay. That need to get sorted.\r\n- Also, the mining flag doesn't spawn a claimer, so you'll need to place a WHITE/GRAY flag with each of your WHITE/BROWN ones.\r\n- Last thing: If you place a flag, not much will happen until you have visibility in the room. I'd recommend starting with privateers to get roads built out and to start reserving the rooms. Then place mining flags.\r\n\r\nNotes about the code:\r\n- Remote miner behaviour is just miner wrapped with an initial travel action.\r\n- Remote hauler is just a stripped-down privateer.\r\n- Both could be cleaned up I'm sure.\r\n\r\nAny and all contributions are welcome. I'm not attached to the way I've done things. This is just best I could do to move this feature forward."},"comment":{"url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/issues/comments/271396836","html_url":"https://github.com/ScreepsOCS/screeps.behaviour-action-pattern/issues/445#issuecomment-271396836","issue_url":"https://api.github.com/repos/ScreepsOCS/screeps.behaviour-action-pattern/issues/445","id":271396836,"user":{"login":"karlthepagan","id":308745,"avatar_url":"https://avatars.githubusercontent.com/u/308745?v=3","gravatar_id":"","url":"https://api.github.com/users/karlthepagan","html_url":"https://github.com/karlthepagan","followers_url":"https://api.github.com/users/karlthepagan/followers","following_url":"https://api.github.com/users/karlthepagan/following{/other_user}","gists_url":"https://api.github.com/users/karlthepagan/gists{/gist_id}","starred_url":"https://api.github.com/users/karlthepagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlthepagan/subscriptions","organizations_url":"https://api.github.com/users/karlthepagan/orgs","repos_url":"https://api.github.com/users/karlthepagan/repos","events_url":"https://api.github.com/users/karlthepagan/events{/privacy}","received_events_url":"https://api.github.com/users/karlthepagan/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T20:23:14Z","updated_at":"2017-01-09T20:23:14Z","body":"I pushed a quick fix for manually spawned creeps (always null-check creep.data)."}}
{"actor":{"display_login":"karlthepagan"}}