-- 父任务id
main_id = 22106

-- 子任务id
sub_ids = {
	2210601,
	2210602,
	2210603,
	2210604,
	2210605,
	2210606,
	2210607,
	2210608,
	2210609,
	2210610,
	2210611,
	2210612,
	2210613,
	2210614
}

-- 存放断线重连生成内容，和questdata配的存档点对应
rewind_data = {
	["2210601"] = {
quest_var = {
-1,-1,-1,-1,-1
},

npcs = {
    {
        id = 207401,
        alias = "Npc207401",
        script = "Actor/Npc/TempNPC",
        pos = "Q22000LuluSpawn",
        scene_id = 3
    },
    {
        id = 203101,
        alias = "Npc203101",
        script = "Actor/Npc/TempNPC",
        pos = "Q22000MengSpawn",
        scene_id = 3
    },
    {
        id = 203001,
        alias = "Npc203001",
        script = "Actor/Npc/TempNPC",
        pos = "Q22000FeiSpawn",
        scene_id = 3
    }
}

	},
	["2210602"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210603"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210604"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210605"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210606"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210607"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210608"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210609"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210610"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210611"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210612"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["2210613"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	},
	["22106014"] = {
		quest_var = {
			-1,-1,-1,-1,-1
			},
            npcs = {
                {
                    id = 207401,
                    alias = "Npc207401",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000LuluSpawn",
                    scene_id = 3
                },
                {
                    id = 203101,
                    alias = "Npc203101",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000MengSpawn",
                    scene_id = 3
                },
                {
                    id = 203001,
                    alias = "Npc203001",
                    script = "Actor/Npc/TempNPC",
                    pos = "Q22000FeiSpawn",
                    scene_id = 3
                }
            }
	}
	
}

-- 校验用，和任务lua中生成NPC/monster/gadget/item等对应
quest_data = {
	["2210601"] = {

		npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210602"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210603"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
		
	},
	["2210604"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210605"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210606"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210607"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210608"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210609"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	},
	["2210610"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
    },
    ["2210611"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
    },
    ["2210612"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
    },
    ["2210613"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
    },
    ["2210614"] = {
        npcs = {
			{
				id = 207401,
				alias = "Npc207401",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000LuluSpawn",
				scene_id = 3
			},
			{
				id = 203101,
				alias = "Npc203101",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000MengSpawn",
				scene_id = 3
			},
			{
				id = 203001,
				alias = "Npc203001",
				script = "Actor/Npc/TempNPC",
				pos = "Q22000FeiSpawn",
				scene_id = 3
			}
		}
	}


}
