mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
840 lines
16 KiB
Lua
840 lines
16 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 144004057
|
|
L1_1 = {}
|
|
L1_1.duration = 40
|
|
L1_1.group_id = 144004057
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 57001
|
|
L3_1.gadget_id = 70211111
|
|
L4_1 = {}
|
|
L4_1.x = -264.102
|
|
L4_1.y = 188.941
|
|
L4_1.z = -819.38
|
|
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 = 26
|
|
L3_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\190\164\229\178\155"
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.name = "chest"
|
|
L4_1.exp = 1
|
|
L3_1.explore = L4_1
|
|
L3_1.area_id = 100
|
|
L4_1 = {}
|
|
L4_1.config_id = 57002
|
|
L4_1.gadget_id = 70350083
|
|
L5_1 = {}
|
|
L5_1.x = -378.884
|
|
L5_1.y = 167.368
|
|
L5_1.z = -593.886
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 355.154
|
|
L5_1.y = 359.791
|
|
L5_1.z = 12.937
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 100
|
|
L5_1 = {}
|
|
L5_1.config_id = 57003
|
|
L5_1.gadget_id = 70360001
|
|
L6_1 = {}
|
|
L6_1.x = -379.129
|
|
L6_1.y = 168.356
|
|
L6_1.z = -593.978
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 355.154
|
|
L6_1.y = 359.791
|
|
L6_1.z = 12.937
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 100
|
|
L6_1 = {}
|
|
L6_1.config_id = 57004
|
|
L6_1.gadget_id = 70690001
|
|
L7_1 = {}
|
|
L7_1.x = -376.692
|
|
L7_1.y = 168.61
|
|
L7_1.z = -588.908
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 332.323
|
|
L7_1.y = 21.582
|
|
L7_1.z = 6.017
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 100
|
|
L7_1 = {}
|
|
L7_1.config_id = 57011
|
|
L7_1.gadget_id = 70690001
|
|
L8_1 = {}
|
|
L8_1.x = -367.926
|
|
L8_1.y = 175.72
|
|
L8_1.z = -572.683
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 338.598
|
|
L8_1.y = 48.219
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 100
|
|
L8_1 = {}
|
|
L8_1.config_id = 57012
|
|
L8_1.gadget_id = 70690001
|
|
L9_1 = {}
|
|
L9_1.x = -354.218
|
|
L9_1.y = 182.785
|
|
L9_1.z = -560.488
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 330.1
|
|
L9_1.y = 89.185
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 100
|
|
L9_1 = {}
|
|
L9_1.config_id = 57013
|
|
L9_1.gadget_id = 70690001
|
|
L10_1 = {}
|
|
L10_1.x = -335.224
|
|
L10_1.y = 188.454
|
|
L10_1.z = -560.218
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 339.0
|
|
L10_1.y = 115.103
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 100
|
|
L10_1 = {}
|
|
L10_1.config_id = 57014
|
|
L10_1.gadget_id = 70690001
|
|
L11_1 = {}
|
|
L11_1.x = -317.677
|
|
L11_1.y = 192.739
|
|
L11_1.z = -568.438
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 354.313
|
|
L11_1.y = 157.548
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.area_id = 100
|
|
L11_1 = {}
|
|
L11_1.config_id = 57015
|
|
L11_1.gadget_id = 70690001
|
|
L12_1 = {}
|
|
L12_1.x = -346.39
|
|
L12_1.y = 194.483
|
|
L12_1.z = -734.347
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 359.965
|
|
L12_1.y = 140.932
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 100
|
|
L12_1 = {}
|
|
L12_1.config_id = 57016
|
|
L12_1.gadget_id = 70690001
|
|
L13_1 = {}
|
|
L13_1.x = -339.111
|
|
L13_1.y = 194.49
|
|
L13_1.z = -743.314
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 359.965
|
|
L13_1.y = 140.932
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.area_id = 100
|
|
L13_1 = {}
|
|
L13_1.config_id = 57017
|
|
L13_1.gadget_id = 70690001
|
|
L14_1 = {}
|
|
L14_1.x = -343.537
|
|
L14_1.y = 192.098
|
|
L14_1.z = -631.976
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 13.98
|
|
L14_1.y = 231.255
|
|
L14_1.z = 0.253
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.area_id = 100
|
|
L14_1 = {}
|
|
L14_1.config_id = 57018
|
|
L14_1.gadget_id = 70690001
|
|
L15_1 = {}
|
|
L15_1.x = -331.833
|
|
L15_1.y = 194.497
|
|
L15_1.z = -752.281
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 359.965
|
|
L15_1.y = 140.932
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.area_id = 100
|
|
L15_1 = {}
|
|
L15_1.config_id = 57019
|
|
L15_1.gadget_id = 70690001
|
|
L16_1 = {}
|
|
L16_1.x = -360.534
|
|
L16_1.y = 181.265
|
|
L16_1.z = -646.365
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 345.1
|
|
L16_1.y = 211.576
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.area_id = 100
|
|
L16_1 = {}
|
|
L16_1.config_id = 57020
|
|
L16_1.gadget_id = 70690001
|
|
L17_1 = {}
|
|
L17_1.x = -365.249
|
|
L17_1.y = 182.341
|
|
L17_1.z = -653.694
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 345.1
|
|
L17_1.y = 190.731
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L16_1.area_id = 100
|
|
L17_1 = {}
|
|
L17_1.config_id = 57021
|
|
L17_1.gadget_id = 70690001
|
|
L18_1 = {}
|
|
L18_1.x = -367.104
|
|
L18_1.y = 184.206
|
|
L18_1.z = -663.258
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 336.252
|
|
L18_1.y = 173.192
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 1
|
|
L17_1.area_id = 100
|
|
L18_1 = {}
|
|
L18_1.config_id = 57022
|
|
L18_1.gadget_id = 70690001
|
|
L19_1 = {}
|
|
L19_1.x = -366.024
|
|
L19_1.y = 187.84
|
|
L19_1.z = -672.307
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 333.147
|
|
L19_1.y = 158.995
|
|
L19_1.z = 0.0
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 1
|
|
L18_1.area_id = 100
|
|
L19_1 = {}
|
|
L19_1.config_id = 57023
|
|
L19_1.gadget_id = 70690001
|
|
L20_1 = {}
|
|
L20_1.x = -362.826
|
|
L20_1.y = 190.936
|
|
L20_1.z = -680.635
|
|
L19_1.pos = L20_1
|
|
L20_1 = {}
|
|
L20_1.x = 340.83
|
|
L20_1.y = 162.681
|
|
L20_1.z = 0.0
|
|
L19_1.rot = L20_1
|
|
L19_1.level = 1
|
|
L19_1.area_id = 100
|
|
L20_1 = {}
|
|
L20_1.config_id = 57024
|
|
L20_1.gadget_id = 70690001
|
|
L21_1 = {}
|
|
L21_1.x = -310.498
|
|
L21_1.y = 194.61
|
|
L21_1.z = -585.81
|
|
L20_1.pos = L21_1
|
|
L21_1 = {}
|
|
L21_1.x = 0.232
|
|
L21_1.y = 205.566
|
|
L21_1.z = 0.0
|
|
L20_1.rot = L21_1
|
|
L20_1.level = 1
|
|
L20_1.area_id = 100
|
|
L21_1 = {}
|
|
L21_1.config_id = 57025
|
|
L21_1.gadget_id = 70690001
|
|
L22_1 = {}
|
|
L22_1.x = -358.304
|
|
L22_1.y = 194.07
|
|
L22_1.z = -695.806
|
|
L21_1.pos = L22_1
|
|
L22_1 = {}
|
|
L22_1.x = 346.076
|
|
L22_1.y = 165.179
|
|
L22_1.z = 0.0
|
|
L21_1.rot = L22_1
|
|
L21_1.level = 1
|
|
L21_1.area_id = 100
|
|
L22_1 = {}
|
|
L22_1.config_id = 57026
|
|
L22_1.gadget_id = 70690001
|
|
L23_1 = {}
|
|
L23_1.x = -319.086
|
|
L23_1.y = 194.53
|
|
L23_1.z = -603.762
|
|
L22_1.pos = L23_1
|
|
L23_1 = {}
|
|
L23_1.x = 0.232
|
|
L23_1.y = 205.566
|
|
L23_1.z = 0.0
|
|
L22_1.rot = L23_1
|
|
L22_1.level = 1
|
|
L22_1.area_id = 100
|
|
L23_1 = {}
|
|
L23_1.config_id = 57027
|
|
L23_1.gadget_id = 70690001
|
|
L24_1 = {}
|
|
L24_1.x = -307.417
|
|
L24_1.y = 192.513
|
|
L24_1.z = -771.304
|
|
L23_1.pos = L24_1
|
|
L24_1 = {}
|
|
L24_1.x = 359.965
|
|
L24_1.y = 140.932
|
|
L24_1.z = 0.0
|
|
L23_1.rot = L24_1
|
|
L23_1.level = 1
|
|
L23_1.area_id = 100
|
|
L24_1 = {}
|
|
L24_1.config_id = 57028
|
|
L24_1.gadget_id = 70690001
|
|
L25_1 = {}
|
|
L25_1.x = -300.138
|
|
L25_1.y = 192.52
|
|
L25_1.z = -780.271
|
|
L24_1.pos = L25_1
|
|
L25_1 = {}
|
|
L25_1.x = 359.965
|
|
L25_1.y = 140.932
|
|
L25_1.z = 0.0
|
|
L24_1.rot = L25_1
|
|
L24_1.level = 1
|
|
L24_1.area_id = 100
|
|
L25_1 = {}
|
|
L25_1.config_id = 57029
|
|
L25_1.gadget_id = 70690001
|
|
L26_1 = {}
|
|
L26_1.x = -292.86
|
|
L26_1.y = 192.527
|
|
L26_1.z = -789.237
|
|
L25_1.pos = L26_1
|
|
L26_1 = {}
|
|
L26_1.x = 359.965
|
|
L26_1.y = 140.932
|
|
L26_1.z = 0.0
|
|
L25_1.rot = L26_1
|
|
L25_1.level = 1
|
|
L25_1.area_id = 100
|
|
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
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1057005
|
|
L3_1.name = "CHALLENGE_SUCCESS_57005"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
|
|
L3_1.event = L4_1
|
|
L3_1.source = "666"
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_57005"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1057006
|
|
L4_1.name = "CHALLENGE_FAIL_57006"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
|
|
L4_1.event = L5_1
|
|
L4_1.source = "666"
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_CHALLENGE_FAIL_57006"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1057007
|
|
L5_1.name = "GADGET_STATE_CHANGE_57007"
|
|
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_57007"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_57007"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1057008
|
|
L6_1.name = "GADGET_STATE_CHANGE_57008"
|
|
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_57008"
|
|
L6_1.action = ""
|
|
L6_1.tag = "202"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1057009
|
|
L7_1.name = "GADGET_CREATE_57009"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGET_CREATE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_GADGET_CREATE_57009"
|
|
L7_1.action = "action_EVENT_GADGET_CREATE_57009"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1057010
|
|
L8_1.name = "SELECT_OPTION_57010"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_SELECT_OPTION
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_SELECT_OPTION_57010"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_57010"
|
|
L8_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
|
|
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 = 57002
|
|
L6_1 = 57003
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "CHALLENGE_SUCCESS_57005"
|
|
L6_1 = "CHALLENGE_FAIL_57006"
|
|
L7_1 = "GADGET_STATE_CHANGE_57007"
|
|
L8_1 = "GADGET_STATE_CHANGE_57008"
|
|
L9_1 = "GADGET_CREATE_57009"
|
|
L10_1 = "SELECT_OPTION_57010"
|
|
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 = 57001
|
|
L7_1 = 57004
|
|
L8_1 = 57011
|
|
L9_1 = 57012
|
|
L10_1 = 57013
|
|
L11_1 = 57014
|
|
L12_1 = 57015
|
|
L13_1 = 57016
|
|
L14_1 = 57017
|
|
L15_1 = 57018
|
|
L16_1 = 57019
|
|
L17_1 = 57020
|
|
L18_1 = 57021
|
|
L19_1 = 57022
|
|
L20_1 = 57023
|
|
L21_1 = 57024
|
|
L22_1 = 57025
|
|
L23_1 = 57026
|
|
L24_1 = 57027
|
|
L25_1 = 57028
|
|
L26_1 = 57029
|
|
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
|
|
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 = {}
|
|
L7_1 = 57002
|
|
L6_1[1] = L7_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, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 57002
|
|
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.KillExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144004057
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 3002
|
|
L5_2 = 3
|
|
L6_2 = 1
|
|
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 : mark_playerAction"
|
|
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 = 144004057
|
|
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_57005 = 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.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144004057
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 57002
|
|
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 = 57003
|
|
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.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 3002
|
|
L5_2 = 4
|
|
L6_2 = 1
|
|
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 : mark_playerAction"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_57006 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 57002 == 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_57007 = 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 = 202
|
|
L6_2 = L1_1.duration
|
|
L7_2 = 7
|
|
L8_2 = 202
|
|
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 = -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 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 3002
|
|
L5_2 = 1
|
|
L6_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_57007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 57001 == 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
|
|
condition_EVENT_GADGET_STATE_CHANGE_57008 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 57003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_57009 = 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 = 144004057
|
|
L5_2 = 57003
|
|
L6_2 = {}
|
|
L7_2 = 177
|
|
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_57009 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 57003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 177 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_57010 = 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.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 57003
|
|
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 = 57002
|
|
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_SELECT_OPTION_57010 = L2_1
|