local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1 L0_1 = {} L0_1.group_id = 177005129 L1_1 = {} L1_1.gadget_riddle_1 = 129001 L1_1.gadget_riddle_2 = 129002 L1_1.gadget_riddle_3 = 129003 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 129001 L3_1.gadget_id = 70900008 L4_1 = {} L4_1.x = 580.525 L4_1.y = 205.687 L4_1.z = 640.378 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 354.848 L4_1.y = 1.907 L4_1.z = 3.926 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = GadgetState L4_1 = L4_1.GearStop L3_1.state = L4_1 L3_1.persistent = true L3_1.area_id = 210 L4_1 = {} L4_1.config_id = 129002 L4_1.gadget_id = 70900008 L5_1 = {} L5_1.x = 575.919 L5_1.y = 206.646 L5_1.z = 654.78 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 354.638 L5_1.y = 1.546 L5_1.z = 4.876 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = GadgetState L5_1 = L5_1.GearStop L4_1.state = L5_1 L4_1.persistent = true L4_1.area_id = 210 L5_1 = {} L5_1.config_id = 129003 L5_1.gadget_id = 70900008 L6_1 = {} L6_1.x = 589.598 L6_1.y = 208.792 L6_1.z = 657.181 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 353.017 L6_1.y = 5.26 L6_1.z = 6.258 L5_1.rot = L6_1 L5_1.level = 1 L5_1.persistent = true L5_1.area_id = 210 L6_1 = {} L6_1.config_id = 129005 L6_1.gadget_id = 70290291 L7_1 = {} L7_1.x = 589.82 L7_1.y = 207.195 L7_1.z = 646.027 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 1.261 L7_1.y = 302.132 L7_1.z = 6.394 L6_1.rot = L7_1 L6_1.level = 36 L6_1.persistent = true L6_1.area_id = 210 L7_1 = {} L7_1.config_id = 129006 L7_1.gadget_id = 70211161 L8_1 = {} L8_1.x = 583.476 L8_1.y = 206.955 L8_1.z = 650.78 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 2.308 L8_1.y = 305.615 L8_1.z = 6.198 L7_1.rot = L8_1 L7_1.level = 16 L7_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\184\173\231\186\167\231\168\187\229\166\187" L7_1.isOneoff = true L7_1.persistent = true L7_1.area_id = 210 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1129004 L3_1.name = "GADGET_STATE_CHANGE_129004" 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_129004" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_129004" L4_1 = {} L4_1.config_id = 1129007 L4_1.name = "GADGET_STATE_CHANGE_129007" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_129007" L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_129007" L5_1 = {} L5_1.config_id = 1129013 L5_1.name = "GADGET_STATE_CHANGE_129013" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_129013" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_129013" L6_1 = {} L6_1.config_id = 1129014 L6_1.name = "VARIABLE_CHANGE_129014" L7_1 = EventType L7_1 = L7_1.EVENT_VARIABLE_CHANGE L6_1.event = L7_1 L6_1.source = "State_Flag" L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_129014" L6_1.action = "action_EVENT_VARIABLE_CHANGE_129014" L6_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "State_Flag" L3_1.value = 0 L3_1.no_refresh = true L2_1[1] = L3_1 variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 0 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 129001 L6_1 = 129002 L7_1 = 129003 L8_1 = 129005 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "GADGET_STATE_CHANGE_129004" L6_1 = "GADGET_STATE_CHANGE_129007" L7_1 = "GADGET_STATE_CHANGE_129013" L8_1 = "VARIABLE_CHANGE_129014" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L2_1[1] = L3_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 129001 == 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_129004 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "State_Flag" 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_129004 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 129003 == 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_129007 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "State_Flag" 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_129007 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 129002 == 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_129013 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "State_Flag" 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_129013 = L2_1 function L2_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 = "State_Flag" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 3 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_129014 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 129005 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 : kill_entity_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 = 129006 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 = {} L2_2.x = 589 L2_2.y = 207 L2_2.z = 646 L3_2 = {} L3_2.x = 0 L3_2.y = 0 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 = false 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 = 0 return L4_2 end action_EVENT_VARIABLE_CHANGE_129014 = L2_1