mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
493 lines
9.9 KiB
Lua
493 lines
9.9 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 155006187
|
|
L1_1 = {}
|
|
L1_1.group_ID = 155006187
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 187004
|
|
L5_1[1] = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 187003
|
|
L6_1[1] = L7_1
|
|
L7_1 = {}
|
|
function L8_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L7_1["0"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.AddExtraGroupSuite
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 2
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
end
|
|
L7_1["1"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.AddExtraGroupSuite
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 3
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
end
|
|
L7_1["2"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.AddExtraGroupSuite
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 4
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetGroupGadgetStateByConfigId
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 187003
|
|
L5_2 = 201
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.AddQuestProgress
|
|
L2_2 = A0_2
|
|
L3_2 = "72244_PutOrbIntoWater"
|
|
L1_2(L2_2, L3_2)
|
|
end
|
|
L7_1["3"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.AddExtraGroupSuite
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 4
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetGroupGadgetStateByConfigId
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 187003
|
|
L5_2 = 201
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
end
|
|
L7_1["4"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.AddExtraGroupSuite
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 4
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetGroupGadgetStateByConfigId
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.group_ID
|
|
L4_2 = 187003
|
|
L5_2 = 201
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
end
|
|
L7_1["5"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.GetGroupVariableValue
|
|
L2_2 = A0_2
|
|
L3_2 = "gameplayState"
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
L2_2 = tostring
|
|
L3_2 = L1_2
|
|
L2_2 = L2_2(L3_2)
|
|
L2_2 = L7_1[L2_2]
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
end
|
|
UpdateGamePlayState = L8_1
|
|
L8_1 = {}
|
|
monsters = L8_1
|
|
L8_1 = {}
|
|
npcs = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L9_1.config_id = 187003
|
|
L9_1.gadget_id = 70360341
|
|
L10_1 = {}
|
|
L10_1.x = 248.448
|
|
L10_1.y = 145.193
|
|
L10_1.z = -286.688
|
|
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 = 36
|
|
L9_1.persistent = true
|
|
L9_1.area_id = 200
|
|
L10_1 = {}
|
|
L10_1.config_id = 187005
|
|
L10_1.gadget_id = 70360349
|
|
L11_1 = {}
|
|
L11_1.x = 248.273
|
|
L11_1.y = 144.598
|
|
L11_1.z = -286.576
|
|
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 = 36
|
|
L10_1.interact_id = 71
|
|
L10_1.area_id = 200
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
gadgets = L8_1
|
|
L8_1 = {}
|
|
regions = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L9_1.config_id = 1187001
|
|
L9_1.name = "GROUP_LOAD_187001"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_GROUP_LOAD
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_GROUP_LOAD_187001"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1187002
|
|
L10_1.name = "VARIABLE_CHANGE_187002"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_VARIABLE_CHANGE
|
|
L10_1.event = L11_1
|
|
L10_1.source = "gameplayState"
|
|
L10_1.condition = ""
|
|
L10_1.action = "action_EVENT_VARIABLE_CHANGE_187002"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1187006
|
|
L11_1.name = "QUEST_START_187006"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_QUEST_START
|
|
L11_1.event = L12_1
|
|
L11_1.source = "7224413"
|
|
L11_1.condition = "condition_EVENT_QUEST_START_187006"
|
|
L11_1.action = "action_EVENT_QUEST_START_187006"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1187007
|
|
L12_1.name = "QUEST_START_187007"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_QUEST_START
|
|
L12_1.event = L13_1
|
|
L12_1.source = "7224416"
|
|
L12_1.condition = "condition_EVENT_QUEST_START_187007"
|
|
L12_1.action = "action_EVENT_QUEST_START_187007"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1187008
|
|
L13_1.name = "GADGET_STATE_CHANGE_187008"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_187008"
|
|
L13_1.action = "action_EVENT_GADGET_STATE_CHANGE_187008"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1187009
|
|
L14_1.name = "QUEST_START_187009"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_QUEST_START
|
|
L14_1.event = L15_1
|
|
L14_1.source = "7224425"
|
|
L14_1.condition = "condition_EVENT_QUEST_START_187009"
|
|
L14_1.action = "action_EVENT_QUEST_START_187009"
|
|
L14_1.trigger_count = 0
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L8_1[4] = L12_1
|
|
L8_1[5] = L13_1
|
|
L8_1[6] = L14_1
|
|
triggers = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L9_1.configId = 1
|
|
L9_1.name = "gameplayState"
|
|
L9_1.value = 0
|
|
L9_1.no_refresh = true
|
|
L8_1[1] = L9_1
|
|
variables = L8_1
|
|
L8_1 = {}
|
|
L8_1.suite = 1
|
|
L8_1.end_suite = 0
|
|
L8_1.rand_suite = false
|
|
init_config = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L10_1 = {}
|
|
L9_1.monsters = L10_1
|
|
L10_1 = {}
|
|
L9_1.gadgets = L10_1
|
|
L10_1 = {}
|
|
L9_1.regions = L10_1
|
|
L10_1 = {}
|
|
L11_1 = "GROUP_LOAD_187001"
|
|
L12_1 = "VARIABLE_CHANGE_187002"
|
|
L13_1 = "QUEST_START_187006"
|
|
L14_1 = "QUEST_START_187007"
|
|
L15_1 = "QUEST_START_187009"
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L10_1[4] = L14_1
|
|
L10_1[5] = L15_1
|
|
L9_1.triggers = L10_1
|
|
L9_1.rand_weight = 100
|
|
L10_1 = {}
|
|
L11_1 = {}
|
|
L10_1.monsters = L11_1
|
|
L11_1 = {}
|
|
L12_1 = 187003
|
|
L11_1[1] = L12_1
|
|
L10_1.gadgets = L11_1
|
|
L11_1 = {}
|
|
L10_1.regions = L11_1
|
|
L11_1 = {}
|
|
L10_1.triggers = L11_1
|
|
L10_1.rand_weight = 100
|
|
L11_1 = {}
|
|
L12_1 = {}
|
|
L11_1.monsters = L12_1
|
|
L12_1 = {}
|
|
L13_1 = 187003
|
|
L14_1 = 187005
|
|
L12_1[1] = L13_1
|
|
L12_1[2] = L14_1
|
|
L11_1.gadgets = L12_1
|
|
L12_1 = {}
|
|
L11_1.regions = L12_1
|
|
L12_1 = {}
|
|
L13_1 = "GADGET_STATE_CHANGE_187008"
|
|
L12_1[1] = L13_1
|
|
L11_1.triggers = L12_1
|
|
L11_1.rand_weight = 100
|
|
L12_1 = {}
|
|
L13_1 = {}
|
|
L12_1.monsters = L13_1
|
|
L13_1 = {}
|
|
L14_1 = 187003
|
|
L13_1[1] = L14_1
|
|
L12_1.gadgets = L13_1
|
|
L13_1 = {}
|
|
L12_1.regions = L13_1
|
|
L13_1 = {}
|
|
L12_1.triggers = L13_1
|
|
L12_1.rand_weight = 100
|
|
L13_1 = {}
|
|
L14_1 = {}
|
|
L13_1.monsters = L14_1
|
|
L14_1 = {}
|
|
L15_1 = 187003
|
|
L14_1[1] = L15_1
|
|
L13_1.gadgets = L14_1
|
|
L14_1 = {}
|
|
L13_1.regions = L14_1
|
|
L14_1 = {}
|
|
L13_1.triggers = L14_1
|
|
L13_1.rand_weight = 100
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L8_1[4] = L12_1
|
|
L8_1[5] = L13_1
|
|
suites = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = UpdateGamePlayState
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_187001 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = UpdateGamePlayState
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_187002 = L8_1
|
|
function L8_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 = "gameplayState"
|
|
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_QUEST_START_187006 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "gameplayState"
|
|
L5_2 = 1
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_187006 = L8_1
|
|
function L8_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 = "gameplayState"
|
|
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_QUEST_START_187007 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "gameplayState"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_187007 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 155006187
|
|
L6_2 = 187005
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
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 = "gameplayState"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_187008 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "gameplayState"
|
|
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 : set_groupVariable"
|
|
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_187008 = L8_1
|
|
function L8_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 = "gameplayState"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_QUEST_START_187009 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "gameplayState"
|
|
L5_2 = 4
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_187009 = L8_1
|