{"action":"created","issue":{"url":"https://api.github.com/repos/christopho/solarus/issues/656","labels_url":"https://api.github.com/repos/christopho/solarus/issues/656/labels{/name}","comments_url":"https://api.github.com/repos/christopho/solarus/issues/656/comments","events_url":"https://api.github.com/repos/christopho/solarus/issues/656/events","html_url":"https://github.com/christopho/solarus/issues/656","id":60600274,"number":656,"title":"map:set_world()","user":{"login":"wrightmat","id":1219134,"avatar_url":"https://avatars.githubusercontent.com/u/1219134?v=3","gravatar_id":"","url":"https://api.github.com/users/wrightmat","html_url":"https://github.com/wrightmat","followers_url":"https://api.github.com/users/wrightmat/followers","following_url":"https://api.github.com/users/wrightmat/following{/other_user}","gists_url":"https://api.github.com/users/wrightmat/gists{/gist_id}","starred_url":"https://api.github.com/users/wrightmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrightmat/subscriptions","organizations_url":"https://api.github.com/users/wrightmat/orgs","repos_url":"https://api.github.com/users/wrightmat/repos","events_url":"https://api.github.com/users/wrightmat/events{/privacy}","received_events_url":"https://api.github.com/users/wrightmat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/christopho/solarus/labels/enhancement","name":"enhancement","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-11T02:19:21Z","updated_at":"2015-03-12T01:41:07Z","closed_at":null,"body":"Like other get/set pairs, it would be helpful to be able to dynamically set the world of a map. map:set_floor() may also be a logical addition."},"comment":{"url":"https://api.github.com/repos/christopho/solarus/issues/comments/78409057","html_url":"https://github.com/christopho/solarus/issues/656#issuecomment-78409057","issue_url":"https://api.github.com/repos/christopho/solarus/issues/656","id":78409057,"user":{"login":"wrightmat","id":1219134,"avatar_url":"https://avatars.githubusercontent.com/u/1219134?v=3","gravatar_id":"","url":"https://api.github.com/users/wrightmat","html_url":"https://github.com/wrightmat","followers_url":"https://api.github.com/users/wrightmat/followers","following_url":"https://api.github.com/users/wrightmat/following{/other_user}","gists_url":"https://api.github.com/users/wrightmat/gists{/gist_id}","starred_url":"https://api.github.com/users/wrightmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrightmat/subscriptions","organizations_url":"https://api.github.com/users/wrightmat/orgs","repos_url":"https://api.github.com/users/wrightmat/repos","events_url":"https://api.github.com/users/wrightmat/events{/privacy}","received_events_url":"https://api.github.com/users/wrightmat/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T01:41:07Z","updated_at":"2015-03-12T01:41:07Z","body":"Yes. I have a couple outdoor maps that are actually part of a dungeon (at least sections of the map are) so in order for this to work, those maps have to be part of the \"dungeon_2\" world. This causes problems with other scripts that need the maps to be part of the \"outside_world\" world, so my solution would be to flex the world on map_started depending on what destination the hero's coming from. If coming from the inside part of the dungeon, make the map part of the \"dungeon_2\" world, otherwise it will remain as \"outside_world\". Is there another solution to this you could think of?"}}