{"action":"created","issue":{"url":"https://api.github.com/repos/DayZMod/DayZ/issues/417","labels_url":"https://api.github.com/repos/DayZMod/DayZ/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/DayZMod/DayZ/issues/417/comments","events_url":"https://api.github.com/repos/DayZMod/DayZ/issues/417/events","html_url":"https://github.com/DayZMod/DayZ/pull/417","id":71455769,"number":417,"title":"Implemented car bomb","user":{"login":"MaldorLevr","id":1242545,"avatar_url":"https://avatars.githubusercontent.com/u/1242545?v=3","gravatar_id":"","url":"https://api.github.com/users/MaldorLevr","html_url":"https://github.com/MaldorLevr","followers_url":"https://api.github.com/users/MaldorLevr/followers","following_url":"https://api.github.com/users/MaldorLevr/following{/other_user}","gists_url":"https://api.github.com/users/MaldorLevr/gists{/gist_id}","starred_url":"https://api.github.com/users/MaldorLevr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaldorLevr/subscriptions","organizations_url":"https://api.github.com/users/MaldorLevr/orgs","repos_url":"https://api.github.com/users/MaldorLevr/repos","events_url":"https://api.github.com/users/MaldorLevr/events{/privacy}","received_events_url":"https://api.github.com/users/MaldorLevr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-28T02:19:59Z","updated_at":"2015-05-03T13:41:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DayZMod/DayZ/pulls/417","html_url":"https://github.com/DayZMod/DayZ/pull/417","diff_url":"https://github.com/DayZMod/DayZ/pull/417.diff","patch_url":"https://github.com/DayZMod/DayZ/pull/417.patch"},"body":"I made this a while ago but at the time the GitHub repo only had .pbo files and wasn't updated.\r\n\r\nHere is an example of the car bomb in action: https://www.youtube.com/watch?v=BkglZ5nxyA0\r\nThe only thing I've changed since then is that you place the bomb by right clicking on the bomb in your inventory instead of using the action menu on the target vehicle in order to keep the car action menu free of unnecessary clutter.\r\n\r\nIt currently saves over restart but it uses a system that is a bit of a hack to avoid having to add a column to object_data. The way it saves to the database is it adds a fake item called \"BOMB\" to the cargo of the vehicle before it is added to the database. This item isn't actually implemented whatsoever and only exists in the database. When the server is adding cargo to the vehicle during spawning from database it checks for the \"BOMB\" item and if it is in the inventory in the database it sets the variable \"hasBomb\" to true."},"comment":{"url":"https://api.github.com/repos/DayZMod/DayZ/issues/comments/98482671","html_url":"https://github.com/DayZMod/DayZ/pull/417#issuecomment-98482671","issue_url":"https://api.github.com/repos/DayZMod/DayZ/issues/417","id":98482671,"user":{"login":"Lukethero","id":10010221,"avatar_url":"https://avatars.githubusercontent.com/u/10010221?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukethero","html_url":"https://github.com/Lukethero","followers_url":"https://api.github.com/users/Lukethero/followers","following_url":"https://api.github.com/users/Lukethero/following{/other_user}","gists_url":"https://api.github.com/users/Lukethero/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukethero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukethero/subscriptions","organizations_url":"https://api.github.com/users/Lukethero/orgs","repos_url":"https://api.github.com/users/Lukethero/repos","events_url":"https://api.github.com/users/Lukethero/events{/privacy}","received_events_url":"https://api.github.com/users/Lukethero/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T13:41:34Z","updated_at":"2015-05-03T13:41:34Z","body":"Without a way to diffuse or at the least check if the car has a bomb would lead to some rage enduring deaths and leave the player with the feeling of beeing powerless over their death."}}