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

1386 lines
27 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
L0_1 = {}
L0_1.group_id = 133108124
L1_1 = {}
L1_1.challenge_1_duration = 50
L1_1.challenge_2_duration = 40
L1_1.challenge_3_duration = 30
L1_1.group_id = 133108124
L1_1.father_quest = 21016
L1_1.region = 62013
L1_1.gadget_chest_1 = 124002
L1_1.gadget_chest_2 = 117003
L1_1.gadget_chest_3 = 124003
L1_1.challenge_id_no_record = 184
L1_1.challenge_id_have_record = 168
L1_1.source_2 = "2101602"
L1_1.source_4 = "2101604"
L1_1.source_6 = "2101606"
L1_1.source_8 = "2101608"
L2_1 = L1_1.father_quest
L3_1 = "02"
L2_1 = L2_1 .. L3_1
L1_1.quest_1_id = L2_1
L2_1 = L1_1.father_quest
L3_1 = "04"
L2_1 = L2_1 .. L3_1
L1_1.quest_2_id = L2_1
L2_1 = L1_1.father_quest
L3_1 = "06"
L2_1 = L2_1 .. L3_1
L1_1.quest_3_id = L2_1
L2_1 = L1_1.father_quest
L3_1 = "08"
L2_1 = L2_1 .. L3_1
L1_1.quest_4_id = L2_1
L2_1 = L1_1.group_id
L3_1 = "0101"
L2_1 = L2_1 .. L3_1
L1_1.quest_1_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0102"
L2_1 = L2_1 .. L3_1
L1_1.quest_1_fail = L2_1
L2_1 = L1_1.group_id
L3_1 = "0201"
L2_1 = L2_1 .. L3_1
L1_1.quest_2_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0202"
L2_1 = L2_1 .. L3_1
L1_1.quest_2_fail = L2_1
L2_1 = L1_1.group_id
L3_1 = "0301"
L2_1 = L2_1 .. L3_1
L1_1.quest_3_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0302"
L2_1 = L2_1 .. L3_1
L1_1.quest_3_fail = L2_1
L2_1 = L1_1.group_id
L3_1 = "0401"
L2_1 = L2_1 .. L3_1
L1_1.quest_4_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0402"
L2_1 = L2_1 .. L3_1
L1_1.quest_4_fail = L2_1
L2_1 = {}
monsters = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 124017
L3_1.npc_id = 20113
L4_1 = {}
L4_1.x = -299.962
L4_1.y = 200.559
L4_1.z = -789.186
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.area_id = 7
L2_1[1] = L3_1
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 124001
L3_1.gadget_id = 70690001
L4_1 = {}
L4_1.x = -354.94
L4_1.y = 243.945
L4_1.z = -713.952
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 287.741
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 124002
L4_1.gadget_id = 70211101
L5_1 = {}
L5_1.x = -377.527
L5_1.y = 200.206
L5_1.z = -651.792
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 358.313
L5_1.y = 352.191
L5_1.z = 7.416
L4_1.rot = L5_1
L4_1.level = 26
L4_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L4_1.showcutscene = true
L4_1.isOneoff = true
L4_1.persistent = true
L5_1 = {}
L5_1.name = "chest"
L5_1.exp = 1
L4_1.explore = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 124003
L5_1.gadget_id = 70360092
L6_1 = {}
L6_1.x = -300.121
L6_1.y = 199.734
L6_1.z = -789.255
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 = 32
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 124004
L6_1.gadget_id = 70360024
L7_1 = {}
L7_1.x = -322.322
L7_1.y = 232.698
L7_1.z = -730.801
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 32
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 124005
L7_1.gadget_id = 70360046
L8_1 = {}
L8_1.x = -327.203
L8_1.y = 257.645
L8_1.z = -725.265
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 124006
L8_1.gadget_id = 70360025
L9_1 = {}
L9_1.x = -393.819
L9_1.y = 235.072
L9_1.z = -708.277
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 124007
L9_1.gadget_id = 70900201
L10_1 = {}
L10_1.x = -393.378
L10_1.y = 234.94
L10_1.z = -708.102
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 32
L9_1.area_id = 7
L10_1 = {}
L10_1.config_id = 124008
L10_1.gadget_id = 70360046
L11_1 = {}
L11_1.x = -333.954
L11_1.y = 254.368
L11_1.z = -721.727
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 32
L10_1.area_id = 7
L11_1 = {}
L11_1.config_id = 124009
L11_1.gadget_id = 70360046
L12_1 = {}
L12_1.x = -340.244
L12_1.y = 246.117
L12_1.z = -718.802
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 32
L11_1.area_id = 7
L12_1 = {}
L12_1.config_id = 124010
L12_1.gadget_id = 70690006
L13_1 = {}
L13_1.x = -334.04
L13_1.y = 255.137
L13_1.z = -721.237
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 32
L12_1.area_id = 7
L13_1 = {}
L13_1.config_id = 124011
L13_1.gadget_id = 70690001
L14_1 = {}
L14_1.x = -366.315
L14_1.y = 242.446
L14_1.z = -710.447
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 286.625
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 32
L13_1.area_id = 7
L14_1 = {}
L14_1.config_id = 124012
L14_1.gadget_id = 70900201
L15_1 = {}
L15_1.x = -322.272
L15_1.y = 232.702
L15_1.z = -730.797
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 32
L14_1.area_id = 7
L15_1 = {}
L15_1.config_id = 124014
L15_1.gadget_id = 70900201
L16_1 = {}
L16_1.x = -374.675
L16_1.y = 200.418
L16_1.z = -653.668
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 32
L15_1.area_id = 7
L16_1 = {}
L16_1.config_id = 124022
L16_1.gadget_id = 70360025
L17_1 = {}
L17_1.x = -374.594
L17_1.y = 200.416
L17_1.z = -653.771
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 32
L16_1.area_id = 7
L17_1 = {}
L17_1.config_id = 124023
L17_1.gadget_id = 70360092
L18_1 = {}
L18_1.x = -300.117
L18_1.y = 199.767
L18_1.z = -789.258
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 = 32
L18_1 = GadgetState
L18_1 = L18_1.GearStart
L17_1.state = L18_1
L17_1.area_id = 7
L18_1 = {}
L18_1.config_id = 124024
L18_1.gadget_id = 70360001
L19_1 = {}
L19_1.x = -299.98
L19_1.y = 200.573
L19_1.z = -789.236
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 32
L18_1.area_id = 7
L19_1 = {}
L19_1.config_id = 124025
L19_1.gadget_id = 70690006
L20_1 = {}
L20_1.x = -321.928
L20_1.y = 232.417
L20_1.z = -731.673
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 6.016
L20_1.y = 6.373
L20_1.z = 0.281
L19_1.rot = L20_1
L19_1.level = 32
L19_1.area_id = 7
L20_1 = {}
L20_1.config_id = 124028
L20_1.gadget_id = 70360001
L21_1 = {}
L21_1.x = -300.216
L21_1.y = 200.58
L21_1.z = -789.333
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 32
L20_1.area_id = 7
L21_1 = {}
L21_1.config_id = 124031
L21_1.gadget_id = 70360001
L22_1 = {}
L22_1.x = -374.522
L22_1.y = 200.418
L22_1.z = -653.813
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 32
L21_1.area_id = 7
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
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
L2_1[18] = L20_1
L2_1[19] = L21_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 124016
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 5
L4_1 = {}
L4_1.x = -322.839
L4_1.y = 232.175
L4_1.z = -730.812
L3_1.pos = L4_1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 124020
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 5
L5_1 = {}
L5_1.x = -392.971
L5_1.y = 234.849
L5_1.z = -708.063
L4_1.pos = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 124026
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 5
L6_1 = {}
L6_1.x = -375.166
L6_1.y = 200.403
L6_1.z = -653.333
L5_1.pos = L6_1
L5_1.area_id = 7
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1124013
L3_1.name = "GADGET_STATE_CHANGE_124013"
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_124013"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_124013"
L4_1 = {}
L4_1.config_id = 1124015
L4_1.name = "CHALLENGE_FAIL_124015"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
L4_1.event = L5_1
L4_1.source = "888"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_FAIL_124015"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1124016
L5_1.name = "ENTER_REGION_124016"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = "1"
L5_1.condition = "condition_EVENT_ENTER_REGION_124016"
L5_1.action = "action_EVENT_ENTER_REGION_124016"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1124018
L6_1.name = "GADGET_CREATE_124018"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_CREATE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_CREATE_124018"
L6_1.action = "action_EVENT_GADGET_CREATE_124018"
L7_1 = {}
L7_1.config_id = 1124019
L7_1.name = "SELECT_OPTION_124019"
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_124019"
L7_1.action = "action_EVENT_SELECT_OPTION_124019"
L8_1 = {}
L8_1.config_id = 1124020
L8_1.name = "ENTER_REGION_124020"
L9_1 = EventType
L9_1 = L9_1.EVENT_ENTER_REGION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ENTER_REGION_124020"
L8_1.action = "action_EVENT_ENTER_REGION_124020"
L8_1.tag = "999"
L9_1 = {}
L9_1.config_id = 1124021
L9_1.name = "CHALLENGE_SUCCESS_124021"
L10_1 = EventType
L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS
L9_1.event = L10_1
L9_1.source = "888"
L9_1.condition = ""
L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_124021"
L10_1 = {}
L10_1.config_id = 1124026
L10_1.name = "ENTER_REGION_124026"
L11_1 = EventType
L11_1 = L11_1.EVENT_ENTER_REGION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ENTER_REGION_124026"
L10_1.action = "action_EVENT_ENTER_REGION_124026"
L10_1.tag = "555"
L11_1 = {}
L11_1.config_id = 1124027
L11_1.name = "GADGET_CREATE_124027"
L12_1 = EventType
L12_1 = L12_1.EVENT_GADGET_CREATE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = ""
L11_1.action = "action_EVENT_GADGET_CREATE_124027"
L12_1 = {}
L12_1.config_id = 1124029
L12_1.name = "GADGET_CREATE_124029"
L13_1 = EventType
L13_1 = L13_1.EVENT_GADGET_CREATE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_GADGET_CREATE_124029"
L12_1.action = "action_EVENT_GADGET_CREATE_124029"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1124030
L14_1 = "GADGET_STATE_CHANGE_124030"
L13_1.name = L14_1
L14_1 = EventType
L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE
L13_1.event = L14_1
L13_1.source = ""
L14_1 = "condition_EVENT_GADGET_STATE_CHANGE_124030"
L13_1.condition = L14_1
L14_1 = "action_EVENT_GADGET_STATE_CHANGE_124030"
L13_1.action = L14_1
L13_1.trigger_count = 0
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
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
triggers = L2_1
L2_1 = "variables"
L3_1 = {}
L4_1 = {}
L5_1 = "configId"
L4_1[L5_1] = 1
L5_1 = "Challenge_Flag"
L4_1.name = L5_1
L5_1 = "value"
L4_1[L5_1] = 0
L5_1 = "no_refresh"
L6_1 = false
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = "configId"
L7_1 = 2
L5_1[L6_1] = L7_1
L6_1 = "change_num"
L5_1.name = L6_1
L6_1 = "value"
L5_1[L6_1] = 0
L6_1 = "no_refresh"
L5_1[L6_1] = true
L3_1[1] = L4_1
L3_1[2] = L5_1
_ENV[L2_1] = L3_1
L2_1 = "init_config"
L3_1 = {}
L4_1 = "suite"
L5_1 = 10
L3_1[L4_1] = L5_1
L4_1 = "end_suite"
L3_1[L4_1] = 0
L4_1 = "rand_suite"
L5_1 = false
L3_1[L4_1] = L5_1
_ENV[L2_1] = L3_1
L2_1 = "suites"
L3_1 = {}
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 124003
L7_1 = 124024
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_CREATE_124018"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L5_1 = "rand_weight"
L6_1 = 100
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 124004
L8_1 = 124012
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 124016
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_124016"
L8_1 = "GADGET_CREATE_124027"
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.triggers = L6_1
L6_1 = "rand_weight"
L7_1 = 100
L5_1[L6_1] = L7_1
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 124001
L9_1 = 124005
L10_1 = 124006
L11_1 = 124007
L12_1 = 124008
L13_1 = 124009
L14_1 = 124010
L15_1 = 124011
L16_1 = 124025
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
L7_1[7] = L14_1
L7_1[8] = L15_1
L7_1[9] = L16_1
L6_1.gadgets = L7_1
L7_1 = {}
L8_1 = 124020
L7_1[1] = L8_1
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "ENTER_REGION_124020"
L7_1[1] = L8_1
L6_1.triggers = L7_1
L7_1 = "rand_weight"
L8_1 = 100
L6_1[L7_1] = L8_1
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L9_1 = 124002
L8_1[1] = L9_1
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "GADGET_STATE_CHANGE_124030"
L8_1[1] = L9_1
L7_1.triggers = L8_1
L8_1 = "rand_weight"
L9_1 = 100
L7_1[L8_1] = L9_1
L8_1 = {}
L9_1 = {}
L8_1.monsters = L9_1
L9_1 = {}
L10_1 = 124023
L9_1[1] = L10_1
L8_1.gadgets = L9_1
L9_1 = {}
L8_1.regions = L9_1
L9_1 = {}
L8_1.triggers = L9_1
L9_1 = "rand_weight"
L10_1 = 100
L8_1[L9_1] = L10_1
L9_1 = {}
L10_1 = {}
L9_1.monsters = L10_1
L10_1 = {}
L11_1 = 124003
L12_1 = 124028
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.gadgets = L10_1
L10_1 = {}
L9_1.regions = L10_1
L10_1 = {}
L11_1 = "GADGET_STATE_CHANGE_124013"
L12_1 = "SELECT_OPTION_124019"
L13_1 = "GADGET_CREATE_124029"
L10_1[1] = L11_1
L10_1[2] = L12_1
L10_1[3] = L13_1
L9_1.triggers = L10_1
L10_1 = "rand_weight"
L11_1 = 100
L9_1[L10_1] = L11_1
L10_1 = {}
L11_1 = {}
L10_1.monsters = L11_1
L11_1 = {}
L12_1 = 124031
L11_1[1] = L12_1
L10_1.gadgets = L11_1
L11_1 = {}
L12_1 = 124026
L11_1[1] = L12_1
L10_1.regions = L11_1
L11_1 = {}
L12_1 = "ENTER_REGION_124026"
L11_1[1] = L12_1
L10_1.triggers = L11_1
L11_1 = "rand_weight"
L12_1 = 100
L10_1[L11_1] = L12_1
L11_1 = {}
L12_1 = {}
L11_1.monsters = L12_1
L12_1 = {}
L13_1 = 124014
L14_1 = 124022
L12_1[1] = L13_1
L12_1[2] = L14_1
L11_1.gadgets = L12_1
L12_1 = {}
L11_1.regions = L12_1
L12_1 = {}
L11_1.triggers = L12_1
L12_1 = "rand_weight"
L13_1 = 100
L11_1[L12_1] = L13_1
L12_1 = {}
L13_1 = {}
L12_1.monsters = L13_1
L13_1 = {}
L12_1.gadgets = L13_1
L13_1 = {}
L12_1.regions = L13_1
L13_1 = {}
L14_1 = "CHALLENGE_FAIL_124015"
L15_1 = "CHALLENGE_SUCCESS_124021"
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.triggers = L13_1
L13_1 = "rand_weight"
L14_1 = 100
L12_1[L13_1] = L14_1
L13_1 = {}
L14_1 = {}
L13_1.monsters = L14_1
L14_1 = {}
L15_1 = 124003
L14_1[1] = L15_1
L13_1.gadgets = L14_1
L14_1 = {}
L13_1.regions = L14_1
L14_1 = {}
L13_1.triggers = L14_1
L14_1 = {}
L15_1 = 124017
L14_1[1] = L15_1
L13_1.npcs = L14_1
L14_1 = "rand_weight"
L15_1 = 100
L13_1[L14_1] = L15_1
L14_1 = {}
L15_1 = {}
L14_1.monsters = L15_1
L15_1 = {}
L14_1.gadgets = L15_1
L15_1 = {}
L14_1.regions = L15_1
L15_1 = {}
L14_1.triggers = L15_1
L15_1 = "rand_weight"
L16_1 = 100
L14_1[L15_1] = L16_1
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
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
_ENV[L2_1] = L3_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 124003 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
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_124013 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 9
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 888
L5_2 = 127
L6_2 = 120
L7_2 = 4
L8_2 = 555
L9_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
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_124013 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108124
L4_2.suite = 6
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 : refresh_group_to_suite"
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 = 124003
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_CHALLENGE_FAIL_124015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 124016 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_124016 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_124016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 124024 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "change_num"
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_CREATE_124018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 124003
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.ActiveChallenge
L3_2 = A0_2
L4_2 = 888
L5_2 = 127
L6_2 = 120
L7_2 = 4
L8_2 = 555
L9_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 9
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_124018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 124003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 10 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_124019 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 124003
L6_2 = 10
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 124003
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_124019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 124020 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_124020 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108126
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 7
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 8
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_124020 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "7101006_finish"
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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 133108126
L5_2 = 126011
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_124021 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 124026 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_124026 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 8
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7101006_finish"
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 = "change_num"
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 = 0
return L2_2
end
action_EVENT_ENTER_REGION_124026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = -322
L2_2.y = 232
L2_2.z = -731
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 = 3
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_GADGET_CREATE_124027 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 124028 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "change_num"
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_CREATE_124029 = L2_1
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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133108124
L5_2 = 124003
L6_2 = {}
L7_2 = 10
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_GADGET_CREATE_124029 = L2_1
L2_1 = "condition_EVENT_GADGET_STATE_CHANGE_124030"
function L3_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 124002 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.ChestOpened
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
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_GADGET_STATE_CHANGE_124030"
function L3_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108124
L4_2.suite = 11
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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L2_1] = L3_1