mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
723 lines
13 KiB
Lua
723 lines
13 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133210010
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 10001
|
|
L2_1.monster_id = 20060301
|
|
L3_1 = {}
|
|
L3_1.x = -3782.874
|
|
L3_1.y = 223.007
|
|
L3_1.z = -286.057
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 180.163
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.drop_id = 1000100
|
|
L2_1.pose_id = 101
|
|
L2_1.area_id = 17
|
|
L3_1 = {}
|
|
L3_1.config_id = 10006
|
|
L3_1.monster_id = 20060301
|
|
L4_1 = {}
|
|
L4_1.x = -3785.506
|
|
L4_1.y = 224.76
|
|
L4_1.z = -294.914
|
|
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 = 30
|
|
L3_1.drop_id = 1000100
|
|
L3_1.pose_id = 101
|
|
L3_1.area_id = 17
|
|
L4_1 = {}
|
|
L4_1.config_id = 10007
|
|
L4_1.monster_id = 20060301
|
|
L5_1 = {}
|
|
L5_1.x = -3790.293
|
|
L5_1.y = 223.504
|
|
L5_1.z = -291.239
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 91.022
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.drop_id = 1000100
|
|
L4_1.pose_id = 101
|
|
L4_1.area_id = 17
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 10002
|
|
L2_1.gadget_id = 70330078
|
|
L3_1 = {}
|
|
L3_1.x = -3784.739
|
|
L3_1.y = 225.71
|
|
L3_1.z = -290.541
|
|
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 = 30
|
|
L2_1.area_id = 17
|
|
L3_1 = {}
|
|
L3_1.config_id = 10009
|
|
L3_1.gadget_id = 70330114
|
|
L4_1 = {}
|
|
L4_1.x = -3732.424
|
|
L4_1.y = 200.858
|
|
L4_1.z = -320.983
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 38.764
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 17
|
|
L4_1 = {}
|
|
L4_1.config_id = 10010
|
|
L4_1.gadget_id = 70330114
|
|
L5_1 = {}
|
|
L5_1.x = -3718.194
|
|
L5_1.y = 203.958
|
|
L5_1.z = -305.616
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 351.321
|
|
L5_1.y = 313.586
|
|
L5_1.z = 359.042
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.area_id = 17
|
|
L5_1 = {}
|
|
L5_1.config_id = 10011
|
|
L5_1.gadget_id = 70330114
|
|
L6_1 = {}
|
|
L6_1.x = -3733.988
|
|
L6_1.y = 217.737
|
|
L6_1.z = -293.019
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 321.109
|
|
L6_1.y = 286.357
|
|
L6_1.z = 2.19
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.area_id = 17
|
|
L6_1 = {}
|
|
L6_1.config_id = 10012
|
|
L6_1.gadget_id = 70330114
|
|
L7_1 = {}
|
|
L7_1.x = -3755.014
|
|
L7_1.y = 221.915
|
|
L7_1.z = -289.142
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 336.179
|
|
L7_1.y = 263.719
|
|
L7_1.z = 356.322
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 17
|
|
L7_1 = {}
|
|
L7_1.config_id = 10014
|
|
L7_1.gadget_id = 70330114
|
|
L8_1 = {}
|
|
L8_1.x = -3745.436
|
|
L8_1.y = 200.858
|
|
L8_1.z = -322.878
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 77.677
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.area_id = 17
|
|
L8_1 = {}
|
|
L8_1.config_id = 10015
|
|
L8_1.gadget_id = 70330114
|
|
L9_1 = {}
|
|
L9_1.x = -3769.025
|
|
L9_1.y = 228.155
|
|
L9_1.z = -290.828
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 336.809
|
|
L9_1.y = 271.274
|
|
L9_1.z = 353.305
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 17
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1010004
|
|
L2_1.name = "VARIABLE_CHANGE_10004"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_VARIABLE_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_VARIABLE_CHANGE_10004"
|
|
L2_1.action = "action_EVENT_VARIABLE_CHANGE_10004"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1010005
|
|
L3_1.name = "ANY_GADGET_DIE_10005"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_10005"
|
|
L3_1.action = "action_EVENT_ANY_GADGET_DIE_10005"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1010008
|
|
L4_1.name = "GROUP_LOAD_10008"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GROUP_LOAD
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GROUP_LOAD_10008"
|
|
L4_1.action = "action_EVENT_GROUP_LOAD_10008"
|
|
L4_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "QuestStart"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L1_1[1] = L2_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 10003
|
|
L3_1.gadget_id = 70330077
|
|
L4_1 = {}
|
|
L4_1.x = -3759.254
|
|
L4_1.y = 202.063
|
|
L4_1.z = -325.634
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 190.14
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 17
|
|
L2_1[1] = L3_1
|
|
L1_1.gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1010013
|
|
L3_1.name = "GROUP_LOAD_10013"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GROUP_LOAD
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_GROUP_LOAD_10013"
|
|
L3_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L1_1.triggers = L2_1
|
|
garbages = L1_1
|
|
L1_1 = {}
|
|
L1_1.io_type = 1
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "VARIABLE_CHANGE_10004"
|
|
L5_1 = "GROUP_LOAD_10008"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "QuestStart"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[1] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 10002
|
|
L4_1.state = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 10009
|
|
L5_1.state = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 10010
|
|
L6_1.state = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 10011
|
|
L7_1.state = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 10012
|
|
L8_1.state = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 10014
|
|
L9_1.state = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 10015
|
|
L10_1.state = 0
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L3_1[5] = L8_1
|
|
L3_1[6] = L9_1
|
|
L3_1[7] = L10_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_GADGET_DIE_10005"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "QuestStart"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[2] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 10001
|
|
L5_1 = {}
|
|
L5_1.config_id = 10006
|
|
L6_1 = {}
|
|
L6_1.config_id = 10007
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "QuestStart"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[3] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "QuestStart"
|
|
L4_1.value = 2
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[4] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "QuestStart"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[5] = L2_1
|
|
suite_disk = 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 = {}
|
|
L4_1 = "VARIABLE_CHANGE_10004"
|
|
L5_1 = "GROUP_LOAD_10008"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 10002
|
|
L6_1 = 10009
|
|
L7_1 = 10010
|
|
L8_1 = 10011
|
|
L9_1 = 10012
|
|
L10_1 = 10014
|
|
L11_1 = 10015
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_GADGET_DIE_10005"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 10001
|
|
L7_1 = 10006
|
|
L8_1 = 10007
|
|
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 = {}
|
|
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
|
|
L6_1 = {}
|
|
L7_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, 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 = "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_VARIABLE_CHANGE_10004 = 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.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_10004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 10002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_10005 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "QuestStart"
|
|
L5_2 = 2
|
|
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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 10009
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 10010
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 10011
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 10012
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 10014
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 10015
|
|
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 : remove_gadget_by_configid"
|
|
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 = "7214506"
|
|
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.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 32100153
|
|
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.AddExtraFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = 3
|
|
L6_2 = FlowSuiteOperatePolicy
|
|
L6_2 = L6_2.DEFAULT
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_10005 = L1_1
|
|
function L1_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 = "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_GROUP_LOAD_10008 = 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.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133210010
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_10008 = L1_1
|