{"action":"created","issue":{"url":"https://api.github.com/repos/evennia/evennia/issues/1294","repository_url":"https://api.github.com/repos/evennia/evennia","labels_url":"https://api.github.com/repos/evennia/evennia/issues/1294/labels{/name}","comments_url":"https://api.github.com/repos/evennia/evennia/issues/1294/comments","events_url":"https://api.github.com/repos/evennia/evennia/issues/1294/events","html_url":"https://github.com/evennia/evennia/pull/1294","id":218359154,"number":1294,"title":"Added contrib module for turn-based battle system","user":{"login":"BattleJenkins","id":8371646,"avatar_url":"https://avatars1.githubusercontent.com/u/8371646?v=3","gravatar_id":"","url":"https://api.github.com/users/BattleJenkins","html_url":"https://github.com/BattleJenkins","followers_url":"https://api.github.com/users/BattleJenkins/followers","following_url":"https://api.github.com/users/BattleJenkins/following{/other_user}","gists_url":"https://api.github.com/users/BattleJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/BattleJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BattleJenkins/subscriptions","organizations_url":"https://api.github.com/users/BattleJenkins/orgs","repos_url":"https://api.github.com/users/BattleJenkins/repos","events_url":"https://api.github.com/users/BattleJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/BattleJenkins/received_events","type":"User","site_admin":false},"labels":[{"id":76259907,"url":"https://api.github.com/repos/evennia/evennia/labels/ongoing","name":"ongoing","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-03-30T23:43:13Z","updated_at":"2017-04-07T21:25:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/evennia/evennia/pulls/1294","html_url":"https://github.com/evennia/evennia/pull/1294","diff_url":"https://github.com/evennia/evennia/pull/1294.diff","patch_url":"https://github.com/evennia/evennia/pull/1294.patch"},"body":"This adds a new contrib file, a module that provides a simple framework for a tabletop style turn based battle system. From the module itself:\r\n\r\nThis is a framework for a simple turn-based combat system, similar\r\nto those used in D&D-style tabletop role playing games. It allows\r\nany character to start a fight in a room, at which point initiative\r\nis rolled and a turn order is established. Each participant in combat\r\nhas a limited time to decide their action for that turn (30 seconds by\r\ndefault), and combat progresses through the turn order, looping through\r\nthe participants until the fight ends.\r\n\r\nOnly simple rolls for attacking are implemented here, but this system\r\nis easily extensible and can be used as the foundation for implementing\r\nthe rules from your turn-based tabletop game of choice or making your\r\nown battle system.\r\n\r\n#### Brief overview of PR changes/additions\r\nAdds contrib module for a simple turn-based battle system.\r\n\r\n#### Motivation for adding to Evennia\r\nCombat systems are a near-universal feature for MUDs, and currently no contrib module provides a framework for them - this system provides a framework that resembles those of common tabletop role playing games and can be readily extended to suit the coder's needs.\r\n\r\n#### Other info (issues closed, discussion etc)\r\nI've tested this thoroughly on my local system and have fixed all the bugs I could find, but it hasn't been tested by multiple users yet."},"comment":{"url":"https://api.github.com/repos/evennia/evennia/issues/comments/292655879","html_url":"https://github.com/evennia/evennia/pull/1294#issuecomment-292655879","issue_url":"https://api.github.com/repos/evennia/evennia/issues/1294","id":292655879,"user":{"login":"BattleJenkins","id":8371646,"avatar_url":"https://avatars1.githubusercontent.com/u/8371646?v=3","gravatar_id":"","url":"https://api.github.com/users/BattleJenkins","html_url":"https://github.com/BattleJenkins","followers_url":"https://api.github.com/users/BattleJenkins/followers","following_url":"https://api.github.com/users/BattleJenkins/following{/other_user}","gists_url":"https://api.github.com/users/BattleJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/BattleJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BattleJenkins/subscriptions","organizations_url":"https://api.github.com/users/BattleJenkins/orgs","repos_url":"https://api.github.com/users/BattleJenkins/repos","events_url":"https://api.github.com/users/BattleJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/BattleJenkins/received_events","type":"User","site_admin":false},"created_at":"2017-04-07T21:25:57Z","updated_at":"2017-04-07T21:25:57Z","body":"YEAH I DID IT ALL ON MY OWN\r\n\r\nTurns out the problem was that the turn handler script was sticking around after the unit tests were done and trying to iterate."}}
{"actor":{"display_login":"BattleJenkins"}}