{"action":"created","issue":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1216","repository_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine","labels_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1216/labels{/name}","comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1216/comments","events_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1216/events","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1216","id":175626824,"number":1216,"title":"[WIP] Better Selection Info + Power grid status display on furnitures","user":{"login":"sboigelot","id":6545998,"avatar_url":"https://avatars.githubusercontent.com/u/6545998?v=3","gravatar_id":"","url":"https://api.github.com/users/sboigelot","html_url":"https://github.com/sboigelot","followers_url":"https://api.github.com/users/sboigelot/followers","following_url":"https://api.github.com/users/sboigelot/following{/other_user}","gists_url":"https://api.github.com/users/sboigelot/gists{/gist_id}","starred_url":"https://api.github.com/users/sboigelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboigelot/subscriptions","organizations_url":"https://api.github.com/users/sboigelot/orgs","repos_url":"https://api.github.com/users/sboigelot/repos","events_url":"https://api.github.com/users/sboigelot/events{/privacy}","received_events_url":"https://api.github.com/users/sboigelot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-07T23:00:25Z","updated_at":"2016-09-07T23:02:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/1216","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1216","diff_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1216.diff","patch_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1216.patch"},"body":"Improve the ISelectable to allow multiple string content controller by the class implementing the interface.\r\n\r\nAdded power info to power related furniture to display the current consumption, production and accumulated power.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6545998/18331440/4159ee3c-755f-11e6-9104-6bb489824f35.png)\r\n![image](https://cloud.githubusercontent.com/assets/6545998/18331445/4e141f30-755f-11e6-8150-60e119839c06.png)\r\n![image](https://cloud.githubusercontent.com/assets/6545998/18331455/6d1b7f36-755f-11e6-806c-7f9c7acad93c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/comments/245445906","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1216#issuecomment-245445906","issue_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1216","id":245445906,"user":{"login":"sboigelot","id":6545998,"avatar_url":"https://avatars.githubusercontent.com/u/6545998?v=3","gravatar_id":"","url":"https://api.github.com/users/sboigelot","html_url":"https://github.com/sboigelot","followers_url":"https://api.github.com/users/sboigelot/followers","following_url":"https://api.github.com/users/sboigelot/following{/other_user}","gists_url":"https://api.github.com/users/sboigelot/gists{/gist_id}","starred_url":"https://api.github.com/users/sboigelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboigelot/subscriptions","organizations_url":"https://api.github.com/users/sboigelot/orgs","repos_url":"https://api.github.com/users/sboigelot/repos","events_url":"https://api.github.com/users/sboigelot/events{/privacy}","received_events_url":"https://api.github.com/users/sboigelot/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T23:02:23Z","updated_at":"2016-09-07T23:02:23Z","body":"```\r\n\r\n------ StyleCop 4.7 (build 4.7.59.0) started ------\r\n\r\nPass 1:   ProjectPorcupine - \\Assets\\Standard Assets\\Utility\\FPSCounter.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\AutosaveManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\BaseSpriteController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\BuildModeController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\CameraController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\CharacterSpriteController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\FurnitureSpriteController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\GameEventManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\InventorySpriteController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\JobSpriteController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\KeyboardManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\ModsManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\MouseController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\QuestController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\SelectionInfo.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\SoundController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\SpawnInventoryController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\SpriteManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\TileSpriteController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\TimeManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\TradeController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\TraderShipController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\UIController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Controllers\\WorldController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\ImageEffects\\DepthShading.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Localization\\LocalizationDownloader.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Localization\\LocalizationLoader.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Localization\\LocalizationTable.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Localization\\TextLocalizer.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Animation\\CharacterAnimation.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Animation\\FrameAnimation.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Animation\\FurnitureAnimation.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Animation\\SpritenameAnimation.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Character.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\ContextMenu\\ContextMenuAction.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\ContextMenu\\ContextMenuLuaAction.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\ContextMenu\\IContextActionProvider.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\EventAction.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Furniture.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\FurnitureActions.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\GameEvent.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\GameEventActions.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\HeadlineGenerator.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Inventory.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\InventoryCommon.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\InventoryManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\ISelectable.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Job.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\JobQueue.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Keyboard\\KeyboadMappedInput.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Keyboard\\KeyboardMappedInputType.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Need.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\NeedActions.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Parameter.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\BasePrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\FurniturePrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\InventoryPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\NeedPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\PrototypeManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\QuestPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\SchedulerEventPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\StatPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\TraderPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Prototypes\\XmlPrototypes.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Quest\\Quest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Quest\\QuestGoal.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Quest\\QuestReward.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\QuestActions.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Room.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Stat.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Temperature.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Tile.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\TileType.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\Currency.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\Trade.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\TradeItem.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\Trader.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\TraderPotentialInventory.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\TraderPrototype.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\Trade\\Wallet.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\World.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Models\\WorldGenerator.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Pathfinding\\Path_AStar.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Pathfinding\\Path_Edge.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Pathfinding\\Path_Node.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Pathfinding\\Path_RoomGraph.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Pathfinding\\Path_TileGraph.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Pathfinding\\PathfindingPriorityQueue.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\PowerNetwork\\Connection.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\PowerNetwork\\Grid.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\PowerNetwork\\PowerNetwork.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Scheduler\\ScheduledEvent.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Scheduler\\Scheduler.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\ContextMenu\\ContextMenu.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\ContextMenu\\ContextMenuItem.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\CursorInfoDisplay.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\DialogBox.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\DialogBoxManager.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\FileSaveLoad\\DialogBoxLoadGame.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\FileSaveLoad\\DialogBoxLoadSaveGame.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\FileSaveLoad\\DialogBoxSaveGame.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\JobList\\DialogBoxJobList.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\JobList\\JobListEvents.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Options\\DialogBoxOptions.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Quest\\DialogBoxQuestItem.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Quest\\DialogBoxQuests.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Quest\\MainScreenQuestList.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Settings\\DialogBoxSettings.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Trade\\DialogBoxTrade.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\Trade\\DialogBoxTradeItem.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\YesNo\\DialogBoxAreYouSure.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\DialogBox\\YesNo\\DialogBoxResult.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\FurnitureBuildMenu.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\HeadlineController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\InGameUI\\ConstructionMenu.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\InGameUI\\FloorMenu.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\InGameUI\\MenuController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\LanguageDropdownUpdater.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\MouseCursor.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\MouseOverFurnitureTypeText.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\MouseOverRoomDetails.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\MouseOverRoomIndexText.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\MouseOverTileTypeText.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\Overlay\\OverlayDescriptor.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\Overlay\\OverlayMap.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\SelectionInfoTextField.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\UI\\UIMenuController.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\ColorUtilities.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\DuplicateKeyComparer.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\LuaUtilities.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\MathUtilities.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\MinHeap.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\ModUtils.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\Priority_Queue\\Priority Queue\\FastPriorityQueue.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\Priority_Queue\\Priority Queue\\FastPriorityQueueNode.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\Priority_Queue\\Priority Queue\\IPriorityQueue.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\Priority_Queue\\Priority Queue\\SimplePriorityQueue.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\SetSortingLayer.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\Settings.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\SimplePool.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\TextScaling.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Scripts\\Utilities\\VisualPath.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\Debug.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\Examples\\TestUberLogger.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\UberLogger.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\UberLoggerAppWindow.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\UberLoggerEditor.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\UberLoggerFile.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UI\\AutomaticVerticalSize.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UI\\DialogListItem.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\BuildGame.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\HeadlineGeneratorTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\ScheduledEventTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\SchedulerEditorTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\SpriteToXML.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Models\\Power\\PowerGridTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Models\\Power\\PowerNetworkTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Utilities\\DuplicateKeyComparerTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Utilities\\LuaUtilsTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Utilities\\MathUtilsTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Utilities\\ModUtilsTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\Editor\\UnitTests\\Utilities\\ParametersEditorTest.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UberLogger\\Editor\\UberLoggerEditorWindow.cs\r\nPass 1:   ProjectPorcupine - \\Assets\\UI\\Editor\\AutomaticVerticalSizeEditor.cs\r\n\r\n------ StyleCop completed ------\r\n\r\n========== Violation Count: 0 ==========\r\n\r\n```"}}
{"actor":{"display_login":"sboigelot"}}