mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1990 lines
41 KiB
Lua
1990 lines
41 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133210211
|
|
L1_1 = {}
|
|
L1_1.group_ID = 133210211
|
|
L1_1.gadget_11 = 211001
|
|
L1_1.gadget_12 = 211002
|
|
L1_1.gadget_13 = 211003
|
|
L1_1.gadget_14 = 211004
|
|
L1_1.gadget_15 = 211005
|
|
L1_1.gadget_21 = 211006
|
|
L1_1.gadget_22 = 211007
|
|
L1_1.gadget_23 = 211008
|
|
L1_1.gadget_24 = 211009
|
|
L1_1.gadget_25 = 211010
|
|
L1_1.gadget_31 = 211011
|
|
L1_1.gadget_32 = 211012
|
|
L1_1.gadget_33 = 211013
|
|
L1_1.gadget_34 = 211014
|
|
L1_1.gadget_35 = 211015
|
|
L1_1.gadget_41 = 211016
|
|
L1_1.gadget_42 = 211017
|
|
L1_1.gadget_43 = 211018
|
|
L1_1.gadget_44 = 211019
|
|
L1_1.gadget_45 = 211020
|
|
L1_1.gadget_51 = 211021
|
|
L1_1.gadget_52 = 211022
|
|
L1_1.gadget_53 = 211023
|
|
L1_1.gadget_54 = 211024
|
|
L1_1.gadget_55 = 211025
|
|
L1_1.trigger_boarder = 211027
|
|
L1_1.gadget_starter = 211025
|
|
L1_1.gadget_ender = 211013
|
|
L2_1 = {}
|
|
L3_1 = 211008
|
|
L4_1 = 211016
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
no_reset_onfail = L2_1
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 211001
|
|
L3_1.gadget_id = 70360186
|
|
L4_1 = {}
|
|
L4_1.x = -3846.993
|
|
L4_1.y = 199.732
|
|
L4_1.z = -438.872
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 24.638
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 10
|
|
L3_1.area_id = 17
|
|
L4_1 = {}
|
|
L4_1.config_id = 211002
|
|
L4_1.gadget_id = 70360186
|
|
L5_1 = {}
|
|
L5_1.x = -3847.869
|
|
L5_1.y = 200.007
|
|
L5_1.z = -440.78
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 24.638
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 10
|
|
L4_1.area_id = 17
|
|
L5_1 = {}
|
|
L5_1.config_id = 211003
|
|
L5_1.gadget_id = 70360186
|
|
L6_1 = {}
|
|
L6_1.x = -3848.744
|
|
L6_1.y = 200.311
|
|
L6_1.z = -442.689
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 24.638
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 10
|
|
L6_1 = GadgetState
|
|
L6_1 = L6_1.Action03
|
|
L5_1.state = L6_1
|
|
L5_1.area_id = 17
|
|
L6_1 = {}
|
|
L6_1.config_id = 211004
|
|
L6_1.gadget_id = 70360186
|
|
L7_1 = {}
|
|
L7_1.x = -3849.62
|
|
L7_1.y = 200.669
|
|
L7_1.z = -444.598
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 24.638
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 10
|
|
L6_1.area_id = 17
|
|
L7_1 = {}
|
|
L7_1.config_id = 211005
|
|
L7_1.gadget_id = 70360186
|
|
L8_1 = {}
|
|
L8_1.x = -3850.495
|
|
L8_1.y = 201.099
|
|
L8_1.z = -446.507
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 24.638
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 10
|
|
L7_1.area_id = 17
|
|
L8_1 = {}
|
|
L8_1.config_id = 211006
|
|
L8_1.gadget_id = 70360186
|
|
L9_1 = {}
|
|
L9_1.x = -3848.862
|
|
L9_1.y = 199.755
|
|
L9_1.z = -438.018
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 24.638
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 10
|
|
L8_1.area_id = 17
|
|
L9_1 = {}
|
|
L9_1.config_id = 211007
|
|
L9_1.gadget_id = 70360186
|
|
L10_1 = {}
|
|
L10_1.x = -3849.736
|
|
L10_1.y = 200.018
|
|
L10_1.z = -439.926
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 24.638
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 10
|
|
L9_1.area_id = 17
|
|
L10_1 = {}
|
|
L10_1.config_id = 211008
|
|
L10_1.gadget_id = 70360186
|
|
L11_1 = {}
|
|
L11_1.x = -3850.612
|
|
L11_1.y = 200.282
|
|
L11_1.z = -441.835
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 24.638
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 10
|
|
L10_1.area_id = 17
|
|
L11_1 = {}
|
|
L11_1.config_id = 211009
|
|
L11_1.gadget_id = 70360186
|
|
L12_1 = {}
|
|
L12_1.x = -3851.489
|
|
L12_1.y = 200.604
|
|
L12_1.z = -443.743
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 24.638
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 10
|
|
L11_1.area_id = 17
|
|
L12_1 = {}
|
|
L12_1.config_id = 211010
|
|
L12_1.gadget_id = 70360186
|
|
L13_1 = {}
|
|
L13_1.x = -3852.363
|
|
L13_1.y = 200.989
|
|
L13_1.z = -445.652
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 24.638
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 10
|
|
L12_1.area_id = 17
|
|
L13_1 = {}
|
|
L13_1.config_id = 211011
|
|
L13_1.gadget_id = 70360186
|
|
L14_1 = {}
|
|
L14_1.x = -3850.751
|
|
L14_1.y = 199.78
|
|
L14_1.z = -437.153
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 24.638
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 10
|
|
L13_1.area_id = 17
|
|
L14_1 = {}
|
|
L14_1.config_id = 211012
|
|
L14_1.gadget_id = 70360186
|
|
L15_1 = {}
|
|
L15_1.x = -3851.632
|
|
L15_1.y = 200.138
|
|
L15_1.z = -439.062
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 24.638
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 10
|
|
L15_1 = GadgetState
|
|
L15_1 = L15_1.Action03
|
|
L14_1.state = L15_1
|
|
L14_1.area_id = 17
|
|
L15_1 = {}
|
|
L15_1.config_id = 211013
|
|
L15_1.gadget_id = 70360186
|
|
L16_1 = {}
|
|
L16_1.x = -3852.5
|
|
L16_1.y = 200.282
|
|
L16_1.z = -440.971
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 24.638
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 10
|
|
L15_1.area_id = 17
|
|
L16_1 = {}
|
|
L16_1.config_id = 211014
|
|
L16_1.gadget_id = 70360186
|
|
L17_1 = {}
|
|
L17_1.x = -3853.376
|
|
L17_1.y = 200.575
|
|
L17_1.z = -442.879
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 24.638
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 10
|
|
L16_1.area_id = 17
|
|
L17_1 = {}
|
|
L17_1.config_id = 211015
|
|
L17_1.gadget_id = 70360186
|
|
L18_1 = {}
|
|
L18_1.x = -3854.252
|
|
L18_1.y = 200.925
|
|
L18_1.z = -444.788
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 24.638
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 10
|
|
L17_1.area_id = 17
|
|
L18_1 = {}
|
|
L18_1.config_id = 211016
|
|
L18_1.gadget_id = 70360186
|
|
L19_1 = {}
|
|
L19_1.x = -3852.66
|
|
L19_1.y = 199.804
|
|
L19_1.z = -436.28
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 0.0
|
|
L19_1.y = 24.638
|
|
L19_1.z = 0.0
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 10
|
|
L19_1 = GadgetState
|
|
L19_1 = L19_1.Action03
|
|
L18_1.state = L19_1
|
|
L18_1.area_id = 17
|
|
L19_1 = {}
|
|
L19_1.config_id = 211017
|
|
L19_1.gadget_id = 70360186
|
|
L20_1 = {}
|
|
L20_1.x = -3853.534
|
|
L20_1.y = 200.034
|
|
L20_1.z = -438.188
|
|
L19_1.pos = L20_1
|
|
L20_1 = {}
|
|
L20_1.x = 0.0
|
|
L20_1.y = 24.638
|
|
L20_1.z = 0.0
|
|
L19_1.rot = L20_1
|
|
L19_1.level = 10
|
|
L19_1.area_id = 17
|
|
L20_1 = {}
|
|
L20_1.config_id = 211018
|
|
L20_1.gadget_id = 70360186
|
|
L21_1 = {}
|
|
L21_1.x = -3854.41
|
|
L21_1.y = 200.298
|
|
L21_1.z = -440.097
|
|
L20_1.pos = L21_1
|
|
L21_1 = {}
|
|
L21_1.x = 0.0
|
|
L21_1.y = 24.638
|
|
L21_1.z = 0.0
|
|
L20_1.rot = L21_1
|
|
L20_1.level = 10
|
|
L21_1 = GadgetState
|
|
L21_1 = L21_1.Action03
|
|
L20_1.state = L21_1
|
|
L20_1.area_id = 17
|
|
L21_1 = {}
|
|
L21_1.config_id = 211019
|
|
L21_1.gadget_id = 70360186
|
|
L22_1 = {}
|
|
L22_1.x = -3855.285
|
|
L22_1.y = 200.562
|
|
L22_1.z = -442.006
|
|
L21_1.pos = L22_1
|
|
L22_1 = {}
|
|
L22_1.x = 0.0
|
|
L22_1.y = 24.638
|
|
L22_1.z = 0.0
|
|
L21_1.rot = L22_1
|
|
L21_1.level = 10
|
|
L22_1 = GadgetState
|
|
L22_1 = L22_1.Action03
|
|
L21_1.state = L22_1
|
|
L21_1.area_id = 17
|
|
L22_1 = {}
|
|
L22_1.config_id = 211020
|
|
L22_1.gadget_id = 70360186
|
|
L23_1 = {}
|
|
L23_1.x = -3856.162
|
|
L23_1.y = 200.91
|
|
L23_1.z = -443.914
|
|
L22_1.pos = L23_1
|
|
L23_1 = {}
|
|
L23_1.x = 0.0
|
|
L23_1.y = 24.638
|
|
L23_1.z = 0.0
|
|
L22_1.rot = L23_1
|
|
L22_1.level = 10
|
|
L23_1 = GadgetState
|
|
L23_1 = L23_1.Action03
|
|
L22_1.state = L23_1
|
|
L22_1.area_id = 17
|
|
L23_1 = {}
|
|
L23_1.config_id = 211021
|
|
L23_1.gadget_id = 70360186
|
|
L24_1 = {}
|
|
L24_1.x = -3854.539
|
|
L24_1.y = 199.876
|
|
L24_1.z = -435.431
|
|
L23_1.pos = L24_1
|
|
L24_1 = {}
|
|
L24_1.x = 0.0
|
|
L24_1.y = 24.638
|
|
L24_1.z = 0.0
|
|
L23_1.rot = L24_1
|
|
L23_1.level = 10
|
|
L24_1 = GadgetState
|
|
L24_1 = L24_1.Action03
|
|
L23_1.state = L24_1
|
|
L23_1.area_id = 17
|
|
L24_1 = {}
|
|
L24_1.config_id = 211022
|
|
L24_1.gadget_id = 70360186
|
|
L25_1 = {}
|
|
L25_1.x = -3855.414
|
|
L25_1.y = 200.123
|
|
L25_1.z = -437.339
|
|
L24_1.pos = L25_1
|
|
L25_1 = {}
|
|
L25_1.x = 0.0
|
|
L25_1.y = 24.638
|
|
L25_1.z = 0.0
|
|
L24_1.rot = L25_1
|
|
L24_1.level = 10
|
|
L24_1.area_id = 17
|
|
L25_1 = {}
|
|
L25_1.config_id = 211023
|
|
L25_1.gadget_id = 70360186
|
|
L26_1 = {}
|
|
L26_1.x = -3856.29
|
|
L26_1.y = 200.346
|
|
L26_1.z = -439.248
|
|
L25_1.pos = L26_1
|
|
L26_1 = {}
|
|
L26_1.x = 0.0
|
|
L26_1.y = 24.638
|
|
L26_1.z = 0.0
|
|
L25_1.rot = L26_1
|
|
L25_1.level = 10
|
|
L25_1.area_id = 17
|
|
L26_1 = {}
|
|
L26_1.config_id = 211024
|
|
L26_1.gadget_id = 70360186
|
|
L27_1 = {}
|
|
L27_1.x = -3857.164
|
|
L27_1.y = 200.55
|
|
L27_1.z = -441.157
|
|
L26_1.pos = L27_1
|
|
L27_1 = {}
|
|
L27_1.x = 0.0
|
|
L27_1.y = 24.638
|
|
L27_1.z = 0.0
|
|
L26_1.rot = L27_1
|
|
L26_1.level = 10
|
|
L26_1.area_id = 17
|
|
L27_1 = {}
|
|
L27_1.config_id = 211025
|
|
L27_1.gadget_id = 70360186
|
|
L28_1 = {}
|
|
L28_1.x = -3858.041
|
|
L28_1.y = 200.835
|
|
L28_1.z = -443.066
|
|
L27_1.pos = L28_1
|
|
L28_1 = {}
|
|
L28_1.x = 0.0
|
|
L28_1.y = 24.638
|
|
L28_1.z = 0.0
|
|
L27_1.rot = L28_1
|
|
L27_1.level = 10
|
|
L27_1.area_id = 17
|
|
L28_1 = {}
|
|
L28_1.config_id = 211026
|
|
L28_1.gadget_id = 70211111
|
|
L29_1 = {}
|
|
L29_1.x = -3850.271
|
|
L29_1.y = 199.416
|
|
L29_1.z = -435.01
|
|
L28_1.pos = L29_1
|
|
L29_1 = {}
|
|
L29_1.x = 354.865
|
|
L29_1.y = 201.482
|
|
L29_1.z = 0.857
|
|
L28_1.rot = L29_1
|
|
L28_1.level = 26
|
|
L28_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
|
|
L28_1.isOneoff = true
|
|
L29_1 = {}
|
|
L29_1.name = "chest"
|
|
L29_1.exp = 1
|
|
L28_1.explore = L29_1
|
|
L28_1.area_id = 17
|
|
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
|
|
L2_1[20] = L22_1
|
|
L2_1[21] = L23_1
|
|
L2_1[22] = L24_1
|
|
L2_1[23] = L25_1
|
|
L2_1[24] = L26_1
|
|
L2_1[25] = L27_1
|
|
L2_1[26] = L28_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 211027
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 7.07
|
|
L4_1 = {}
|
|
L4_1.x = -3852.479
|
|
L4_1.y = 200.258
|
|
L4_1.z = -440.968
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 17
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1211028
|
|
L3_1.name = "VARIABLE_CHANGE_211028"
|
|
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_211028"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_211028"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1211029
|
|
L4_1.name = "VARIABLE_CHANGE_211029"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = "challenge_state"
|
|
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_211029"
|
|
L4_1.action = "action_EVENT_VARIABLE_CHANGE_211029"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1211030
|
|
L5_1.name = "QUEST_START_211030"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_QUEST_START
|
|
L5_1.event = L6_1
|
|
L5_1.source = "7215108"
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_QUEST_START_211030"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1211031
|
|
L6_1.name = "VARIABLE_CHANGE_211031"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_VARIABLE_CHANGE
|
|
L6_1.event = L7_1
|
|
L6_1.source = "StateChange"
|
|
L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_211031"
|
|
L6_1.action = "action_EVENT_VARIABLE_CHANGE_211031"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1211032
|
|
L7_1.name = "VARIABLE_CHANGE_211032"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_VARIABLE_CHANGE
|
|
L7_1.event = L8_1
|
|
L7_1.source = "StateChange"
|
|
L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_211032"
|
|
L7_1.action = "action_EVENT_VARIABLE_CHANGE_211032"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1211033
|
|
L8_1.name = "GADGET_CREATE_211033"
|
|
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_211033"
|
|
L8_1.action = "action_EVENT_GADGET_CREATE_211033"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1211034
|
|
L9_1.name = "VARIABLE_CHANGE_211034"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
|
|
L9_1.event = L10_1
|
|
L9_1.source = "StateChange"
|
|
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_211034"
|
|
L9_1.action = "action_EVENT_VARIABLE_CHANGE_211034"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1211035
|
|
L10_1.name = "VARIABLE_CHANGE_211035"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_VARIABLE_CHANGE
|
|
L10_1.event = L11_1
|
|
L10_1.source = "StateChange"
|
|
L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_211035"
|
|
L10_1.action = "action_EVENT_VARIABLE_CHANGE_211035"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1211036
|
|
L11_1.name = "VARIABLE_CHANGE_211036"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_VARIABLE_CHANGE
|
|
L11_1.event = L12_1
|
|
L11_1.source = "challenge_state"
|
|
L11_1.condition = "condition_EVENT_VARIABLE_CHANGE_211036"
|
|
L11_1.action = "action_EVENT_VARIABLE_CHANGE_211036"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1211038
|
|
L12_1.name = "VARIABLE_CHANGE_211038"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_VARIABLE_CHANGE
|
|
L12_1.event = L13_1
|
|
L12_1.source = "StateChange"
|
|
L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_211038"
|
|
L12_1.action = "action_EVENT_VARIABLE_CHANGE_211038"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1211039
|
|
L13_1.name = "VARIABLE_CHANGE_211039"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
|
|
L13_1.event = L14_1
|
|
L13_1.source = "StateChange"
|
|
L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_211039"
|
|
L13_1.action = "action_EVENT_VARIABLE_CHANGE_211039"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1211040
|
|
L14_1.name = "VARIABLE_CHANGE_211040"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_VARIABLE_CHANGE
|
|
L14_1.event = L15_1
|
|
L14_1.source = "challenge_state"
|
|
L14_1.condition = "condition_EVENT_VARIABLE_CHANGE_211040"
|
|
L14_1.action = "action_EVENT_VARIABLE_CHANGE_211040"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1211041
|
|
L15_1.name = "VARIABLE_CHANGE_211041"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_VARIABLE_CHANGE
|
|
L15_1.event = L16_1
|
|
L15_1.source = "challenge_state"
|
|
L15_1.condition = "condition_EVENT_VARIABLE_CHANGE_211041"
|
|
L15_1.action = "action_EVENT_VARIABLE_CHANGE_211041"
|
|
L15_1.trigger_count = 0
|
|
L16_1 = {}
|
|
L16_1.config_id = 1211042
|
|
L16_1.name = "GROUP_LOAD_211042"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_GROUP_LOAD
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = "condition_EVENT_GROUP_LOAD_211042"
|
|
L16_1.action = "action_EVENT_GROUP_LOAD_211042"
|
|
L16_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
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "StateChange"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L4_1 = {}
|
|
L4_1.configId = 2
|
|
L4_1.name = "queststart"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L5_1 = {}
|
|
L6_1 = 3
|
|
L5_1.configId = L6_1
|
|
L6_1 = "queststate"
|
|
L5_1.name = L6_1
|
|
L5_1.value = 0
|
|
L5_1.no_refresh = true
|
|
L6_1 = {}
|
|
L7_1 = 4
|
|
L6_1.configId = L7_1
|
|
L7_1 = "Reminder"
|
|
L6_1.name = L7_1
|
|
L6_1.value = 0
|
|
L6_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
variables = L2_1
|
|
L2_1 = "garbages"
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 1211037
|
|
L5_1.config_id = L6_1
|
|
L6_1 = "GADGET_CREATE_211037"
|
|
L5_1.name = L6_1
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_CREATE
|
|
L5_1.event = L6_1
|
|
L6_1 = "211025"
|
|
L5_1.source = L6_1
|
|
L6_1 = "condition_EVENT_GADGET_CREATE_211037"
|
|
L5_1.condition = L6_1
|
|
L6_1 = "action_EVENT_GADGET_CREATE_211037"
|
|
L5_1.action = L6_1
|
|
L5_1.trigger_count = 0
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "init_config"
|
|
L3_1 = {}
|
|
L4_1 = "suite"
|
|
L3_1[L4_1] = 1
|
|
L4_1 = "end_suite"
|
|
L5_1 = 3
|
|
L3_1[L4_1] = L5_1
|
|
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 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_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 = 211001
|
|
L8_1 = 211002
|
|
L9_1 = 211003
|
|
L10_1 = 211004
|
|
L11_1 = 211005
|
|
L12_1 = 211006
|
|
L13_1 = 211007
|
|
L14_1 = 211008
|
|
L15_1 = 211009
|
|
L16_1 = 211010
|
|
L17_1 = 211011
|
|
L18_1 = 211012
|
|
L19_1 = 211013
|
|
L20_1 = 211014
|
|
L21_1 = 211015
|
|
L22_1 = 211016
|
|
L23_1 = 211017
|
|
L24_1 = 211018
|
|
L25_1 = 211019
|
|
L26_1 = 211020
|
|
L27_1 = 211021
|
|
L28_1 = 211022
|
|
L29_1 = 211023
|
|
L30_1 = 211024
|
|
L31_1 = 211025
|
|
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
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L6_1[9] = L15_1
|
|
L6_1[10] = L16_1
|
|
L6_1[11] = L17_1
|
|
L6_1[12] = L18_1
|
|
L6_1[13] = L19_1
|
|
L6_1[14] = L20_1
|
|
L6_1[15] = L21_1
|
|
L6_1[16] = L22_1
|
|
L6_1[17] = L23_1
|
|
L6_1[18] = L24_1
|
|
L6_1[19] = L25_1
|
|
L6_1[20] = L26_1
|
|
L6_1[21] = L27_1
|
|
L6_1[22] = L28_1
|
|
L6_1[23] = L29_1
|
|
L6_1[24] = L30_1
|
|
L6_1[25] = L31_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 211027
|
|
L6_1[1] = L7_1
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "VARIABLE_CHANGE_211029"
|
|
L8_1 = "QUEST_START_211030"
|
|
L9_1 = "VARIABLE_CHANGE_211031"
|
|
L10_1 = "VARIABLE_CHANGE_211032"
|
|
L11_1 = "GADGET_CREATE_211033"
|
|
L12_1 = "VARIABLE_CHANGE_211034"
|
|
L13_1 = "VARIABLE_CHANGE_211035"
|
|
L14_1 = "VARIABLE_CHANGE_211036"
|
|
L15_1 = "VARIABLE_CHANGE_211038"
|
|
L16_1 = "VARIABLE_CHANGE_211039"
|
|
L17_1 = "VARIABLE_CHANGE_211040"
|
|
L18_1 = "VARIABLE_CHANGE_211041"
|
|
L19_1 = "GROUP_LOAD_211042"
|
|
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
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L6_1[9] = L15_1
|
|
L6_1[10] = L16_1
|
|
L6_1[11] = L17_1
|
|
L6_1[12] = L18_1
|
|
L6_1[13] = L19_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 = 211026
|
|
L7_1[1] = L8_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L8_1 = "VARIABLE_CHANGE_211028"
|
|
L9_1 = "GROUP_LOAD_211042"
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L6_1.triggers = L7_1
|
|
L7_1 = "rand_weight"
|
|
L8_1 = 100
|
|
L6_1[L7_1] = L8_1
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_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 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "successed"
|
|
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_VARIABLE_CHANGE_211028 = 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 = "7215108"
|
|
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 = "queststart"
|
|
L5_2 = 3
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 32100175
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "success"
|
|
L5_2 = 1
|
|
L6_2 = 133210386
|
|
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_groupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_211028 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "challenge_state"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Reminder"
|
|
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_VARIABLE_CHANGE_211029 = 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.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 32100162
|
|
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 = {}
|
|
L2_2.x = -3877.1
|
|
L2_2.y = 210.1
|
|
L2_2.z = -449.2
|
|
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 = ScriptLib
|
|
L4_2 = L4_2.SetGroupVariableValue
|
|
L5_2 = A0_2
|
|
L6_2 = "Reminder"
|
|
L7_2 = 1
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : set_groupVariable"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_211029 = 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 = 211025
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "queststart"
|
|
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_QUEST_START_211030 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211025
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211031 = 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 = 211016
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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_211031 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211025
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211032 = 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 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
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_VARIABLE_CHANGE_211032 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 211025 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "queststart"
|
|
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_GADGET_CREATE_211033 = 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 = 211025
|
|
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_GADGET_CREATE_211033 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211025
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211034 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestLocked
|
|
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
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestLocked
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_211034 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211025
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211035 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestLocked
|
|
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
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211016
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStop
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestLocked
|
|
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
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_211035 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "queststate"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "challenge_state"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211036 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 32100174
|
|
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_VARIABLE_CHANGE_211036 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestLocked
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211025
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211038 = 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 = 211016
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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_211038 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestLocked
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133210211
|
|
L6_2 = 211025
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_211039 = 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 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
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_VARIABLE_CHANGE_211039 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "challenge_state"
|
|
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_VARIABLE_CHANGE_211040 = 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 = 211008
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211016
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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_211040 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "StateChange"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "challenge_state"
|
|
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_VARIABLE_CHANGE_211041 = 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 = 211016
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action03
|
|
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_211041 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "successed"
|
|
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_GROUP_LOAD_211042 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7215108"
|
|
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_GROUP_LOAD_211042 = L2_1
|
|
L2_1 = "require"
|
|
L2_1 = _ENV[L2_1]
|
|
L3_1 = "BlackBoxPlay/DrawOneLine"
|
|
L2_1(L3_1)
|