local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1 L0_1 = {} L0_1.group_id = 133220581 L1_1 = {} L2_1 = {} L2_1.config_id = 581001 L2_1.monster_id = 25100401 L3_1 = {} L3_1.x = -2302.879 L3_1.y = 199.953 L3_1.z = -4245.485 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 359.975 L3_1.y = 251.192 L3_1.z = 1.208 L2_1.rot = L3_1 L2_1.level = 27 L2_1.drop_id = 1000100 L3_1 = {} L4_1 = 1008 L3_1[1] = L4_1 L2_1.affix = L3_1 L2_1.isOneoff = true L2_1.pose_id = 1001 L2_1.title_id = 10032 L2_1.special_name_id = 10054 L2_1.area_id = 11 L1_1[1] = L2_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 581002 L2_1.gadget_id = 70380282 L3_1 = {} L3_1.x = -2312.867 L3_1.y = 202.415 L3_1.z = -4250.066 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 1.199 L3_1.y = 152.875 L3_1.z = 359.851 L2_1.rot = L3_1 L2_1.level = 27 L2_1.persistent = true L2_1.interact_id = 25 L2_1.area_id = 11 L3_1 = {} L3_1.config_id = 581003 L3_1.gadget_id = 70290069 L4_1 = {} L4_1.x = -2312.881 L4_1.y = 201.172 L4_1.z = -4250.041 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.056 L4_1.y = 247.321 L4_1.z = 1.207 L3_1.rot = L4_1 L3_1.level = 27 L3_1.mark_flag = 2 L3_1.area_id = 11 L4_1 = {} L4_1.config_id = 581004 L4_1.gadget_id = 70290070 L5_1 = {} L5_1.x = -2289.656 L5_1.y = 203.476 L5_1.z = -4232.524 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 18.756 L5_1.y = 67.831 L5_1.z = 10.101 L4_1.rot = L5_1 L4_1.level = 27 L4_1.persistent = true L4_1.mark_flag = 2 L4_1.area_id = 11 L5_1 = {} L5_1.config_id = 581005 L5_1.gadget_id = 70290070 L6_1 = {} L6_1.x = -2287.379 L6_1.y = 204.811 L6_1.z = -4247.527 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 22.378 L6_1.y = 149.769 L6_1.z = 352.268 L5_1.rot = L6_1 L5_1.level = 27 L5_1.persistent = true L5_1.mark_flag = 2 L5_1.area_id = 11 L6_1 = {} L6_1.config_id = 581006 L6_1.gadget_id = 70290070 L7_1 = {} L7_1.x = -2311.731 L7_1.y = 200.873 L7_1.z = -4236.63 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 359.847 L7_1.y = 215.67 L7_1.z = 2.993 L6_1.rot = L7_1 L6_1.level = 27 L6_1.mark_flag = 2 L6_1.area_id = 11 L7_1 = {} L7_1.config_id = 581007 L7_1.gadget_id = 70290070 L8_1 = {} L8_1.x = -2295.32 L8_1.y = 200.386 L8_1.z = -4266.548 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 359.843 L8_1.y = 337.327 L8_1.z = 0.393 L7_1.rot = L8_1 L7_1.level = 27 L8_1 = GadgetState L8_1 = L8_1.GearStop L7_1.state = L8_1 L7_1.mark_flag = 2 L7_1.area_id = 11 L8_1 = {} L8_1.config_id = 581008 L8_1.gadget_id = 70330092 L9_1 = {} L9_1.x = -2287.126 L9_1.y = 204.786 L9_1.z = -4247.51 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 262.488 L9_1.z = 22.664 L8_1.rot = L9_1 L8_1.level = 27 L9_1 = GadgetState L9_1 = L9_1.GearStart L8_1.state = L9_1 L8_1.persistent = true L8_1.area_id = 11 L9_1 = {} L9_1.config_id = 581009 L9_1.gadget_id = 70800036 L10_1 = {} L10_1.x = -2293.844 L10_1.y = 213.114 L10_1.z = -4238.703 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 250.52 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 27 L9_1.persistent = true L9_1.area_id = 11 L10_1 = {} L10_1.config_id = 581010 L10_1.gadget_id = 70800037 L11_1 = {} L11_1.x = -2300.042 L11_1.y = 209.345 L11_1.z = -4233.017 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 83.695 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 27 L10_1.persistent = true L10_1.area_id = 11 L11_1 = {} L11_1.config_id = 581012 L11_1.gadget_id = 70330096 L12_1 = {} L12_1.x = -2298.1 L12_1.y = 203.527 L12_1.z = -4243.707 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 247.613 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 27 L12_1 = GadgetState L12_1 = L12_1.GearAction1 L11_1.state = L12_1 L11_1.area_id = 11 L12_1 = {} L12_1.config_id = 581014 L12_1.gadget_id = 70330101 L13_1 = {} L13_1.x = -2298.347 L13_1.y = 204.175 L13_1.z = -4243.166 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 316.102 L13_1.y = 335.143 L13_1.z = 180.0 L12_1.rot = L13_1 L12_1.level = 27 L13_1 = GadgetState L13_1 = L13_1.GearStart L12_1.state = L13_1 L12_1.persistent = true L12_1.mark_flag = 3 L12_1.area_id = 11 L13_1 = {} L13_1.config_id = 581015 L13_1.gadget_id = 70330101 L14_1 = {} L14_1.x = -2298.54 L14_1.y = 203.045 L14_1.z = -4242.748 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 316.102 L14_1.y = 335.143 L14_1.z = 180.0 L13_1.rot = L14_1 L13_1.level = 27 L14_1 = GadgetState L14_1 = L14_1.GearStop L13_1.state = L14_1 L13_1.persistent = true L13_1.mark_flag = 3 L13_1.area_id = 11 L14_1 = {} L14_1.config_id = 581016 L14_1.gadget_id = 70330101 L15_1 = {} L15_1.x = -2298.089 L15_1.y = 202.468 L15_1.z = -4243.717 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 316.102 L15_1.y = 335.143 L15_1.z = 180.0 L14_1.rot = L15_1 L14_1.level = 27 L14_1.persistent = true L14_1.mark_flag = 3 L14_1.area_id = 11 L15_1 = {} L15_1.config_id = 581017 L15_1.gadget_id = 70330101 L16_1 = {} L16_1.x = -2297.664 L16_1.y = 203.024 L16_1.z = -4244.638 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 316.102 L16_1.y = 335.143 L16_1.z = 180.0 L15_1.rot = L16_1 L15_1.level = 27 L16_1 = GadgetState L16_1 = L16_1.GearStop L15_1.state = L16_1 L15_1.persistent = true L15_1.mark_flag = 3 L15_1.area_id = 11 L16_1 = {} L16_1.config_id = 581018 L16_1.gadget_id = 70330101 L17_1 = {} L17_1.x = -2297.812 L17_1.y = 204.281 L17_1.z = -4244.315 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 316.102 L17_1.y = 335.143 L17_1.z = 180.0 L16_1.rot = L17_1 L16_1.level = 27 L17_1 = GadgetState L17_1 = L17_1.GearStart L16_1.state = L17_1 L16_1.persistent = true L16_1.mark_flag = 3 L16_1.area_id = 11 L17_1 = {} L17_1.config_id = 581019 L17_1.gadget_id = 70330103 L18_1 = {} L18_1.x = -2298.089 L18_1.y = 202.468 L18_1.z = -4243.717 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 0.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 27 L17_1.persistent = true L17_1.area_id = 11 L18_1 = {} L18_1.config_id = 581020 L18_1.gadget_id = 70360001 L19_1 = {} L19_1.x = -2301.095 L19_1.y = 201.21 L19_1.z = -4244.29 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 155.143 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 27 L18_1.area_id = 11 L19_1 = {} L19_1.config_id = 581038 L19_1.gadget_id = 70330092 L20_1 = {} L20_1.x = -2289.467 L20_1.y = 203.453 L20_1.z = -4232.528 L19_1.pos = L20_1 L20_1 = {} L20_1.x = 340.039 L20_1.y = 267.723 L20_1.z = 351.374 L19_1.rot = L20_1 L19_1.level = 27 L20_1 = GadgetState L20_1 = L20_1.GearStart L19_1.state = L20_1 L19_1.persistent = true L19_1.area_id = 11 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 L1_1[14] = L15_1 L1_1[15] = L16_1 L1_1[16] = L17_1 L1_1[17] = L18_1 L1_1[18] = L19_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1581011 L2_1.name = "QUEST_FINISH_581011" L3_1 = EventType L3_1 = L3_1.EVENT_QUEST_FINISH L2_1.event = L3_1 L2_1.source = "7210011" L2_1.condition = "" L2_1.action = "action_EVENT_QUEST_FINISH_581011" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1581013 L3_1.name = "GADGET_STATE_CHANGE_581013" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_581013" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_581013" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1581021 L4_1.name = "SELECT_OPTION_581021" L5_1 = EventType L5_1 = L5_1.EVENT_SELECT_OPTION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_SELECT_OPTION_581021" L4_1.action = "action_EVENT_SELECT_OPTION_581021" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1581022 L5_1.name = "SELECT_OPTION_581022" L6_1 = EventType L6_1 = L6_1.EVENT_SELECT_OPTION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_SELECT_OPTION_581022" L5_1.action = "action_EVENT_SELECT_OPTION_581022" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1581023 L6_1.name = "SELECT_OPTION_581023" L7_1 = EventType L7_1 = L7_1.EVENT_SELECT_OPTION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_SELECT_OPTION_581023" L6_1.action = "action_EVENT_SELECT_OPTION_581023" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1581024 L7_1.name = "SELECT_OPTION_581024" L8_1 = EventType L8_1 = L8_1.EVENT_SELECT_OPTION L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_SELECT_OPTION_581024" L7_1.action = "action_EVENT_SELECT_OPTION_581024" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1581025 L8_1.name = "ANY_MONSTER_DIE_581025" L9_1 = EventType L9_1 = L9_1.EVENT_ANY_MONSTER_DIE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_581025" L8_1.action = "action_EVENT_ANY_MONSTER_DIE_581025" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1581026 L9_1.name = "TIME_AXIS_PASS_581026" L10_1 = EventType L10_1 = L10_1.EVENT_TIME_AXIS_PASS L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_TIME_AXIS_PASS_581026" L9_1.action = "action_EVENT_TIME_AXIS_PASS_581026" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1581027 L10_1.name = "VARIABLE_CHANGE_581027" L11_1 = EventType L11_1 = L11_1.EVENT_VARIABLE_CHANGE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_581027" L10_1.action = "action_EVENT_VARIABLE_CHANGE_581027" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1581028 L11_1.name = "GADGET_STATE_CHANGE_581028" L12_1 = EventType L12_1 = L12_1.EVENT_GADGET_STATE_CHANGE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_581028" L11_1.action = "action_EVENT_GADGET_STATE_CHANGE_581028" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1581029 L12_1.name = "GADGET_STATE_CHANGE_581029" L13_1 = EventType L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_581029" L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_581029" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1581030 L13_1.name = "SELECT_OPTION_581030" L14_1 = EventType L14_1 = L14_1.EVENT_SELECT_OPTION L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_SELECT_OPTION_581030" L13_1.action = "action_EVENT_SELECT_OPTION_581030" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1581031 L14_1.name = "TIME_AXIS_PASS_581031" L15_1 = EventType L15_1 = L15_1.EVENT_TIME_AXIS_PASS L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_TIME_AXIS_PASS_581031" L14_1.action = "action_EVENT_TIME_AXIS_PASS_581031" L15_1 = {} L15_1.config_id = 1581032 L15_1.name = "TIME_AXIS_PASS_581032" L16_1 = EventType L16_1 = L16_1.EVENT_TIME_AXIS_PASS L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_TIME_AXIS_PASS_581032" L15_1.action = "action_EVENT_TIME_AXIS_PASS_581032" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1581033 L16_1.name = "GROUP_LOAD_581033" L17_1 = EventType L17_1 = L17_1.EVENT_GROUP_LOAD L16_1.event = L17_1 L16_1.source = "" L16_1.condition = "condition_EVENT_GROUP_LOAD_581033" L16_1.action = "action_EVENT_GROUP_LOAD_581033" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1581034 L17_1.name = "GADGET_STATE_CHANGE_581034" L18_1 = EventType L18_1 = L18_1.EVENT_GADGET_STATE_CHANGE L17_1.event = L18_1 L17_1.source = "" L17_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_581034" L17_1.action = "action_EVENT_GADGET_STATE_CHANGE_581034" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1581035 L18_1.name = "GADGET_STATE_CHANGE_581035" L19_1 = EventType L19_1 = L19_1.EVENT_GADGET_STATE_CHANGE L18_1.event = L19_1 L18_1.source = "" L18_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_581035" L18_1.action = "action_EVENT_GADGET_STATE_CHANGE_581035" L18_1.trigger_count = 0 L19_1 = {} L19_1.config_id = 1581036 L19_1.name = "GROUP_LOAD_581036" L20_1 = EventType L20_1 = L20_1.EVENT_GROUP_LOAD L19_1.event = L20_1 L19_1.source = "" L19_1.condition = "condition_EVENT_GROUP_LOAD_581036" L19_1.action = "action_EVENT_GROUP_LOAD_581036" L19_1.trigger_count = 0 L20_1 = {} L20_1.config_id = 1581039 L20_1.name = "USE_WIDGET_TOY_FOX_CAMERA_581039" L21_1 = EventType L21_1 = L21_1.EVENT_USE_WIDGET_TOY_FOX_CAMERA L20_1.event = L21_1 L20_1.source = "" L20_1.condition = "condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581039" L20_1.action = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581039" L20_1.trigger_count = 0 L21_1 = {} L21_1.config_id = 1581040 L21_1.name = "USE_WIDGET_TOY_FOX_CAMERA_581040" L22_1 = EventType L22_1 = L22_1.EVENT_USE_WIDGET_TOY_FOX_CAMERA L21_1.event = L22_1 L21_1.source = "" L21_1.condition = "condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581040" L22_1 = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581040" L21_1.action = L22_1 L21_1.trigger_count = 0 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 L1_1[14] = L15_1 L1_1[15] = L16_1 L1_1[16] = L17_1 L1_1[17] = L18_1 L1_1[18] = L19_1 L1_1[19] = L20_1 L1_1[20] = L21_1 triggers = L1_1 L1_1 = "variables" L2_1 = {} L3_1 = {} L4_1 = "configId" L5_1 = 1 L3_1[L4_1] = L5_1 L4_1 = "giving" L3_1.name = L4_1 L4_1 = "value" L3_1[L4_1] = 0 L4_1 = "no_refresh" L3_1[L4_1] = true L4_1 = {} L5_1 = "configId" L4_1[L5_1] = 2 L5_1 = "win" L4_1.name = L5_1 L5_1 = "value" L4_1[L5_1] = 0 L5_1 = "no_refresh" L4_1[L5_1] = true L2_1[1] = L3_1 L2_1[2] = L4_1 _ENV[L1_1] = L2_1 L1_1 = "init_config" L2_1 = {} L3_1 = "suite" L4_1 = 1 L2_1[L3_1] = L4_1 L3_1 = "end_suite" L2_1[L3_1] = 0 L3_1 = "rand_suite" L4_1 = false L2_1[L3_1] = L4_1 _ENV[L1_1] = L2_1 L1_1 = "suites" L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 581002 L6_1 = 581003 L7_1 = 581006 L8_1 = 581007 L9_1 = 581008 L10_1 = 581009 L11_1 = 581010 L12_1 = 581020 L13_1 = 581038 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L4_1[8] = L12_1 L4_1[9] = L13_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "QUEST_FINISH_581011" L6_1 = "GADGET_STATE_CHANGE_581013" L7_1 = "SELECT_OPTION_581021" L8_1 = "SELECT_OPTION_581022" L9_1 = "SELECT_OPTION_581023" L10_1 = "SELECT_OPTION_581024" L11_1 = "ANY_MONSTER_DIE_581025" L12_1 = "TIME_AXIS_PASS_581026" L13_1 = "VARIABLE_CHANGE_581027" L14_1 = "GADGET_STATE_CHANGE_581028" L15_1 = "GADGET_STATE_CHANGE_581029" L16_1 = "SELECT_OPTION_581030" L17_1 = "TIME_AXIS_PASS_581031" L18_1 = "TIME_AXIS_PASS_581032" L19_1 = "GROUP_LOAD_581033" L20_1 = "GADGET_STATE_CHANGE_581034" L21_1 = "GADGET_STATE_CHANGE_581035" L22_1 = "GROUP_LOAD_581036" L23_1 = "USE_WIDGET_TOY_FOX_CAMERA_581039" L24_1 = "USE_WIDGET_TOY_FOX_CAMERA_581040" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L4_1[8] = L12_1 L4_1[9] = L13_1 L4_1[10] = L14_1 L4_1[11] = L15_1 L4_1[12] = L16_1 L4_1[13] = L17_1 L4_1[14] = L18_1 L4_1[15] = L19_1 L4_1[16] = L20_1 L4_1[17] = L21_1 L4_1[18] = L22_1 L4_1[19] = L23_1 L4_1[20] = L24_1 L3_1.triggers = L4_1 L4_1 = "rand_weight" L5_1 = 100 L3_1[L4_1] = L5_1 L2_1[1] = L3_1 _ENV[L1_1] = L2_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 322072605 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : active_reminder_ui" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_581011 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 581003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_581013 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581006 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581007 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581006 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581007 L5_2 = GadgetState L5_2 = L5_2.GearAction2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_581013 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 581004 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 79 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_581021 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2 L2_2 = {} L3_2 = 203 L4_2 = 204 L5_2 = 901 L6_2 = 902 L2_2[1] = L3_2 L2_2[2] = L4_2 L2_2[3] = L5_2 L2_2[4] = L6_2 L3_2 = 0 L4_2 = #L2_2 if 0 == L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = pairs L5_2 = L2_2 L4_2, L5_2, L6_2 = L4_2(L5_2) for L7_2, L8_2 in L4_2, L5_2, L6_2 do L9_2 = ScriptLib L9_2 = L9_2.GetGadgetStateByConfigId L10_2 = A0_2 L11_2 = 133220581 L12_2 = 581004 L9_2 = L9_2(L10_2, L11_2, L12_2) if L8_2 == L9_2 then L3_2 = L7_2 break end end if 0 == L3_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182" L7_2 = 581004 L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581004 L8_2 = L2_2[1] L4_2(L5_2, L6_2, L7_2, L8_2) L4_2 = 0 return L4_2 end L3_2 = L3_2 + 1 L4_2 = #L2_2 L3_2 = L3_2 % L4_2 if 0 == L3_2 then L3_2 = #L2_2 end L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581004 L8_2 = L2_2[L3_2] L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182" L7_2 = 581004 L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_SELECT_OPTION_581021 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 581005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 79 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_581022 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2 L2_2 = {} L3_2 = 203 L4_2 = 204 L5_2 = 901 L6_2 = 902 L2_2[1] = L3_2 L2_2[2] = L4_2 L2_2[3] = L5_2 L2_2[4] = L6_2 L3_2 = 0 L4_2 = #L2_2 if 0 == L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = pairs L5_2 = L2_2 L4_2, L5_2, L6_2 = L4_2(L5_2) for L7_2, L8_2 in L4_2, L5_2, L6_2 do L9_2 = ScriptLib L9_2 = L9_2.GetGadgetStateByConfigId L10_2 = A0_2 L11_2 = 133220581 L12_2 = 581005 L9_2 = L9_2(L10_2, L11_2, L12_2) if L8_2 == L9_2 then L3_2 = L7_2 break end end if 0 == L3_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182" L7_2 = 581005 L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581005 L8_2 = L2_2[1] L4_2(L5_2, L6_2, L7_2, L8_2) L4_2 = 0 return L4_2 end L3_2 = L3_2 + 1 L4_2 = #L2_2 L3_2 = L3_2 % L4_2 if 0 == L3_2 then L3_2 = #L2_2 end L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581005 L8_2 = L2_2[L3_2] L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182" L7_2 = 581005 L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_SELECT_OPTION_581022 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 581006 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 79 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_581023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2 L2_2 = {} L3_2 = 203 L4_2 = 204 L5_2 = 901 L6_2 = 902 L2_2[1] = L3_2 L2_2[2] = L4_2 L2_2[3] = L5_2 L2_2[4] = L6_2 L3_2 = 0 L4_2 = #L2_2 if 0 == L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = pairs L5_2 = L2_2 L4_2, L5_2, L6_2 = L4_2(L5_2) for L7_2, L8_2 in L4_2, L5_2, L6_2 do L9_2 = ScriptLib L9_2 = L9_2.GetGadgetStateByConfigId L10_2 = A0_2 L11_2 = 133220581 L12_2 = 581006 L9_2 = L9_2(L10_2, L11_2, L12_2) if L8_2 == L9_2 then L3_2 = L7_2 break end end if 0 == L3_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182" L7_2 = 581006 L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581006 L8_2 = L2_2[1] L4_2(L5_2, L6_2, L7_2, L8_2) L4_2 = 0 return L4_2 end L3_2 = L3_2 + 1 L4_2 = #L2_2 L3_2 = L3_2 % L4_2 if 0 == L3_2 then L3_2 = #L2_2 end L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581006 L8_2 = L2_2[L3_2] L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182" L7_2 = 581006 L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.SetWorktopOptionsByGroupId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581003 L8_2 = {} L9_2 = 80 L8_2[1] = L9_2 L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_SELECT_OPTION_581023 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 581007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 79 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_581024 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2 L2_2 = {} L3_2 = 203 L4_2 = 204 L5_2 = 901 L6_2 = 902 L2_2[1] = L3_2 L2_2[2] = L4_2 L2_2[3] = L5_2 L2_2[4] = L6_2 L3_2 = 0 L4_2 = #L2_2 if 0 == L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = pairs L5_2 = L2_2 L4_2, L5_2, L6_2 = L4_2(L5_2) for L7_2, L8_2 in L4_2, L5_2, L6_2 do L9_2 = ScriptLib L9_2 = L9_2.GetGadgetStateByConfigId L10_2 = A0_2 L11_2 = 133220581 L12_2 = 581007 L9_2 = L9_2(L10_2, L11_2, L12_2) if L8_2 == L9_2 then L3_2 = L7_2 break end end if 0 == L3_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182" L7_2 = 581007 L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581007 L8_2 = L2_2[1] L4_2(L5_2, L6_2, L7_2, L8_2) L4_2 = 0 return L4_2 end L3_2 = L3_2 + 1 L4_2 = #L2_2 L3_2 = L3_2 % L4_2 if 0 == L3_2 then L3_2 = #L2_2 end L4_2 = ScriptLib L4_2 = L4_2.SetGroupGadgetStateByConfigId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581007 L8_2 = L2_2[L3_2] L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182" L7_2 = 581007 L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159" L6_2 = L6_2 .. L7_2 .. L8_2 L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.SetWorktopOptionsByGroupId L5_2 = A0_2 L6_2 = 133220581 L7_2 = 581003 L8_2 = {} L9_2 = 80 L8_2[1] = L9_2 L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_SELECT_OPTION_581024 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if L2_2 ~= 581001 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_581025 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.InitTimeAxis L3_2 = A0_2 L4_2 = "cutscene" L5_2 = {} L6_2 = 2 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "win" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581009 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581010 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581014 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581015 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581016 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581017 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581018 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581019 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_581025 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "cutscene" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_581026 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "fin_7210005" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "win" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581003 L6_2 = {} L7_2 = 80 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581009 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581010 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_581026 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "giving" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_581027 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581003 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_581027 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 581003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_581028 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581004 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581005 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581006 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581007 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581007 L5_2 = GadgetState L5_2 = L5_2.GearAction2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581006 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581004 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581005 L5_2 = GadgetState L5_2 = L5_2.GearAction2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_581028 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = GadgetState L2_2 = L2_2.GearStop L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133220581 L6_2 = 581003 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = GadgetState L2_2 = L2_2.GearAction1 L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133220581 L6_2 = 581004 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = GadgetState L2_2 = L2_2.GearAction1 L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133220581 L6_2 = 581005 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = GadgetState L2_2 = L2_2.GearAction2 L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133220581 L6_2 = 581006 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = GadgetState L2_2 = L2_2.GearAction2 L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133220581 L6_2 = 581007 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_581029 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.EndTimeAxis L3_2 = A0_2 L4_2 = "failedplay" L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.InitTimeAxis L3_2 = A0_2 L4_2 = "winplay" L5_2 = {} L6_2 = 1 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_581029 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 581003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 80 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_581030 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581003 L6_2 = 80 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581003 L6_2 = GadgetState L6_2 = L6_2.GearStop L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.InitTimeAxis L3_2 = A0_2 L4_2 = "failedplay" L5_2 = {} L6_2 = 3 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_581030 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "winplay" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_581031 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581001 L4_2.delay_time = 0 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_monster" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_581031 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "failedplay" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_581032 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581003 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_581032 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "giving" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GROUP_LOAD_581033 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581002 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581003 L6_2 = {} L7_2 = 80 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581004 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581005 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581006 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581007 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581012 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581017 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581015 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581014 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581018 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581016 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581019 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581003 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581006 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581007 L5_2 = GadgetState L5_2 = L5_2.GearAction2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581005 L5_2 = GadgetState L5_2 = L5_2.GearAction2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581004 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_581033 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param2 if 581002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "giving" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_581034 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "giving" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : change_GroupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = {} L2_2.x = -2298.592 L2_2.y = 203.659 L2_2.z = -4244.03 L3_2 = {} L3_2.x = 0 L3_2.y = 2 L3_2.z = 0 L4_2 = ScriptLib L4_2 = L4_2.BeginCameraSceneLook L5_2 = A0_2 L6_2 = {} L6_2.look_pos = L2_2 L6_2.is_allow_input = true L6_2.duration = 2 L6_2.is_force = true L6_2.is_broadcast = false L6_2.is_recover_keep_current = true L6_2.delay = 0 L6_2.is_set_follow_pos = false L6_2.follow_pos = L3_2 L6_2.is_force_walk = false L6_2.is_change_play_mode = false L6_2.is_set_screen_XY = false L6_2.screen_x = 0 L6_2.screen_y = 0 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581012 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581017 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581015 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581014 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581018 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581016 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.CreateGadget L5_2 = A0_2 L6_2 = {} L6_2.config_id = 581019 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_gadget" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_GADGET_STATE_CHANGE_581034 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 581003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_581035 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptions L3_2 = A0_2 L4_2 = {} L5_2 = 80 L4_2[1] = L5_2 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_work_options" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_581035 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "win" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GROUP_LOAD_581036 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "fin_7210005" L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.MONSTER L6_2 = 581001 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_581036 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.GetGadgetConfigId L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.gadget_eid = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 == 581038 then L3_2 = true return L3_2 end L3_2 = false return L3_2 end condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581039 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581004 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581038 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581038 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581004 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581004 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581039 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.GetGadgetConfigId L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.gadget_eid = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 == 581008 then L3_2 = true return L3_2 end L3_2 = false return L3_2 end condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581040 = L1_1 L1_1 = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_581040" function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 581005 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581008 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220581 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 581008 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 581005 L5_2 = GadgetState L5_2 = L5_2.GearAction2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133220581 L5_2 = 581005 L6_2 = {} L7_2 = 79 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end _ENV[L1_1] = L2_1