{"action":"created","issue":{"url":"https://api.github.com/repos/spacebuild/spacebuild/issues/118","repository_url":"https://api.github.com/repos/spacebuild/spacebuild","labels_url":"https://api.github.com/repos/spacebuild/spacebuild/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/spacebuild/spacebuild/issues/118/comments","events_url":"https://api.github.com/repos/spacebuild/spacebuild/issues/118/events","html_url":"https://github.com/spacebuild/spacebuild/issues/118","id":197151461,"number":118,"title":"Spacebuild Entities","user":{"login":"viral32111","id":19510403,"avatar_url":"https://avatars.githubusercontent.com/u/19510403?v=3","gravatar_id":"","url":"https://api.github.com/users/viral32111","html_url":"https://github.com/viral32111","followers_url":"https://api.github.com/users/viral32111/followers","following_url":"https://api.github.com/users/viral32111/following{/other_user}","gists_url":"https://api.github.com/users/viral32111/gists{/gist_id}","starred_url":"https://api.github.com/users/viral32111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viral32111/subscriptions","organizations_url":"https://api.github.com/users/viral32111/orgs","repos_url":"https://api.github.com/users/viral32111/repos","events_url":"https://api.github.com/users/viral32111/events{/privacy}","received_events_url":"https://api.github.com/users/viral32111/received_events","type":"User","site_admin":false},"labels":[{"id":378642897,"url":"https://api.github.com/repos/spacebuild/spacebuild/labels/Conversation","name":"Conversation","color":"b60205","default":false},{"id":9213089,"url":"https://api.github.com/repos/spacebuild/spacebuild/labels/Enhancement","name":"Enhancement","color":"84b6eb","default":false},{"id":505444214,"url":"https://api.github.com/repos/spacebuild/spacebuild/labels/Entities","name":"Entities","color":"006b75","default":false},{"id":505444962,"url":"https://api.github.com/repos/spacebuild/spacebuild/labels/How%20To","name":"How To","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-22T11:11:46Z","updated_at":"2016-12-23T09:15:15Z","closed_at":null,"body":"Hey, so i want to create a spacebuild entity in my addon, but everything i have tried does not work. \r\n\r\nI had a look at the 'resources_api.lua' in the master branch, but i could not find out what to do with the functions inside. So then i copied the 'generator_energy_solar' entity and the 'base_rd3_entity' to the addon. I tried to modify these and it just gave me errors. I also searched it on google but there is literally nothing on this subject.\r\n\r\nSo can you please give me a full breakdown on how to make my own entities for spacebuild.\r\n\r\nEDIT: By spacebuild entity i mean, i would like to know how to make the entity work with resource distribution, so like generating stuff."},"comment":{"url":"https://api.github.com/repos/spacebuild/spacebuild/issues/comments/268961048","html_url":"https://github.com/spacebuild/spacebuild/issues/118#issuecomment-268961048","issue_url":"https://api.github.com/repos/spacebuild/spacebuild/issues/118","id":268961048,"user":{"login":"viral32111","id":19510403,"avatar_url":"https://avatars.githubusercontent.com/u/19510403?v=3","gravatar_id":"","url":"https://api.github.com/users/viral32111","html_url":"https://github.com/viral32111","followers_url":"https://api.github.com/users/viral32111/followers","following_url":"https://api.github.com/users/viral32111/following{/other_user}","gists_url":"https://api.github.com/users/viral32111/gists{/gist_id}","starred_url":"https://api.github.com/users/viral32111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viral32111/subscriptions","organizations_url":"https://api.github.com/users/viral32111/orgs","repos_url":"https://api.github.com/users/viral32111/repos","events_url":"https://api.github.com/users/viral32111/events{/privacy}","received_events_url":"https://api.github.com/users/viral32111/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T09:15:15Z","updated_at":"2016-12-23T09:15:15Z","body":"well ok, im gunna do a bit more experimenting in the entity and see if i could do something aswell"}}
{"actor":{"display_login":"viral32111"}}