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

1025 lines
20 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
L0_1 = {}
L0_1.group_id = 133008676
L1_1 = {}
L2_1 = {}
L3_1 = 676012
L4_1 = 676013
L5_1 = 676014
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.branch_gadgets = L2_1
L2_1 = {}
L3_1 = 676011
L2_1[1] = L3_1
L1_1.main_gadget = L2_1
L2_1 = {}
L3_1 = 25
L2_1[1] = L3_1
L1_1.limit_time = L2_1
L1_1.puzzle_suit = 1
L1_1.group = 133008676
L2_1 = {}
L3_1 = 676015
L4_1 = 676016
L5_1 = 676017
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.mineral = L2_1
L1_1.challenge_gadget = 676018
L1_1.monster_count = 10
L1_1.time = 210
L1_1.banner_region = 676036
L2_1 = {}
L3_1 = 676001
L4_1 = 676002
L5_1 = 676003
L6_1 = 676004
L7_1 = 676005
L8_1 = 676006
L9_1 = 676007
L10_1 = 676008
L11_1 = 676009
L12_1 = 676010
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
L1_1.monster_array = L2_1
L1_1.monster_min = 3
L1_1.monster_max = 3
L1_1.monster_count = 10
L1_1.target_point = 676031
L1_1.optimiz_region = 676035
L2_1 = {}
L3_1 = {}
L3_1.config_id = 676001
L3_1.monster_id = 21020401
L4_1 = {}
L4_1.x = 1406.448
L4_1.y = 284.245
L4_1.z = -1031.875
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 60.922
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1007
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.climate_area_id = 1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 676002
L4_1.monster_id = 21011401
L5_1 = {}
L5_1.x = 1410.043
L5_1.y = 283.48
L5_1.z = -1033.158
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 42.437
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1007
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.climate_area_id = 1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 676003
L5_1.monster_id = 20010802
L6_1 = {}
L6_1.x = 1405.557
L6_1.y = 284.109
L6_1.z = -1034.051
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 99.383
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L6_1 = {}
L7_1 = 1007
L8_1 = 1039
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.affix = L6_1
L5_1.climate_area_id = 1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 676004
L6_1.monster_id = 21011301
L7_1 = {}
L7_1.x = 1423.367
L7_1.y = 281.353
L7_1.z = -1029.753
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 278.356
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L7_1 = {}
L8_1 = 1007
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.climate_area_id = 1
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 676005
L7_1.monster_id = 20010802
L8_1 = {}
L8_1.x = 1423.908
L8_1.y = 281.056
L8_1.z = -1026.609
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 222.081
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 1007
L10_1 = 1039
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.affix = L8_1
L7_1.climate_area_id = 1
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 676006
L8_1.monster_id = 21010901
L9_1 = {}
L9_1.x = 1421.631
L9_1.y = 281.538
L9_1.z = -1027.323
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 191.203
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L9_1 = {}
L10_1 = 1007
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.climate_area_id = 1
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 676007
L9_1.monster_id = 21010901
L10_1 = {}
L10_1.x = 1407.896
L10_1.y = 283.873
L10_1.z = -1034.034
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 16.225
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L10_1 = {}
L11_1 = 1007
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.climate_area_id = 1
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 676008
L10_1.monster_id = 20010802
L11_1 = {}
L11_1.x = 1408.512
L11_1.y = 284.273
L11_1.z = -1029.618
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 14.948
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L11_1 = {}
L12_1 = 1007
L13_1 = 1039
L11_1[1] = L12_1
L11_1[2] = L13_1
L10_1.affix = L11_1
L10_1.climate_area_id = 1
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 676009
L11_1.monster_id = 21011301
L12_1 = {}
L12_1.x = 1422.46
L12_1.y = 281.429
L12_1.z = -1025.169
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 221.414
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L12_1 = {}
L13_1 = 1007
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.climate_area_id = 1
L11_1.area_id = 10
L12_1 = {}
L12_1.config_id = 676010
L12_1.monster_id = 20010802
L13_1 = {}
L13_1.x = 1407.163
L13_1.y = 284.843
L13_1.z = -1028.477
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 88.138
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L13_1 = {}
L14_1 = 1007
L15_1 = 1039
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.affix = L13_1
L12_1.climate_area_id = 1
L12_1.area_id = 10
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 676011
L3_1.gadget_id = 70220079
L4_1 = {}
L4_1.x = 1416.172
L4_1.y = 282.556
L4_1.z = -1031.705
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 = 30
L3_1.persistent = true
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 676012
L4_1.gadget_id = 70220082
L5_1 = {}
L5_1.x = 1412.517
L5_1.y = 285.233
L5_1.z = -1038.935
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 31.151
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 676013
L5_1.gadget_id = 70220082
L6_1 = {}
L6_1.x = 1425.913
L6_1.y = 281.873
L6_1.z = -1037.628
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 308.049
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.persistent = true
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 676014
L6_1.gadget_id = 70220082
L7_1 = {}
L7_1.x = 1412.246
L7_1.y = 286.105
L7_1.z = -1019.159
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 163.658
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.persistent = true
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 676015
L7_1.gadget_id = 70590025
L8_1 = {}
L8_1.x = 1408.612
L8_1.y = 287.538
L8_1.z = -1054.281
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 2.983
L8_1.y = 175.887
L8_1.z = 8.665
L7_1.rot = L8_1
L7_1.level = 30
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 676016
L8_1.gadget_id = 70590025
L9_1 = {}
L9_1.x = 1427.751
L9_1.y = 278.474
L9_1.z = -1043.079
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 7.027
L9_1.y = 163.985
L9_1.z = 6.361
L8_1.rot = L9_1
L8_1.level = 30
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 676017
L9_1.gadget_id = 70590025
L10_1 = {}
L10_1.x = 1407.824
L10_1.y = 288.856
L10_1.z = -1013.925
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 195.406
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 30
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 676018
L10_1.gadget_id = 70360324
L11_1 = {}
L11_1.x = 1416.172
L11_1.y = 282.556
L11_1.z = -1031.705
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 = 30
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 676031
L11_1.gadget_id = 70360105
L12_1 = {}
L12_1.x = 1416.172
L12_1.y = 283.486
L12_1.z = -1031.705
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 = 1
L11_1.area_id = 10
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
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 676034
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 50
L4_1 = {}
L4_1.x = 1416.172
L4_1.y = 282.556
L4_1.z = -1031.705
L3_1.pos = L4_1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 676035
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 50
L5_1 = {}
L5_1.x = 1416.172
L5_1.y = 282.556
L5_1.z = -1031.705
L4_1.pos = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 676036
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 50
L6_1 = {}
L6_1.x = 1416.085
L6_1.y = 284.631
L6_1.z = -1031.698
L5_1.pos = L6_1
L5_1.area_id = 10
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 = 1676022
L3_1.name = "VARIABLE_CHANGE_676022"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_676022"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_676022"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1676023
L4_1.name = "GADGET_CREATE_676023"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_676023"
L4_1.action = "action_EVENT_GADGET_CREATE_676023"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1676028
L5_1.name = "SELECT_OPTION_676028"
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_676028"
L5_1.action = "action_EVENT_SELECT_OPTION_676028"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1676029
L6_1.name = "CHALLENGE_SUCCESS_676029"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_676029"
L7_1 = {}
L7_1.config_id = 1676034
L7_1.name = "LEAVE_REGION_676034"
L8_1 = EventType
L8_1 = L8_1.EVENT_LEAVE_REGION
L7_1.event = L8_1
L7_1.source = "1"
L7_1.condition = "condition_EVENT_LEAVE_REGION_676034"
L7_1.action = "action_EVENT_LEAVE_REGION_676034"
L7_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
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "w1"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "w2"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 3
L5_1.name = "w3"
L5_1.value = 0
L5_1.no_refresh = false
L6_1 = {}
L6_1.configId = 4
L6_1.name = "lastID"
L6_1.value = 0
L6_1.no_refresh = false
L7_1 = {}
L7_1.configId = 5
L7_1.name = "challenge_state"
L7_1.value = 0
L7_1.no_refresh = false
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
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 676019
L4_1.gadget_id = 70310015
L5_1 = {}
L5_1.x = 1392.562
L5_1.y = 285.935
L5_1.z = -1041.525
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
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 676020
L5_1.gadget_id = 70310017
L6_1 = {}
L6_1.x = 1410.393
L6_1.y = 284.725
L6_1.z = -1038.469
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 = 1
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 676021
L6_1.gadget_id = 70310017
L7_1 = {}
L7_1.x = 1422.92
L7_1.y = 283.502
L7_1.z = -1018.096
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 = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.area_id = 10
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 1676024
L4_1.name = "GADGET_STATE_CHANGE_676024"
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_676024"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_676024"
L5_1 = {}
L5_1.config_id = 1676025
L5_1.name = "GADGET_STATE_CHANGE_676025"
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_676025"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_676025"
L6_1 = {}
L6_1.config_id = 1676026
L6_1.name = "GADGET_STATE_CHANGE_676026"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_676026"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_676026"
L7_1 = {}
L7_1.config_id = 1676027
L7_1.name = "VARIABLE_CHANGE_676027"
L8_1 = EventType
L8_1 = L8_1.EVENT_VARIABLE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_676027"
L7_1.action = "action_EVENT_VARIABLE_CHANGE_676027"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1676030
L8_1.name = "CHALLENGE_FAIL_676030"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_FAIL
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_FAIL_676030"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1676032
L9_1.name = "GADGET_STATE_CHANGE_676032"
L10_1 = EventType
L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_676032"
L9_1.action = ""
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1676033
L10_1.name = "GADGET_STATE_CHANGE_676033"
L11_1 = EventType
L11_1 = L11_1.EVENT_GADGET_STATE_CHANGE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_676033"
L10_1.action = "action_EVENT_GADGET_STATE_CHANGE_676033"
L10_1.trigger_count = 0
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
L2_1.triggers = L3_1
garbages = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = "suites"
L3_1 = {}
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 676011
L7_1 = 676012
L8_1 = 676013
L9_1 = 676014
L10_1 = 676015
L11_1 = 676016
L12_1 = 676017
L13_1 = 676018
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
L5_1[7] = L12_1
L5_1[8] = L13_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 676034
L7_1 = 676036
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "VARIABLE_CHANGE_676022"
L7_1 = "GADGET_CREATE_676023"
L8_1 = "SELECT_OPTION_676028"
L9_1 = "CHALLENGE_SUCCESS_676029"
L10_1 = "LEAVE_REGION_676034"
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
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 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 676035
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L6_1 = "rand_weight"
L7_1 = 100
L5_1[L6_1] = L7_1
L3_1[1] = L4_1
L3_1[2] = L5_1
_ENV[L2_1] = L3_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 = A1_2.param2
if 1 == L2_2 then
L2_2 = A1_2.param1
if 2 == L2_2 then
L2_2 = A1_2.source_name
if "puzzle_state" == L2_2 then
goto lbl_18
end
end
end
L2_2 = false
do return L2_2 end
::lbl_18::
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\142\169\230\179\149\230\136\144\229\138\159 \229\136\155\229\187\186\233\154\144\229\189\162\230\147\141\228\189\156\229\143\176"
L2_2(L3_2, L4_2)
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_676022 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 676031
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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_676022 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.challenge_gadget
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_676023 = 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 = L1_1.group
L5_2 = L1_1.challenge_gadget
L6_2 = {}
L7_2 = 7
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_676023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.challenge_gadget
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_676028 = 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 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = L1_1.group
L6_2 = L1_1.main_gadget
L6_2 = L6_2[1]
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\230\178\161\230\156\137\230\191\128\230\180\187\230\136\144\229\138\159\239\188\140\229\136\155\229\187\186\230\154\180\233\163\142\233\155\170"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 2003010
L6_2 = L1_1.time
L7_2 = L1_1.group
L8_2 = L1_1.monster_count
L9_2 = 0
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 400098
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.target_point
L4_2.config_id = L5_2
L2_2(L3_2, L4_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\230\191\128\230\180\187\230\136\144\229\138\159\239\188\140\230\183\187\229\138\160\232\131\189\229\138\155"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 2003014
L6_2 = L1_1.time
L7_2 = L1_1.group
L8_2 = L1_1.monster_count
L9_2 = 0
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 400097
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group
L5_2 = L1_1.challenge_gadget
L6_2 = 7
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.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = L1_1.group
L6_2 = L1_1.monster_array
L7_2 = L1_1.monster_count
L8_2 = L1_1.monster_min
L9_2 = L1_1.monster_max
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 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_676028 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 676031
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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_SUCCESS_676029 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 676034 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_676034 = 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.StopChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_676034 = L2_1
L2_1 = "require"
L2_1 = _ENV[L2_1]
L3_1 = "V2_3/WinterCampDevice"
L2_1(L3_1)