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

974 lines
18 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1
L0_1 = {}
L0_1.group_id = 133210355
L1_1 = {}
L1_1.duration = 120
L1_1.sum = 10
L1_1.group_id = 133210355
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 355001
L3_1.gadget_id = 70350083
L4_1 = {}
L4_1.x = -3881.396
L4_1.y = 156.804
L4_1.z = -1046.87
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 10.259
L4_1.y = 2.732
L4_1.z = 12.755
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 355002
L4_1.gadget_id = 70360001
L5_1 = {}
L5_1.x = -3881.505
L5_1.y = 157.805
L5_1.z = -1046.714
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 10.259
L5_1.y = 2.732
L5_1.z = 12.755
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 355003
L5_1.gadget_id = 70330064
L6_1 = {}
L6_1.x = -3884.445
L6_1.y = 156.544
L6_1.z = -1048.871
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 14.95
L5_1.rot = L6_1
L5_1.level = 1
L5_1.interact_id = 35
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 355004
L6_1.gadget_id = 70900380
L7_1 = {}
L7_1.x = -3872.585
L7_1.y = 163.923
L7_1.z = -1045.005
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
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 355005
L7_1.gadget_id = 70900380
L8_1 = {}
L8_1.x = -3868.694
L8_1.y = 176.159
L8_1.z = -1044.059
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 = 1
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 355006
L8_1.gadget_id = 70290150
L9_1 = {}
L9_1.x = -3866.266
L9_1.y = 179.526
L9_1.z = -1047.193
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 = 1
L8_1.area_id = 17
L9_1 = {}
L9_1.config_id = 355007
L9_1.gadget_id = 70900380
L10_1 = {}
L10_1.x = -3874.35
L10_1.y = 185.361
L10_1.z = -1043.52
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 = 1
L9_1.area_id = 17
L10_1 = {}
L10_1.config_id = 355008
L10_1.gadget_id = 70900380
L11_1 = {}
L11_1.x = -3850.031
L11_1.y = 187.616
L11_1.z = -1043.168
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 = 1
L10_1.area_id = 17
L11_1 = {}
L11_1.config_id = 355009
L11_1.gadget_id = 70900380
L12_1 = {}
L12_1.x = -3841.688
L12_1.y = 179.577
L12_1.z = -1042.766
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 = 17
L12_1 = {}
L12_1.config_id = 355010
L12_1.gadget_id = 70290150
L13_1 = {}
L13_1.x = -3868.025
L13_1.y = 185.622
L13_1.z = -1047.193
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 = 1
L12_1.area_id = 17
L13_1 = {}
L13_1.config_id = 355011
L13_1.gadget_id = 70290150
L14_1 = {}
L14_1.x = -3870.0
L14_1.y = 191.595
L14_1.z = -1047.193
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 17
L14_1 = {}
L14_1.config_id = 355012
L14_1.gadget_id = 70290150
L15_1 = {}
L15_1.x = -3871.755
L15_1.y = 197.996
L15_1.z = -1047.193
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 = 1
L14_1.area_id = 17
L15_1 = {}
L15_1.config_id = 355013
L15_1.gadget_id = 70290150
L16_1 = {}
L16_1.x = -3865.985
L16_1.y = 159.742
L16_1.z = -1047.193
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 = 1
L15_1.area_id = 17
L16_1 = {}
L16_1.config_id = 355014
L16_1.gadget_id = 70290150
L17_1 = {}
L17_1.x = -3874.87
L17_1.y = 172.465
L17_1.z = -1047.193
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 = 1
L16_1.area_id = 17
L17_1 = {}
L17_1.config_id = 355015
L17_1.gadget_id = 70290150
L18_1 = {}
L18_1.x = -3874.777
L18_1.y = 178.326
L18_1.z = -1047.193
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 = 1
L17_1.area_id = 17
L18_1 = {}
L18_1.config_id = 355016
L18_1.gadget_id = 70290150
L19_1 = {}
L19_1.x = -3844.675
L19_1.y = 173.386
L19_1.z = -1047.16
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 = 1
L18_1.area_id = 17
L19_1 = {}
L19_1.config_id = 355017
L19_1.gadget_id = 70290150
L20_1 = {}
L20_1.x = -3844.453
L20_1.y = 179.36
L20_1.z = -1047.16
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.area_id = 17
L20_1 = {}
L20_1.config_id = 355018
L20_1.gadget_id = 70290150
L21_1 = {}
L21_1.x = -3845.562
L21_1.y = 189.339
L21_1.z = -1049.823
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 = 1
L20_1.area_id = 17
L21_1 = {}
L21_1.config_id = 355019
L21_1.gadget_id = 70290150
L22_1 = {}
L22_1.x = -3845.562
L22_1.y = 195.434
L22_1.z = -1049.823
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 = 1
L21_1.area_id = 17
L22_1 = {}
L22_1.config_id = 355020
L22_1.gadget_id = 70330064
L23_1 = {}
L23_1.x = -3884.305
L23_1.y = 184.104
L23_1.z = -1049.779
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.interact_id = 35
L22_1.area_id = 17
L23_1 = {}
L23_1.config_id = 355021
L23_1.gadget_id = 70330064
L24_1 = {}
L24_1.x = -3855.778
L24_1.y = 200.112
L24_1.z = -1053.843
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L23_1.interact_id = 35
L23_1.area_id = 17
L24_1 = {}
L24_1.config_id = 355022
L24_1.gadget_id = 70330064
L25_1 = {}
L25_1.x = -3841.142
L25_1.y = 157.088
L25_1.z = -1046.784
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 11.036
L25_1.y = 0.192
L25_1.z = 1.986
L24_1.rot = L25_1
L24_1.level = 1
L24_1.interact_id = 35
L24_1.area_id = 17
L25_1 = {}
L25_1.config_id = 355023
L25_1.gadget_id = 70290150
L26_1 = {}
L26_1.x = -3859.625
L26_1.y = 154.561
L26_1.z = -1047.193
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L25_1.area_id = 17
L26_1 = {}
L26_1.config_id = 355024
L26_1.gadget_id = 70290150
L27_1 = {}
L27_1.x = -3859.625
L27_1.y = 149.511
L27_1.z = -1047.193
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L26_1.area_id = 17
L27_1 = {}
L27_1.config_id = 355031
L27_1.gadget_id = 70290150
L28_1 = {}
L28_1.x = -3866.023
L28_1.y = 165.335
L28_1.z = -1047.193
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L27_1.area_id = 17
L28_1 = {}
L28_1.config_id = 355032
L28_1.gadget_id = 70900380
L29_1 = {}
L29_1.x = -3849.887
L29_1.y = 169.004
L29_1.z = -1044.469
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L28_1.area_id = 17
L29_1 = {}
L29_1.config_id = 355033
L29_1.gadget_id = 70900380
L30_1 = {}
L30_1.x = -3878.479
L30_1.y = 196.991
L30_1.z = -1048.108
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L29_1.area_id = 17
L30_1 = {}
L30_1.config_id = 355034
L30_1.gadget_id = 70900380
L31_1 = {}
L31_1.x = -3860.097
L31_1.y = 144.229
L31_1.z = -1045.336
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 0.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L30_1.area_id = 17
L31_1 = {}
L31_1.config_id = 355037
L31_1.gadget_id = 70900380
L32_1 = {}
L32_1.x = -3863.583
L32_1.y = 152.271
L32_1.z = -1045.528
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L31_1.area_id = 17
L32_1 = {}
L32_1.config_id = 355038
L32_1.gadget_id = 70330064
L33_1 = {}
L33_1.x = -3860.189
L33_1.y = 135.831
L33_1.z = -1053.399
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 258.722
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L32_1.interact_id = 35
L32_1.area_id = 17
L33_1 = {}
L33_1.config_id = 355039
L33_1.gadget_id = 70900380
L34_1 = {}
L34_1.x = -3845.205
L34_1.y = 198.73
L34_1.z = -1043.168
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 0.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L33_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
L2_1[27] = L29_1
L2_1[28] = L30_1
L2_1[29] = L31_1
L2_1[30] = L32_1
L2_1[31] = L33_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1355025
L3_1.name = "GADGET_CREATE_355025"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_355025"
L3_1.action = "action_EVENT_GADGET_CREATE_355025"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1355026
L4_1.name = "SELECT_OPTION_355026"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_355026"
L4_1.action = "action_EVENT_SELECT_OPTION_355026"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1355027
L5_1.name = "GADGET_STATE_CHANGE_355027"
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_355027"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_355027"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1355028
L6_1.name = "CHALLENGE_SUCCESS_355028"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "666"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_355028"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1355029
L7_1.name = "CHALLENGE_FAIL_355029"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
L7_1.event = L8_1
L7_1.source = "666"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_FAIL_355029"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1355030
L8_1.name = "ANY_GADGET_DIE_355030"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_GADGET_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = ""
L8_1.action = ""
L8_1.trigger_count = 0
L8_1.tag = "999"
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
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 3
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 355001
L6_1 = 355002
L7_1 = 355003
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_355025"
L6_1 = "SELECT_OPTION_355026"
L7_1 = "GADGET_STATE_CHANGE_355027"
L8_1 = "CHALLENGE_SUCCESS_355028"
L9_1 = "CHALLENGE_FAIL_355029"
L10_1 = "ANY_GADGET_DIE_355030"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 355004
L7_1 = 355005
L8_1 = 355006
L9_1 = 355007
L10_1 = 355008
L11_1 = 355009
L12_1 = 355010
L13_1 = 355011
L14_1 = 355012
L15_1 = 355013
L16_1 = 355014
L17_1 = 355015
L18_1 = 355016
L19_1 = 355017
L20_1 = 355018
L21_1 = 355019
L22_1 = 355020
L23_1 = 355021
L24_1 = 355022
L25_1 = 355023
L26_1 = 355024
L27_1 = 355031
L28_1 = 355032
L29_1 = 355033
L30_1 = 355034
L31_1 = 355037
L32_1 = 355038
L33_1 = 355039
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
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L5_1[12] = L17_1
L5_1[13] = L18_1
L5_1[14] = L19_1
L5_1[15] = L20_1
L5_1[16] = L21_1
L5_1[17] = L22_1
L5_1[18] = L23_1
L5_1[19] = L24_1
L5_1[20] = L25_1
L5_1[21] = L26_1
L5_1[22] = L27_1
L5_1[23] = L28_1
L5_1[24] = L29_1
L5_1[25] = L30_1
L5_1[26] = L31_1
L5_1[27] = L32_1
L5_1[28] = L33_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 355002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_355025 = 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 = 133210355
L5_2 = 355002
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_355025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 355002 ~= L2_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_355026 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 355002
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 : kill_entity_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 = 355001
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 = {}
L2_2.x = -3868.025
L2_2.y = 178.3364
L2_2.z = -1047.193
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 = 2
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_SELECT_OPTION_355026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 355001 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_355027 = 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.ActiveChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 77
L6_2 = L1_1.duration
L7_2 = 2
L8_2 = 999
L9_2 = L1_1.sum
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 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_355027 = 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 = 355001
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 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133210355
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 355003
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 : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133210355
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_355028 = 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 = 355001
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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 355002
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : create_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133210355
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_355029 = L2_1
L2_1 = require
L3_1 = "V2_0/ElectricCore"
L2_1(L3_1)