{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/8918","repository_url":"https://api.github.com/repos/OpenRA/OpenRA","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/8918/labels{/name}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/8918/comments","events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/8918/events","html_url":"https://github.com/OpenRA/OpenRA/issues/8918","id":98800901,"number":8918,"title":"Add support for TS ice tiles [$69]","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars.githubusercontent.com/u/167819?v=3","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenRA/OpenRA/labels/Bounty","name":"Bounty","color":"129e5e"},{"url":"https://api.github.com/repos/OpenRA/OpenRA/labels/Feature","name":"Feature","color":"02d7e1"},{"url":"https://api.github.com/repos/OpenRA/OpenRA/labels/Tiberian%20Sun","name":"Tiberian Sun","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"Mailaender","id":756669,"avatar_url":"https://avatars.githubusercontent.com/u/756669?v=3","gravatar_id":"","url":"https://api.github.com/users/Mailaender","html_url":"https://github.com/Mailaender","followers_url":"https://api.github.com/users/Mailaender/followers","following_url":"https://api.github.com/users/Mailaender/following{/other_user}","gists_url":"https://api.github.com/users/Mailaender/gists{/gist_id}","starred_url":"https://api.github.com/users/Mailaender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mailaender/subscriptions","organizations_url":"https://api.github.com/users/Mailaender/orgs","repos_url":"https://api.github.com/users/Mailaender/repos","events_url":"https://api.github.com/users/Mailaender/events{/privacy}","received_events_url":"https://api.github.com/users/Mailaender/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-03T17:40:52Z","updated_at":"2016-02-14T19:07:48Z","closed_at":null,"body":"This should be relatively straightforward:\r\n\r\n* Add a new `IceLayer` trait that lives on the world.\r\n   * Contains a `CellLayer<int>` representing the ice \"strength\" at each tile.\r\n   * Scans the map during load and populates the initial state based on the tiles on the map. \r\n   * Tiles that contain ice are replaced with the ice-growable water tile.\r\n   * Artwork for each cell is picked based on the current cell strength and the neighboring state (very similar to `D2KResourceLayer`).\r\n   * Include a method for reducing the strength at a given cell.  If strength falls below 0 then remove the custom terrain type from the cell (allowing it to revert to \"water\").\r\n   * Grow the ice using similar logic to our resource spawners: Every [configurable interval] increase the strength of [one or more] ice cell(s) that are either adjacent to another ice tile or adjacent to the shore.\r\n* Add a new `DamagesIce` trait that lives on actors.\r\n   * Each tick, check if the actor is on an ice tile.  If it is, reduce its strength.  If the the actor is no longer allowed in the cell after the damage is applied (i.e. it has broken the tile, but decoupled using the existing plumbing provided by terrain types and `Mobile`) then kill it with a special warhead that includes a damage type that triggers the spash death effect.\r\n\r\n* Add a new `DamagesIce` warhead type.\r\n   * This reduces strength of any ice tiles in the damage area.\r\n\r\n<bountysource-plugin>\r\n---\r\nThere is a **[$69 open bounty](https://www.bountysource.com/issues/25323261-add-support-for-ts-ice-tiles?utm_campaign=plugin&utm_content=tracker%2F36085&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F36085&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments/183954977","html_url":"https://github.com/OpenRA/OpenRA/issues/8918#issuecomment-183954977","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/8918","id":183954977,"user":{"login":"Mailaender","id":756669,"avatar_url":"https://avatars.githubusercontent.com/u/756669?v=3","gravatar_id":"","url":"https://api.github.com/users/Mailaender","html_url":"https://github.com/Mailaender","followers_url":"https://api.github.com/users/Mailaender/followers","following_url":"https://api.github.com/users/Mailaender/following{/other_user}","gists_url":"https://api.github.com/users/Mailaender/gists{/gist_id}","starred_url":"https://api.github.com/users/Mailaender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mailaender/subscriptions","organizations_url":"https://api.github.com/users/Mailaender/orgs","repos_url":"https://api.github.com/users/Mailaender/repos","events_url":"https://api.github.com/users/Mailaender/events{/privacy}","received_events_url":"https://api.github.com/users/Mailaender/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T19:07:48Z","updated_at":"2016-02-14T19:07:48Z","body":"I now have `IceLayer` which scans the map for initial state to assign strength values and `RenderIceState` which displays those as a debug overlay:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/756669/13035664/b22d329c-d355-11e5-88f8-75db38ef5c13.png)"}}