mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
672 lines
12 KiB
Lua
672 lines
12 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133101090
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 90001
|
|
L2_1.gadget_id = 70360007
|
|
L3_1 = {}
|
|
L3_1.x = 1607.177
|
|
L3_1.y = 201.262
|
|
L3_1.z = 1143.185
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 353.387
|
|
L3_1.y = 177.533
|
|
L3_1.z = 357.777
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 19
|
|
L2_1.area_id = 5
|
|
L3_1 = {}
|
|
L3_1.config_id = 90002
|
|
L3_1.gadget_id = 70211111
|
|
L4_1 = {}
|
|
L4_1.x = 1663.877
|
|
L4_1.y = 230.128
|
|
L4_1.z = 1348.407
|
|
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 = 16
|
|
L3_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\146\131\230\156\136"
|
|
L3_1.showcutscene = true
|
|
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 = 5
|
|
L4_1 = {}
|
|
L4_1.config_id = 90007
|
|
L4_1.gadget_id = 70690006
|
|
L5_1 = {}
|
|
L5_1.x = 1622.319
|
|
L5_1.y = 193.542
|
|
L5_1.z = 1152.437
|
|
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
|
|
L4_1.area_id = 5
|
|
L5_1 = {}
|
|
L5_1.config_id = 90008
|
|
L5_1.gadget_id = 70690006
|
|
L6_1 = {}
|
|
L6_1.x = 1655.885
|
|
L6_1.y = 199.247
|
|
L6_1.z = 1206.424
|
|
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
|
|
L5_1.area_id = 5
|
|
L6_1 = {}
|
|
L6_1.config_id = 90009
|
|
L6_1.gadget_id = 70690001
|
|
L7_1 = {}
|
|
L7_1.x = 1628.229
|
|
L7_1.y = 220.11
|
|
L7_1.z = 1164.848
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 9.687
|
|
L7_1.y = 38.088
|
|
L7_1.z = 2.117
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 5
|
|
L7_1 = {}
|
|
L7_1.config_id = 90010
|
|
L7_1.gadget_id = 70690001
|
|
L8_1 = {}
|
|
L8_1.x = 1635.383
|
|
L8_1.y = 218.13
|
|
L8_1.z = 1173.976
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 9.687
|
|
L8_1.y = 38.088
|
|
L8_1.z = 2.117
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 5
|
|
L8_1 = {}
|
|
L8_1.config_id = 90011
|
|
L8_1.gadget_id = 70690001
|
|
L9_1 = {}
|
|
L9_1.x = 1643.941
|
|
L9_1.y = 215.762
|
|
L9_1.z = 1184.896
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 9.687
|
|
L9_1.y = 38.088
|
|
L9_1.z = 2.117
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 5
|
|
L9_1 = {}
|
|
L9_1.config_id = 90012
|
|
L9_1.gadget_id = 70690006
|
|
L10_1 = {}
|
|
L10_1.x = 1679.62
|
|
L10_1.y = 193.787
|
|
L10_1.z = 1233.925
|
|
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 = 5
|
|
L10_1 = {}
|
|
L10_1.config_id = 90013
|
|
L10_1.gadget_id = 70690001
|
|
L11_1 = {}
|
|
L11_1.x = 1663.302
|
|
L11_1.y = 219.248
|
|
L11_1.z = 1214.633
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 9.529
|
|
L11_1.y = 41.858
|
|
L11_1.z = 2.747
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.area_id = 5
|
|
L11_1 = {}
|
|
L11_1.config_id = 90014
|
|
L11_1.gadget_id = 70690001
|
|
L12_1 = {}
|
|
L12_1.x = 1670.191
|
|
L12_1.y = 216.387
|
|
L12_1.z = 1222.243
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 20.68
|
|
L12_1.y = 42.426
|
|
L12_1.z = 2.895
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 5
|
|
L12_1 = {}
|
|
L12_1.config_id = 90015
|
|
L12_1.gadget_id = 70690001
|
|
L13_1 = {}
|
|
L13_1.x = 1681.23
|
|
L13_1.y = 217.736
|
|
L13_1.z = 1234.67
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 322.501
|
|
L13_1.y = 39.322
|
|
L13_1.z = 3.415
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.area_id = 5
|
|
L13_1 = {}
|
|
L13_1.config_id = 90016
|
|
L13_1.gadget_id = 70690001
|
|
L14_1 = {}
|
|
L14_1.x = 1685.605
|
|
L14_1.y = 223.033
|
|
L14_1.z = 1240.01
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 322.501
|
|
L14_1.y = 39.322
|
|
L14_1.z = 3.415
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.area_id = 5
|
|
L14_1 = {}
|
|
L14_1.config_id = 90017
|
|
L14_1.gadget_id = 70690001
|
|
L15_1 = {}
|
|
L15_1.x = 1689.678
|
|
L15_1.y = 228.505
|
|
L15_1.z = 1245.972
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 323.337
|
|
L15_1.y = 29.822
|
|
L15_1.z = 9.151
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.area_id = 5
|
|
L15_1 = {}
|
|
L15_1.config_id = 90018
|
|
L15_1.gadget_id = 70690001
|
|
L16_1 = {}
|
|
L16_1.x = 1692.497
|
|
L16_1.y = 232.596
|
|
L16_1.z = 1250.655
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 324.082
|
|
L16_1.y = 24.892
|
|
L16_1.z = 12.071
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.area_id = 5
|
|
L16_1 = {}
|
|
L16_1.config_id = 90019
|
|
L16_1.gadget_id = 70690006
|
|
L17_1 = {}
|
|
L17_1.x = 1693.005
|
|
L17_1.y = 214.693
|
|
L17_1.z = 1266.122
|
|
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 = 5
|
|
L17_1 = {}
|
|
L17_1.config_id = 90020
|
|
L17_1.gadget_id = 70690001
|
|
L18_1 = {}
|
|
L18_1.x = 1694.384
|
|
L18_1.y = 238.703
|
|
L18_1.z = 1277.119
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 357.781
|
|
L18_1.z = 355.377
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 1
|
|
L17_1.area_id = 5
|
|
L18_1 = {}
|
|
L18_1.config_id = 90021
|
|
L18_1.gadget_id = 70690001
|
|
L19_1 = {}
|
|
L19_1.x = 1694.157
|
|
L19_1.y = 238.992
|
|
L19_1.z = 1286.641
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 0.0
|
|
L19_1.y = 357.781
|
|
L19_1.z = 355.377
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 1
|
|
L18_1.area_id = 5
|
|
L19_1 = {}
|
|
L19_1.config_id = 90022
|
|
L19_1.gadget_id = 70690001
|
|
L20_1 = {}
|
|
L20_1.x = 1692.097
|
|
L20_1.y = 239.122
|
|
L20_1.z = 1298.204
|
|
L19_1.pos = L20_1
|
|
L20_1 = {}
|
|
L20_1.x = 359.214
|
|
L20_1.y = 348.012
|
|
L20_1.z = 355.444
|
|
L19_1.rot = L20_1
|
|
L19_1.level = 1
|
|
L19_1.area_id = 5
|
|
L20_1 = {}
|
|
L20_1.config_id = 90023
|
|
L20_1.gadget_id = 70690001
|
|
L21_1 = {}
|
|
L21_1.x = 1688.056
|
|
L21_1.y = 239.415
|
|
L21_1.z = 1308.937
|
|
L20_1.pos = L21_1
|
|
L21_1 = {}
|
|
L21_1.x = 358.406
|
|
L21_1.y = 337.65
|
|
L21_1.z = 355.66
|
|
L20_1.rot = L21_1
|
|
L20_1.level = 1
|
|
L20_1.area_id = 5
|
|
L21_1 = {}
|
|
L21_1.config_id = 90024
|
|
L21_1.gadget_id = 70690001
|
|
L22_1 = {}
|
|
L22_1.x = 1683.102
|
|
L22_1.y = 239.784
|
|
L22_1.z = 1318.957
|
|
L21_1.pos = L22_1
|
|
L22_1 = {}
|
|
L22_1.x = 357.846
|
|
L22_1.y = 330.053
|
|
L22_1.z = 355.909
|
|
L21_1.rot = L22_1
|
|
L21_1.level = 1
|
|
L21_1.area_id = 5
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
L1_1[13] = L14_1
|
|
L1_1[14] = L15_1
|
|
L1_1[15] = L16_1
|
|
L1_1[16] = L17_1
|
|
L1_1[17] = L18_1
|
|
L1_1[18] = L19_1
|
|
L1_1[19] = L20_1
|
|
L1_1[20] = L21_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1090003
|
|
L2_1.name = "GADGET_STATE_CHANGE_90003"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_90003"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_90003"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1090004
|
|
L3_1.name = "GADGET_STATE_CHANGE_90004"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_90004"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_90004"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1090005
|
|
L4_1.name = "GADGET_STATE_CHANGE_90005"
|
|
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_90005"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_90005"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1090006
|
|
L5_1.name = "GADGET_CREATE_90006"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_CREATE
|
|
L5_1.event = L6_1
|
|
L5_1.source = "111"
|
|
L5_1.condition = "condition_EVENT_GADGET_CREATE_90006"
|
|
L5_1.action = "action_EVENT_GADGET_CREATE_90006"
|
|
L5_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 3
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 90001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_90003"
|
|
L5_1 = "GADGET_STATE_CHANGE_90004"
|
|
L6_1 = "GADGET_STATE_CHANGE_90005"
|
|
L7_1 = "GADGET_CREATE_90006"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 90002
|
|
L6_1 = 90007
|
|
L7_1 = 90008
|
|
L8_1 = 90009
|
|
L9_1 = 90010
|
|
L10_1 = 90011
|
|
L11_1 = 90012
|
|
L12_1 = 90013
|
|
L13_1 = 90014
|
|
L14_1 = 90015
|
|
L15_1 = 90016
|
|
L16_1 = 90017
|
|
L17_1 = 90018
|
|
L18_1 = 90019
|
|
L19_1 = 90020
|
|
L20_1 = 90021
|
|
L21_1 = 90022
|
|
L22_1 = 90023
|
|
L23_1 = 90024
|
|
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
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L4_1[14] = L18_1
|
|
L4_1[15] = L19_1
|
|
L4_1[16] = L20_1
|
|
L4_1[17] = L21_1
|
|
L4_1[18] = L22_1
|
|
L4_1[19] = L23_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
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
|
|
L4_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 90002 == 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_90003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 1010
|
|
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.SetGroupDead
|
|
L3_2 = A0_2
|
|
L4_2 = 0
|
|
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 : set_group_die"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_90003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 90001 == 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_90004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 1010
|
|
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 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101090
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_90004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 90001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_90005 = L1_1
|
|
function L1_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 = 90002
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action01
|
|
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.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 1010
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101090
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_90005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
if 90001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 0
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_90006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101090
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_90006 = L1_1
|