# -*- coding: utf-8 -*-

'''
Author: Hannibal
Data: 
Desc: local data config
NOTE: Don't modify this file, it's build by xml-to-python!!!
'''


sceneinfo_map = {};
sceneinfo_map[1003] = {"scene_id":1003,"res":1003,"name":"新手村","lv":0,"init_pos":"10,10","npc":[],"icon":1003,"x":10,"y":10,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2001] = {"scene_id":2001,"res":2001,"name":"方寸山","lv":0,"init_pos":"15,13","npc":[],"icon":2001,"x":43,"y":170,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2002] = {"scene_id":2002,"res":2002,"name":"长寿村","lv":10,"init_pos":"20,16","npc":[],"icon":2002,"x":0,"y":545,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2003] = {"scene_id":2003,"res":2003,"name":"水晶宫","lv":20,"init_pos":"24,22","npc":[],"icon":2003,"x":44,"y":934,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2004] = {"scene_id":2004,"res":2004,"name":"花果山","lv":30,"init_pos":"19,16","npc":[],"icon":2004,"x":501,"y":905,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2005] = {"scene_id":2005,"res":2005,"name":"五指山","lv":40,"init_pos":"25,22","npc":[],"icon":2005,"x":745,"y":538,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2006] = {"scene_id":2006,"res":2006,"name":"黑风山","lv":50,"init_pos":"21,20","npc":[],"icon":2006,"x":399,"y":277,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2007] = {"scene_id":2007,"res":2007,"name":"高老庄","lv":60,"init_pos":"24,23","npc":[],"icon":2007,"x":1007,"y":174,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2008] = {"scene_id":2008,"res":2008,"name":"流沙河","lv":70,"init_pos":"25,28","npc":[],"icon":2008,"x":1427,"y":121,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2009] = {"scene_id":2009,"res":2009,"name":"五庄观","lv":80,"init_pos":"30,27","npc":[],"icon":2009,"x":1837,"y":191,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2010] = {"scene_id":2010,"res":2010,"name":"魔王寨","lv":90,"init_pos":"17,12","npc":[],"icon":2010,"x":1531,"y":476,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2011] = {"scene_id":2011,"res":2011,"name":"白虎岭","lv":100,"init_pos":"19,6","npc":[],"icon":2011,"x":1167,"y":572,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2012] = {"scene_id":2012,"res":2012,"name":"火云洞","lv":110,"init_pos":"17,21","npc":[],"icon":2012,"x":1111,"y":920,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2013] = {"scene_id":2013,"res":2013,"name":"通天河","lv":120,"init_pos":"22,18","npc":[],"icon":2013,"x":1490,"y":923,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2014] = {"scene_id":2014,"res":2014,"name":"火焰山","lv":130,"init_pos":"16,13","npc":[],"icon":2014,"x":1966,"y":950,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2015] = {"scene_id":2015,"res":2015,"name":"盘丝洞","lv":140,"init_pos":"34,21","npc":[],"icon":2015,"x":1918,"y":526,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2016] = {"scene_id":2016,"res":2016,"name":"女儿村","lv":150,"init_pos":"21,18","npc":[],"icon":2016,"x":2140,"y":35,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2017] = {"scene_id":2017,"res":2017,"name":"狮驼岭","lv":160,"init_pos":"13,17","npc":[],"icon":2017,"x":2571,"y":47,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2018] = {"scene_id":2018,"res":2018,"name":"无底洞","lv":170,"init_pos":"29,13","npc":[],"icon":2018,"x":3043,"y":171,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2019] = {"scene_id":2019,"res":2019,"name":"无名鬼城","lv":180,"init_pos":"21,13","npc":[],"icon":2019,"x":2742,"y":320,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2020] = {"scene_id":2020,"res":2020,"name":"幽冥地府","lv":190,"init_pos":"16,16","npc":[],"icon":2020,"x":2356,"y":406,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2021] = {"scene_id":2021,"res":2021,"name":"普陀山","lv":200,"init_pos":"22,15","npc":[],"icon":2021,"x":2632,"y":666,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2022] = {"scene_id":2022,"res":2022,"name":"东海归墟","lv":210,"init_pos":"34,24","npc":[],"icon":2022,"x":2312,"y":865,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2023] = {"scene_id":2023,"res":2023,"name":"小雷音寺","lv":220,"init_pos":"26,16","npc":[],"icon":2023,"x":3119,"y":879,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2024] = {"scene_id":2024,"res":2024,"name":"小西天","lv":230,"init_pos":"19,9","npc":[],"icon":2024,"x":3213,"y":502,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};
sceneinfo_map[2025] = {"scene_id":2025,"res":2025,"name":"蓬莱仙岛","lv":240,"init_pos":"16,8","npc":[],"icon":2025,"x":3373,"y":0,"now_x":100,"now_y":100,"ani_x":250,"ani_y":250,};


class Sceneinfo:
	def __init__(self, key):
		config = sceneinfo_map.get(key);
		for k, v in config.items():
			setattr(self, k, v);
		return

def create_Sceneinfo(key):
		config = sceneinfo_map.get(key);
		if not config:
			return
		return Sceneinfo(key)

