local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1 L0_1 = {} L0_1.group_id = 133220408 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 408001 L2_1.gadget_id = 70290107 L3_1 = {} L3_1.x = -2479.097 L3_1.y = 216.672 L3_1.z = -4625.76 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 4.846 L3_1.y = 55.741 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 27 L2_1.persistent = true L2_1.area_id = 11 L3_1 = {} L3_1.config_id = 408002 L3_1.gadget_id = 70500000 L4_1 = {} L4_1.x = -2478.346 L4_1.y = 216.824 L4_1.z = -4625.251 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 27 L3_1.point_type = 9143 L3_1.isOneoff = true L3_1.persistent = true L3_1.area_id = 11 L4_1 = {} L4_1.config_id = 408003 L4_1.gadget_id = 70330092 L5_1 = {} L5_1.x = -2479.558 L5_1.y = 216.821 L5_1.z = -4624.201 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 357.324 L5_1.y = 102.98 L5_1.z = 357.585 L4_1.rot = L5_1 L4_1.level = 27 L5_1 = GadgetState L5_1 = L5_1.GearStart L4_1.state = L5_1 L4_1.persistent = true L4_1.area_id = 11 L5_1 = {} L5_1.config_id = 408006 L5_1.gadget_id = 71700288 L6_1 = {} L6_1.x = -2478.34 L6_1.y = 216.825 L6_1.z = -4625.248 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 0.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 27 L5_1.isOneoff = true L5_1.persistent = true L5_1.area_id = 11 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1408004 L2_1.name = "USE_WIDGET_TOY_FOX_CAMERA_408004" L3_1 = EventType L3_1 = L3_1.EVENT_USE_WIDGET_TOY_FOX_CAMERA L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_408004" L2_1.action = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_408004" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1408005 L3_1.name = "GADGET_STATE_CHANGE_408005" 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_408005" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_408005" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1408007 L4_1.name = "GATHER_408007" L5_1 = EventType L5_1 = L5_1.EVENT_GATHER L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GATHER_408007" L4_1.action = "action_EVENT_GATHER_408007" L4_1.trigger_count = 0 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 triggers = L1_1 L1_1 = {} variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 0 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 408003 L3_1[1] = L4_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "USE_WIDGET_TOY_FOX_CAMERA_408004" L5_1 = "GADGET_STATE_CHANGE_408005" L6_1 = "GATHER_408007" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L1_1[1] = L2_1 suites = 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 == 408003 then L3_2 = true return L3_2 end L3_2 = false return L3_2 end condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_408004 = 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 408001 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 = 408003 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.ShowReminder L3_2 = A0_2 L4_2 = 322072611 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_USE_WIDGET_TOY_FOX_CAMERA_408004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 408001 == 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_408005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 408002 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 = 408006 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_408005 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 408002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GATHER_408007 = 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.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220408 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 408006 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_GATHER_408007 = L1_1