{"action":"closed","issue":{"url":"https://api.github.com/repos/Tempus/Basement-Renovator/issues/58","labels_url":"https://api.github.com/repos/Tempus/Basement-Renovator/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/Tempus/Basement-Renovator/issues/58/comments","events_url":"https://api.github.com/repos/Tempus/Basement-Renovator/issues/58/events","html_url":"https://github.com/Tempus/Basement-Renovator/issues/58","id":125305119,"number":58,"title":"No support for weighted entities","user":{"login":"Tweevle","id":4471216,"avatar_url":"https://avatars.githubusercontent.com/u/4471216?v=3","gravatar_id":"","url":"https://api.github.com/users/Tweevle","html_url":"https://github.com/Tweevle","followers_url":"https://api.github.com/users/Tweevle/followers","following_url":"https://api.github.com/users/Tweevle/following{/other_user}","gists_url":"https://api.github.com/users/Tweevle/gists{/gist_id}","starred_url":"https://api.github.com/users/Tweevle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tweevle/subscriptions","organizations_url":"https://api.github.com/users/Tweevle/orgs","repos_url":"https://api.github.com/users/Tweevle/repos","events_url":"https://api.github.com/users/Tweevle/events{/privacy}","received_events_url":"https://api.github.com/users/Tweevle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T01:57:30Z","updated_at":"2016-01-07T06:41:03Z","closed_at":"2016-01-07T06:41:03Z","body":"If you look in the decompiled room xmls, you can see certain entities placed in rooms are designed to have a weighted chance to be one thing or another - an example is the shop rooms, which are supposed to have a chance to be a restocking machine instead of a donation one. This was a feature discussed by Edmund prior to Rebirth coming out, but it's actually broken in the game at the moment (90% sure it was always broken) and only ever results in one entity being used.\r\n\r\nFrom what I can tell the editor presents this in an odd way by placing all possible entities seperately in the same place. I believe this can potentially cause problems such as a different entity appearing in the game than was originally there (e.g. restock machines appearing in all shops instead of donation machines). It would be good to have support for weighted entities to prevent this behaviour and potentially allow use of this feature in the future if it's is fixed by the devs."}}