mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
871 lines
17 KiB
Lua
871 lines
17 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133002414
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 414001
|
|
L2_1.monster_id = 21011401
|
|
L3_1 = {}
|
|
L3_1.x = 1475.757
|
|
L3_1.y = 268.656
|
|
L3_1.z = -759.982
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 35
|
|
L2_1.drop_id = 1000100
|
|
L2_1.climate_area_id = 1
|
|
L2_1.area_id = 10
|
|
L3_1 = {}
|
|
L3_1.config_id = 414002
|
|
L3_1.monster_id = 21011401
|
|
L4_1 = {}
|
|
L4_1.x = 1473.93
|
|
L4_1.y = 269.25
|
|
L4_1.z = -759.284
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 21.44
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 35
|
|
L3_1.drop_id = 1000100
|
|
L3_1.climate_area_id = 1
|
|
L3_1.area_id = 10
|
|
L4_1 = {}
|
|
L4_1.config_id = 414003
|
|
L4_1.monster_id = 21011401
|
|
L5_1 = {}
|
|
L5_1.x = 1475.06
|
|
L5_1.y = 268.982
|
|
L5_1.z = -757.02
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 6.032
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 35
|
|
L4_1.drop_id = 1000100
|
|
L4_1.climate_area_id = 1
|
|
L4_1.area_id = 10
|
|
L5_1 = {}
|
|
L5_1.config_id = 414004
|
|
L5_1.monster_id = 21011301
|
|
L6_1 = {}
|
|
L6_1.x = 1472.115
|
|
L6_1.y = 268.958
|
|
L6_1.z = -734.824
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 135.557
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 35
|
|
L5_1.drop_id = 1000100
|
|
L5_1.climate_area_id = 1
|
|
L5_1.area_id = 10
|
|
L6_1 = {}
|
|
L6_1.config_id = 414005
|
|
L6_1.monster_id = 21011301
|
|
L7_1 = {}
|
|
L7_1.x = 1470.287
|
|
L7_1.y = 269.17
|
|
L7_1.z = -734.129
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 156.997
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 35
|
|
L6_1.drop_id = 1000100
|
|
L6_1.climate_area_id = 1
|
|
L6_1.area_id = 10
|
|
L7_1 = {}
|
|
L7_1.config_id = 414006
|
|
L7_1.monster_id = 21020601
|
|
L8_1 = {}
|
|
L8_1.x = 1471.417
|
|
L8_1.y = 269.027
|
|
L8_1.z = -731.862
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 141.59
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 35
|
|
L7_1.drop_id = 1000100
|
|
L7_1.climate_area_id = 1
|
|
L7_1.area_id = 10
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 414007
|
|
L2_1.gadget_id = 70360128
|
|
L3_1 = {}
|
|
L3_1.x = 1481.43
|
|
L3_1.y = 268.464
|
|
L3_1.z = -741.809
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 32
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 10
|
|
L3_1 = {}
|
|
L3_1.config_id = 414010
|
|
L3_1.gadget_id = 70360105
|
|
L4_1 = {}
|
|
L4_1.x = 1481.348
|
|
L4_1.y = 268.481
|
|
L4_1.z = -742.853
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 3.249
|
|
L4_1.y = 359.836
|
|
L4_1.z = 354.223
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 32
|
|
L3_1.area_id = 10
|
|
L4_1 = {}
|
|
L4_1.config_id = 414011
|
|
L4_1.gadget_id = 70310017
|
|
L5_1 = {}
|
|
L5_1.x = 1473.162
|
|
L5_1.y = 269.351
|
|
L5_1.z = -747.525
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 1.788
|
|
L5_1.y = 359.967
|
|
L5_1.z = 355.534
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 32
|
|
L5_1 = GadgetState
|
|
L5_1 = L5_1.GearStart
|
|
L4_1.state = L5_1
|
|
L4_1.area_id = 10
|
|
L5_1 = {}
|
|
L5_1.config_id = 414012
|
|
L5_1.gadget_id = 70310017
|
|
L6_1 = {}
|
|
L6_1.x = 1487.675
|
|
L6_1.y = 267.646
|
|
L6_1.z = -747.422
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 353.693
|
|
L6_1.y = 32.018
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 32
|
|
L6_1 = GadgetState
|
|
L6_1 = L6_1.GearStart
|
|
L5_1.state = L6_1
|
|
L5_1.area_id = 10
|
|
L6_1 = {}
|
|
L6_1.config_id = 414013
|
|
L6_1.gadget_id = 70310017
|
|
L7_1 = {}
|
|
L7_1.x = 1479.169
|
|
L7_1.y = 268.623
|
|
L7_1.z = -735.08
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 353.579
|
|
L7_1.y = 32.016
|
|
L7_1.z = 4.237
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 32
|
|
L7_1 = GadgetState
|
|
L7_1 = L7_1.GearStart
|
|
L6_1.state = L7_1
|
|
L6_1.area_id = 10
|
|
L7_1 = {}
|
|
L7_1.config_id = 414014
|
|
L7_1.gadget_id = 70310021
|
|
L8_1 = {}
|
|
L8_1.x = 1473.162
|
|
L8_1.y = 269.328
|
|
L8_1.z = -747.525
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 1.788
|
|
L8_1.y = 359.967
|
|
L8_1.z = 355.534
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 32
|
|
L8_1 = GadgetState
|
|
L8_1 = L8_1.GearStart
|
|
L7_1.state = L8_1
|
|
L7_1.area_id = 10
|
|
L8_1 = {}
|
|
L8_1.config_id = 414015
|
|
L8_1.gadget_id = 70310021
|
|
L9_1 = {}
|
|
L9_1.x = 1487.675
|
|
L9_1.y = 267.646
|
|
L9_1.z = -747.422
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 353.693
|
|
L9_1.y = 32.018
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 32
|
|
L9_1 = GadgetState
|
|
L9_1 = L9_1.GearStart
|
|
L8_1.state = L9_1
|
|
L8_1.area_id = 10
|
|
L9_1 = {}
|
|
L9_1.config_id = 414016
|
|
L9_1.gadget_id = 70310021
|
|
L10_1 = {}
|
|
L10_1.x = 1479.169
|
|
L10_1.y = 268.623
|
|
L10_1.z = -735.08
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 353.579
|
|
L10_1.y = 32.016
|
|
L10_1.z = 4.237
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 32
|
|
L10_1 = GadgetState
|
|
L10_1 = L10_1.GearStart
|
|
L9_1.state = L10_1
|
|
L9_1.area_id = 10
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1414008
|
|
L2_1.name = "GADGET_STATE_CHANGE_414008"
|
|
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_414008"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_414008"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1414019
|
|
L3_1.name = "GADGET_CREATE_414019"
|
|
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_414019"
|
|
L3_1.action = "action_EVENT_GADGET_CREATE_414019"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1414023
|
|
L4_1.name = "SELECT_OPTION_414023"
|
|
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_414023"
|
|
L4_1.action = "action_EVENT_SELECT_OPTION_414023"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1414028
|
|
L5_1.name = "ANY_GADGET_DIE_414028"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ANY_GADGET_DIE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_ANY_GADGET_DIE_414028"
|
|
L5_1.action = "action_EVENT_ANY_GADGET_DIE_414028"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1414029
|
|
L6_1.name = "ANY_GADGET_DIE_414029"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ANY_GADGET_DIE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_ANY_GADGET_DIE_414029"
|
|
L6_1.action = "action_EVENT_ANY_GADGET_DIE_414029"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1414030
|
|
L7_1.name = "ANY_GADGET_DIE_414030"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_ANY_GADGET_DIE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_ANY_GADGET_DIE_414030"
|
|
L7_1.action = "action_EVENT_ANY_GADGET_DIE_414030"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1414031
|
|
L8_1.name = "ANY_MONSTER_DIE_414031"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_414031"
|
|
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_414031"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1414032
|
|
L9_1.name = "CHALLENGE_SUCCESS_414032"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS
|
|
L9_1.event = L10_1
|
|
L9_1.source = "666"
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_414032"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1414033
|
|
L10_1.name = "CHALLENGE_FAIL_414033"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_CHALLENGE_FAIL
|
|
L10_1.event = L11_1
|
|
L10_1.source = "666"
|
|
L10_1.condition = ""
|
|
L10_1.action = "action_EVENT_CHALLENGE_FAIL_414033"
|
|
L10_1.trigger_count = 0
|
|
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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "GroupCompletion"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L1_1[1] = L2_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 2
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 414007
|
|
L4_1[1] = L5_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_STATE_CHANGE_414008"
|
|
L6_1 = "GADGET_CREATE_414019"
|
|
L7_1 = "SELECT_OPTION_414023"
|
|
L8_1 = "CHALLENGE_SUCCESS_414032"
|
|
L9_1 = "CHALLENGE_FAIL_414033"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 414001
|
|
L7_1 = 414002
|
|
L8_1 = 414003
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ANY_MONSTER_DIE_414031"
|
|
L5_1[1] = L6_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 414010
|
|
L8_1 = 414011
|
|
L9_1 = 414012
|
|
L10_1 = 414013
|
|
L11_1 = 414014
|
|
L12_1 = 414015
|
|
L13_1 = 414016
|
|
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
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "ANY_GADGET_DIE_414028"
|
|
L8_1 = "ANY_GADGET_DIE_414029"
|
|
L9_1 = "ANY_GADGET_DIE_414030"
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L8_1 = 414004
|
|
L9_1 = 414005
|
|
L10_1 = 414006
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 100
|
|
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
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 414007 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = A1_2.param3
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_414008 = L1_1
|
|
function L1_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 = "4121110"
|
|
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_GADGET_STATE_CHANGE_414008 = 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 414007 == 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_414019 = L1_1
|
|
function L1_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 = 133002414
|
|
L5_2 = 414007
|
|
L6_2 = {}
|
|
L7_2 = 37
|
|
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_414019 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 414007 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 37 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_414023 = L1_1
|
|
function L1_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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133002414
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133002414
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133002414
|
|
L5_2 = 414007
|
|
L6_2 = 37
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 414007
|
|
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.ActiveChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 666
|
|
L5_2 = 62
|
|
L6_2 = 133002414
|
|
L7_2 = 6
|
|
L8_2 = 0
|
|
L9_2 = 0
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : active_challenge"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_414023 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 414014 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_414028 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 414011
|
|
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_ANY_GADGET_DIE_414028 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 414015 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_414029 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 414012
|
|
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_ANY_GADGET_DIE_414029 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 414016 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_414030 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 414013
|
|
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_ANY_GADGET_DIE_414030 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCountByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133002414
|
|
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_ANY_MONSTER_DIE_414031 = L1_1
|
|
function L1_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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133002414
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = {}
|
|
L2_2.x = 1480
|
|
L2_2.y = 268
|
|
L2_2.z = -736
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 400004
|
|
L6_2 = L2_2
|
|
L7_2 = 25
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_414031 = 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.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "4121111"
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 414010
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_414032 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133002414
|
|
L4_2.suite = 2
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "4121177"
|
|
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_CHALLENGE_FAIL_414033 = L1_1
|