Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133217135.lua
2022-04-29 16:40:51 +02:00

2034 lines
43 KiB
Lua

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, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1
L0_1 = {}
L0_1.group_id = 133217135
L1_1 = {}
monsters = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 135001
L2_1.npc_id = 20379
L3_1 = {}
L3_1.x = -4739.24
L3_1.y = 233.344
L3_1.z = -3708.473
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 135006
L3_1.npc_id = 20379
L4_1 = {}
L4_1.x = -4746.449
L4_1.y = 218.493
L4_1.z = -3710.214
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 123.055
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 135011
L4_1.npc_id = 20379
L5_1 = {}
L5_1.x = -4752.766
L5_1.y = 233.016
L5_1.z = -3733.655
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 17.132
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 135025
L5_1.npc_id = 20379
L6_1 = {}
L6_1.x = -4750.809
L6_1.y = 240.619
L6_1.z = -3694.784
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 7.161
L6_1.y = 133.07
L6_1.z = 0.011
L5_1.rot = L6_1
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 135033
L6_1.npc_id = 20379
L7_1 = {}
L7_1.x = -4747.658
L7_1.y = 237.875
L7_1.z = -3724.311
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 7.161
L7_1.y = 65.255
L7_1.z = 0.011
L6_1.rot = L7_1
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 135041
L7_1.npc_id = 20379
L8_1 = {}
L8_1.x = -4775.563
L8_1.y = 206.305
L8_1.z = -3687.116
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 7.161
L8_1.y = 65.255
L8_1.z = 0.011
L7_1.rot = L8_1
L7_1.area_id = 14
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
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 135002
L2_1.gadget_id = 70360286
L3_1 = {}
L3_1.x = -4739.199
L3_1.y = 233.377
L3_1.z = -3708.461
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 135007
L3_1.gadget_id = 70360286
L4_1 = {}
L4_1.x = -4746.405
L4_1.y = 218.495
L4_1.z = -3710.234
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 = 1
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 135012
L4_1.gadget_id = 70360286
L5_1 = {}
L5_1.x = -4752.681
L5_1.y = 233.019
L5_1.z = -3733.702
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 135026
L5_1.gadget_id = 70360286
L6_1 = {}
L6_1.x = -4750.807
L6_1.y = 240.618
L6_1.z = -3694.789
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 125.568
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 135034
L6_1.gadget_id = 70360286
L7_1 = {}
L7_1.x = -4747.633
L7_1.y = 237.874
L7_1.z = -3724.338
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 67.602
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 135042
L7_1.gadget_id = 70360286
L8_1 = {}
L8_1.x = -4775.541
L8_1.y = 206.311
L8_1.z = -3687.141
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 67.602
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 14
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1135003
L2_1.name = "GADGET_CREATE_135003"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_135003"
L2_1.action = "action_EVENT_GADGET_CREATE_135003"
L3_1 = {}
L3_1.config_id = 1135004
L3_1.name = "SELECT_OPTION_135004"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_135004"
L3_1.action = ""
L3_1.tag = "13501"
L4_1 = {}
L4_1.config_id = 1135005
L4_1.name = "GROUP_WILL_UNLOAD_135005"
L5_1 = EventType
L5_1 = L5_1.EVENT_GROUP_WILL_UNLOAD
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = ""
L4_1.action = "action_EVENT_GROUP_WILL_UNLOAD_135005"
L5_1 = {}
L5_1.config_id = 1135008
L5_1.name = "GADGET_CREATE_135008"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_135008"
L5_1.action = "action_EVENT_GADGET_CREATE_135008"
L6_1 = {}
L6_1.config_id = 1135009
L6_1.name = "SELECT_OPTION_135009"
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_135009"
L6_1.action = ""
L6_1.tag = "13502"
L7_1 = {}
L7_1.config_id = 1135010
L7_1.name = "GROUP_WILL_UNLOAD_135010"
L8_1 = EventType
L8_1 = L8_1.EVENT_GROUP_WILL_UNLOAD
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = "action_EVENT_GROUP_WILL_UNLOAD_135010"
L8_1 = {}
L8_1.config_id = 1135013
L8_1.name = "GADGET_CREATE_135013"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_CREATE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_CREATE_135013"
L8_1.action = "action_EVENT_GADGET_CREATE_135013"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1135014
L9_1.name = "SELECT_OPTION_135014"
L10_1 = EventType
L10_1 = L10_1.EVENT_SELECT_OPTION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_SELECT_OPTION_135014"
L9_1.action = ""
L9_1.tag = "13503"
L10_1 = {}
L10_1.config_id = 1135015
L10_1.name = "GROUP_WILL_UNLOAD_135015"
L11_1 = EventType
L11_1 = L11_1.EVENT_GROUP_WILL_UNLOAD
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_GROUP_WILL_UNLOAD_135015"
L11_1 = {}
L11_1.config_id = 1135016
L11_1.name = "CHALLENGE_SUCCESS_135016"
L12_1 = EventType
L12_1 = L12_1.EVENT_CHALLENGE_SUCCESS
L11_1.event = L12_1
L11_1.source = "1001"
L11_1.condition = ""
L11_1.action = "action_EVENT_CHALLENGE_SUCCESS_135016"
L12_1 = {}
L12_1.config_id = 1135017
L12_1.name = "CHALLENGE_FAIL_135017"
L13_1 = EventType
L13_1 = L13_1.EVENT_CHALLENGE_FAIL
L12_1.event = L13_1
L12_1.source = "1001"
L12_1.condition = ""
L12_1.action = "action_EVENT_CHALLENGE_FAIL_135017"
L13_1 = {}
L13_1.config_id = 1135018
L13_1.name = "CHALLENGE_FAIL_135018"
L14_1 = EventType
L14_1 = L14_1.EVENT_CHALLENGE_FAIL
L13_1.event = L14_1
L13_1.source = "1002"
L13_1.condition = ""
L13_1.action = "action_EVENT_CHALLENGE_FAIL_135018"
L14_1 = {}
L14_1.config_id = 1135019
L14_1.name = "CHALLENGE_SUCCESS_135019"
L15_1 = EventType
L15_1 = L15_1.EVENT_CHALLENGE_SUCCESS
L14_1.event = L15_1
L14_1.source = "1002"
L14_1.condition = ""
L14_1.action = "action_EVENT_CHALLENGE_SUCCESS_135019"
L15_1 = {}
L15_1.config_id = 1135020
L15_1.name = "CHALLENGE_FAIL_135020"
L16_1 = EventType
L16_1 = L16_1.EVENT_CHALLENGE_FAIL
L15_1.event = L16_1
L15_1.source = "1003"
L15_1.condition = ""
L15_1.action = "action_EVENT_CHALLENGE_FAIL_135020"
L16_1 = {}
L16_1.config_id = 1135021
L16_1.name = "CHALLENGE_SUCCESS_135021"
L17_1 = EventType
L17_1 = L17_1.EVENT_CHALLENGE_SUCCESS
L16_1.event = L17_1
L16_1.source = "1003"
L16_1.condition = ""
L16_1.action = "action_EVENT_CHALLENGE_SUCCESS_135021"
L17_1 = {}
L17_1.config_id = 1135022
L17_1.name = "QUEST_FINISH_135022"
L18_1 = EventType
L18_1 = L18_1.EVENT_QUEST_FINISH
L17_1.event = L18_1
L17_1.source = "2204101"
L17_1.condition = ""
L17_1.action = "action_EVENT_QUEST_FINISH_135022"
L18_1 = {}
L18_1.config_id = 1135023
L18_1.name = "QUEST_FINISH_135023"
L19_1 = EventType
L19_1 = L19_1.EVENT_QUEST_FINISH
L18_1.event = L19_1
L18_1.source = "2204101"
L18_1.condition = ""
L18_1.action = "action_EVENT_QUEST_FINISH_135023"
L19_1 = {}
L19_1.config_id = 1135024
L19_1.name = "QUEST_FINISH_135024"
L20_1 = EventType
L20_1 = L20_1.EVENT_QUEST_FINISH
L19_1.event = L20_1
L19_1.source = "2204101"
L19_1.condition = ""
L19_1.action = "action_EVENT_QUEST_FINISH_135024"
L20_1 = {}
L20_1.config_id = 1135027
L20_1.name = "GADGET_CREATE_135027"
L21_1 = EventType
L21_1 = L21_1.EVENT_GADGET_CREATE
L20_1.event = L21_1
L20_1.source = ""
L20_1.condition = "condition_EVENT_GADGET_CREATE_135027"
L20_1.action = "action_EVENT_GADGET_CREATE_135027"
L21_1 = {}
L21_1.config_id = 1135028
L21_1.name = "SELECT_OPTION_135028"
L22_1 = EventType
L22_1 = L22_1.EVENT_SELECT_OPTION
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_SELECT_OPTION_135028"
L21_1.action = ""
L21_1.tag = "13504"
L22_1 = {}
L22_1.config_id = 1135029
L22_1.name = "GROUP_WILL_UNLOAD_135029"
L23_1 = EventType
L23_1 = L23_1.EVENT_GROUP_WILL_UNLOAD
L22_1.event = L23_1
L22_1.source = ""
L22_1.condition = ""
L22_1.action = "action_EVENT_GROUP_WILL_UNLOAD_135029"
L23_1 = {}
L23_1.config_id = 1135030
L23_1.name = "CHALLENGE_SUCCESS_135030"
L24_1 = EventType
L24_1 = L24_1.EVENT_CHALLENGE_SUCCESS
L23_1.event = L24_1
L23_1.source = "1004"
L23_1.condition = ""
L23_1.action = "action_EVENT_CHALLENGE_SUCCESS_135030"
L24_1 = {}
L24_1.config_id = 1135031
L24_1.name = "CHALLENGE_FAIL_135031"
L25_1 = EventType
L25_1 = L25_1.EVENT_CHALLENGE_FAIL
L24_1.event = L25_1
L24_1.source = "1004"
L24_1.condition = ""
L24_1.action = "action_EVENT_CHALLENGE_FAIL_135031"
L25_1 = {}
L25_1.config_id = 1135032
L25_1.name = "QUEST_FINISH_135032"
L26_1 = EventType
L26_1 = L26_1.EVENT_QUEST_FINISH
L25_1.event = L26_1
L25_1.source = "2204101"
L25_1.condition = ""
L25_1.action = "action_EVENT_QUEST_FINISH_135032"
L26_1 = {}
L26_1.config_id = 1135035
L26_1.name = "GADGET_CREATE_135035"
L27_1 = EventType
L27_1 = L27_1.EVENT_GADGET_CREATE
L26_1.event = L27_1
L26_1.source = ""
L26_1.condition = "condition_EVENT_GADGET_CREATE_135035"
L26_1.action = "action_EVENT_GADGET_CREATE_135035"
L27_1 = {}
L27_1.config_id = 1135036
L27_1.name = "SELECT_OPTION_135036"
L28_1 = EventType
L28_1 = L28_1.EVENT_SELECT_OPTION
L27_1.event = L28_1
L27_1.source = ""
L27_1.condition = "condition_EVENT_SELECT_OPTION_135036"
L27_1.action = ""
L27_1.tag = "13505"
L28_1 = {}
L28_1.config_id = 1135037
L28_1.name = "GROUP_WILL_UNLOAD_135037"
L29_1 = EventType
L29_1 = L29_1.EVENT_GROUP_WILL_UNLOAD
L28_1.event = L29_1
L28_1.source = ""
L28_1.condition = ""
L28_1.action = "action_EVENT_GROUP_WILL_UNLOAD_135037"
L29_1 = {}
L29_1.config_id = 1135038
L29_1.name = "CHALLENGE_SUCCESS_135038"
L30_1 = EventType
L30_1 = L30_1.EVENT_CHALLENGE_SUCCESS
L29_1.event = L30_1
L29_1.source = "1005"
L29_1.condition = ""
L29_1.action = "action_EVENT_CHALLENGE_SUCCESS_135038"
L30_1 = {}
L30_1.config_id = 1135039
L30_1.name = "CHALLENGE_FAIL_135039"
L31_1 = EventType
L31_1 = L31_1.EVENT_CHALLENGE_FAIL
L30_1.event = L31_1
L30_1.source = "1005"
L30_1.condition = ""
L30_1.action = "action_EVENT_CHALLENGE_FAIL_135039"
L31_1 = {}
L31_1.config_id = 1135040
L31_1.name = "QUEST_FINISH_135040"
L32_1 = EventType
L32_1 = L32_1.EVENT_QUEST_FINISH
L31_1.event = L32_1
L31_1.source = "2204101"
L31_1.condition = ""
L31_1.action = "action_EVENT_QUEST_FINISH_135040"
L32_1 = {}
L32_1.config_id = 1135043
L32_1.name = "GADGET_CREATE_135043"
L33_1 = EventType
L33_1 = L33_1.EVENT_GADGET_CREATE
L32_1.event = L33_1
L32_1.source = ""
L32_1.condition = "condition_EVENT_GADGET_CREATE_135043"
L32_1.action = "action_EVENT_GADGET_CREATE_135043"
L33_1 = {}
L33_1.config_id = 1135044
L33_1.name = "SELECT_OPTION_135044"
L34_1 = EventType
L34_1 = L34_1.EVENT_SELECT_OPTION
L33_1.event = L34_1
L33_1.source = ""
L33_1.condition = "condition_EVENT_SELECT_OPTION_135044"
L33_1.action = ""
L33_1.tag = "13506"
L34_1 = {}
L34_1.config_id = 1135045
L34_1.name = "GROUP_WILL_UNLOAD_135045"
L35_1 = EventType
L35_1 = L35_1.EVENT_GROUP_WILL_UNLOAD
L34_1.event = L35_1
L34_1.source = ""
L34_1.condition = ""
L34_1.action = "action_EVENT_GROUP_WILL_UNLOAD_135045"
L35_1 = {}
L35_1.config_id = 1135046
L35_1.name = "CHALLENGE_SUCCESS_135046"
L36_1 = EventType
L36_1 = L36_1.EVENT_CHALLENGE_SUCCESS
L35_1.event = L36_1
L35_1.source = "1006"
L35_1.condition = ""
L35_1.action = "action_EVENT_CHALLENGE_SUCCESS_135046"
L36_1 = {}
L36_1.config_id = 1135047
L36_1.name = "CHALLENGE_FAIL_135047"
L37_1 = EventType
L37_1 = L37_1.EVENT_CHALLENGE_FAIL
L36_1.event = L37_1
L36_1.source = "1006"
L36_1.condition = ""
L36_1.action = "action_EVENT_CHALLENGE_FAIL_135047"
L37_1 = {}
L37_1.config_id = 1135048
L37_1.name = "QUEST_FINISH_135048"
L38_1 = EventType
L38_1 = L38_1.EVENT_QUEST_FINISH
L37_1.event = L38_1
L37_1.source = "2204101"
L37_1.condition = ""
L37_1.action = "action_EVENT_QUEST_FINISH_135048"
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
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
L1_1[30] = L31_1
L1_1[31] = L32_1
L1_1[32] = L33_1
L1_1[33] = L34_1
L1_1[34] = L35_1
L1_1[35] = L36_1
L1_1[36] = L37_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = true
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 135002
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_135003"
L5_1 = "SELECT_OPTION_135004"
L6_1 = "GROUP_WILL_UNLOAD_135005"
L7_1 = "CHALLENGE_SUCCESS_135016"
L8_1 = "CHALLENGE_FAIL_135017"
L9_1 = "QUEST_FINISH_135022"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L2_1.triggers = L3_1
L3_1 = {}
L4_1 = 135001
L3_1[1] = L4_1
L2_1.npcs = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 135007
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_135008"
L6_1 = "SELECT_OPTION_135009"
L7_1 = "GROUP_WILL_UNLOAD_135010"
L8_1 = "CHALLENGE_FAIL_135018"
L9_1 = "CHALLENGE_SUCCESS_135019"
L10_1 = "QUEST_FINISH_135023"
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
L3_1.triggers = L4_1
L4_1 = {}
L5_1 = 135006
L4_1[1] = L5_1
L3_1.npcs = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 135012
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_CREATE_135013"
L7_1 = "SELECT_OPTION_135014"
L8_1 = "GROUP_WILL_UNLOAD_135015"
L9_1 = "CHALLENGE_FAIL_135020"
L10_1 = "CHALLENGE_SUCCESS_135021"
L11_1 = "QUEST_FINISH_135024"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L4_1.triggers = L5_1
L5_1 = {}
L6_1 = 135011
L5_1[1] = L6_1
L4_1.npcs = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 135026
L6_1[1] = L7_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "GADGET_CREATE_135027"
L8_1 = "SELECT_OPTION_135028"
L9_1 = "GROUP_WILL_UNLOAD_135029"
L10_1 = "CHALLENGE_SUCCESS_135030"
L11_1 = "CHALLENGE_FAIL_135031"
L12_1 = "QUEST_FINISH_135032"
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L5_1.triggers = L6_1
L6_1 = {}
L7_1 = 135025
L6_1[1] = L7_1
L5_1.npcs = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 135034
L7_1[1] = L8_1
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "GADGET_CREATE_135035"
L9_1 = "SELECT_OPTION_135036"
L10_1 = "GROUP_WILL_UNLOAD_135037"
L11_1 = "CHALLENGE_SUCCESS_135038"
L12_1 = "CHALLENGE_FAIL_135039"
L13_1 = "QUEST_FINISH_135040"
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L7_1[6] = L13_1
L6_1.triggers = L7_1
L7_1 = {}
L8_1 = 135033
L7_1[1] = L8_1
L6_1.npcs = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L9_1 = 135042
L8_1[1] = L9_1
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "GADGET_CREATE_135043"
L10_1 = "SELECT_OPTION_135044"
L11_1 = "GROUP_WILL_UNLOAD_135045"
L12_1 = "CHALLENGE_SUCCESS_135046"
L13_1 = "CHALLENGE_FAIL_135047"
L14_1 = "QUEST_FINISH_135048"
L8_1[1] = L9_1
L8_1[2] = L10_1
L8_1[3] = L11_1
L8_1[4] = L12_1
L8_1[5] = L13_1
L8_1[6] = L14_1
L7_1.triggers = L8_1
L8_1 = {}
L9_1 = 135041
L8_1[1] = L9_1
L7_1.npcs = L8_1
L7_1.rand_weight = 100
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
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_135003 = 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 = 2903
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_CREATE_135003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2903 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_135004 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_135005 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_135008 = 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 = 2903
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_CREATE_135008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2903 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_135009 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_135010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_135013 = 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 = 2903
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_CREATE_135013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2903 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_135014 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_135015 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOSUC"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_135016 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOFAIL"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_135017 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOFAIL"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_135018 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOSUC"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_135019 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOFAIL"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_135020 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOSUC"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_135021 = 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
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 9001
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_target_distance_gallery: start gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetEntityIdByConfigId
L3_2 = A0_2
L4_2 = 135002
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetPosByEntityId
L4_2 = A0_2
L5_2 = L2_2
L3_2 = L3_2(L4_2, L5_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetHandballGalleryBallPosAndRot
L5_2 = A0_2
L6_2 = 9001
L7_2 = {}
L8_2 = L3_2.x
L7_2.x = L8_2
L8_2 = L3_2.y
L7_2.y = L8_2
L8_2 = L3_2.z
L7_2.z = L8_2
L8_2 = {}
L8_2.x = 0
L8_2.y = 0
L8_2.z = 0
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_target_distance_gallery: set target fails"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ActiveChallenge
L5_2 = A0_2
L6_2 = 1001
L7_2 = 2001005
L8_2 = 120
L9_2 = 9
L10_2 = 13501
L11_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_challenge"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_QUEST_FINISH_135022 = 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
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 9001
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_target_distance_gallery: start gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetEntityIdByConfigId
L3_2 = A0_2
L4_2 = 135007
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetPosByEntityId
L4_2 = A0_2
L5_2 = L2_2
L3_2 = L3_2(L4_2, L5_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetHandballGalleryBallPosAndRot
L5_2 = A0_2
L6_2 = 9001
L7_2 = {}
L8_2 = L3_2.x
L7_2.x = L8_2
L8_2 = L3_2.y
L7_2.y = L8_2
L8_2 = L3_2.z
L7_2.z = L8_2
L8_2 = {}
L8_2.x = 0
L8_2.y = 0
L8_2.z = 0
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_target_distance_gallery: set target fails"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ActiveChallenge
L5_2 = A0_2
L6_2 = 1002
L7_2 = 2001005
L8_2 = 120
L9_2 = 9
L10_2 = 13502
L11_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_challenge"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_QUEST_FINISH_135023 = 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
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 9001
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_target_distance_gallery: start gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetEntityIdByConfigId
L3_2 = A0_2
L4_2 = 135012
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetPosByEntityId
L4_2 = A0_2
L5_2 = L2_2
L3_2 = L3_2(L4_2, L5_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetHandballGalleryBallPosAndRot
L5_2 = A0_2
L6_2 = 9001
L7_2 = {}
L8_2 = L3_2.x
L7_2.x = L8_2
L8_2 = L3_2.y
L7_2.y = L8_2
L8_2 = L3_2.z
L7_2.z = L8_2
L8_2 = {}
L8_2.x = 0
L8_2.y = 0
L8_2.z = 0
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_target_distance_gallery: set target fails"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ActiveChallenge
L5_2 = A0_2
L6_2 = 1003
L7_2 = 2001005
L8_2 = 120
L9_2 = 9
L10_2 = 13503
L11_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_challenge"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_QUEST_FINISH_135024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135026 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_135027 = 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 = 2903
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_CREATE_135027 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135026 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2903 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_135028 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_135029 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOSUC"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_135030 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOFAIL"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_135031 = 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
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 9001
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_target_distance_gallery: start gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetEntityIdByConfigId
L3_2 = A0_2
L4_2 = 135026
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetPosByEntityId
L4_2 = A0_2
L5_2 = L2_2
L3_2 = L3_2(L4_2, L5_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetHandballGalleryBallPosAndRot
L5_2 = A0_2
L6_2 = 9001
L7_2 = {}
L8_2 = L3_2.x
L7_2.x = L8_2
L8_2 = L3_2.y
L7_2.y = L8_2
L8_2 = L3_2.z
L7_2.z = L8_2
L8_2 = {}
L8_2.x = 0
L8_2.y = 0
L8_2.z = 0
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_target_distance_gallery: set target fails"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ActiveChallenge
L5_2 = A0_2
L6_2 = 1004
L7_2 = 2001005
L8_2 = 120
L9_2 = 9
L10_2 = 13504
L11_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_challenge"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_QUEST_FINISH_135032 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135034 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_135035 = 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 = 2903
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_CREATE_135035 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135034 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2903 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_135036 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_135037 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOSUC"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_135038 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOFAIL"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_135039 = 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
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 9001
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_target_distance_gallery: start gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetEntityIdByConfigId
L3_2 = A0_2
L4_2 = 135034
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetPosByEntityId
L4_2 = A0_2
L5_2 = L2_2
L3_2 = L3_2(L4_2, L5_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetHandballGalleryBallPosAndRot
L5_2 = A0_2
L6_2 = 9001
L7_2 = {}
L8_2 = L3_2.x
L7_2.x = L8_2
L8_2 = L3_2.y
L7_2.y = L8_2
L8_2 = L3_2.z
L7_2.z = L8_2
L8_2 = {}
L8_2.x = 0
L8_2.y = 0
L8_2.z = 0
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_target_distance_gallery: set target fails"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ActiveChallenge
L5_2 = A0_2
L6_2 = 1005
L7_2 = 2001005
L8_2 = 120
L9_2 = 9
L10_2 = 13505
L11_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_challenge"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_QUEST_FINISH_135040 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135042 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_135043 = 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 = 2903
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_CREATE_135043 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 135042 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2903 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_135044 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_135045 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOSUC"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_135046 = 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.StopGallery
L3_2 = A0_2
L4_2 = 9001
L5_2 = true
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 : stop_target_distance_gallery: stop gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "Q22041ZHAOMAOFAIL"
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_135047 = 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
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 9001
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_target_distance_gallery: start gallery fails"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetEntityIdByConfigId
L3_2 = A0_2
L4_2 = 135042
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetPosByEntityId
L4_2 = A0_2
L5_2 = L2_2
L3_2 = L3_2(L4_2, L5_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetHandballGalleryBallPosAndRot
L5_2 = A0_2
L6_2 = 9001
L7_2 = {}
L8_2 = L3_2.x
L7_2.x = L8_2
L8_2 = L3_2.y
L7_2.y = L8_2
L8_2 = L3_2.z
L7_2.z = L8_2
L8_2 = {}
L8_2.x = 0
L8_2.y = 0
L8_2.z = 0
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_target_distance_gallery: set target fails"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ActiveChallenge
L5_2 = A0_2
L6_2 = 1006
L7_2 = 2001005
L8_2 = 120
L9_2 = 9
L10_2 = 13506
L11_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_challenge"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_QUEST_FINISH_135048 = L1_1