mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
491 lines
8.9 KiB
Lua
491 lines
8.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, L16_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 111101019
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 19001
|
|
L2_1.gadget_id = 70900039
|
|
L3_1 = {}
|
|
L3_1.x = 2542.263
|
|
L3_1.y = 219.065
|
|
L3_1.z = -1421.31
|
|
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 = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 19002
|
|
L3_1.gadget_id = 70900236
|
|
L4_1 = {}
|
|
L4_1.x = 2540.764
|
|
L4_1.y = 218.928
|
|
L4_1.z = -1418.327
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 2.683
|
|
L4_1.y = 0.042
|
|
L4_1.z = 1.79
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 19003
|
|
L4_1.gadget_id = 70900236
|
|
L5_1 = {}
|
|
L5_1.x = 2538.938
|
|
L5_1.y = 218.96
|
|
L5_1.z = -1420.181
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 2.683
|
|
L5_1.y = 0.042
|
|
L5_1.z = 1.79
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 19004
|
|
L5_1.gadget_id = 70900236
|
|
L6_1 = {}
|
|
L6_1.x = 2539.482
|
|
L6_1.y = 219.079
|
|
L6_1.z = -1423.283
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 2.683
|
|
L6_1.y = 0.042
|
|
L6_1.z = 1.79
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 19005
|
|
L6_1.gadget_id = 70900236
|
|
L7_1 = {}
|
|
L7_1.x = 2541.024
|
|
L7_1.y = 219.117
|
|
L7_1.z = -1424.464
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 2.683
|
|
L7_1.y = 0.042
|
|
L7_1.z = 1.79
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 19006
|
|
L7_1.gadget_id = 70900236
|
|
L8_1 = {}
|
|
L8_1.x = 2542.675
|
|
L8_1.y = 219.101
|
|
L8_1.z = -1424.805
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 2.683
|
|
L8_1.y = 0.042
|
|
L8_1.z = 1.79
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 19007
|
|
L8_1.gadget_id = 70900236
|
|
L9_1 = {}
|
|
L9_1.x = 2544.212
|
|
L9_1.y = 219.055
|
|
L9_1.z = -1423.961
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 2.683
|
|
L9_1.y = 0.042
|
|
L9_1.z = 1.79
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 19008
|
|
L9_1.gadget_id = 70900236
|
|
L10_1 = {}
|
|
L10_1.x = 2544.926
|
|
L10_1.y = 219.044
|
|
L10_1.z = -1422.025
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 2.683
|
|
L10_1.y = 0.042
|
|
L10_1.z = 1.79
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 19009
|
|
L10_1.gadget_id = 70900236
|
|
L11_1 = {}
|
|
L11_1.x = 2544.49
|
|
L11_1.y = 219.024
|
|
L11_1.z = -1419.981
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 2.683
|
|
L11_1.y = 0.042
|
|
L11_1.z = 1.79
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 19010
|
|
L11_1.gadget_id = 70900236
|
|
L12_1 = {}
|
|
L12_1.x = 2542.868
|
|
L12_1.y = 218.988
|
|
L12_1.z = -1418.39
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 2.683
|
|
L12_1.y = 0.042
|
|
L12_1.z = 1.79
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L12_1 = {}
|
|
L12_1.config_id = 19011
|
|
L12_1.gadget_id = 70900236
|
|
L13_1 = {}
|
|
L13_1.x = 2539.637
|
|
L13_1.y = 218.92
|
|
L13_1.z = -1418.919
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 2.683
|
|
L13_1.y = 0.042
|
|
L13_1.z = 1.79
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L13_1 = {}
|
|
L13_1.config_id = 19012
|
|
L13_1.gadget_id = 70900236
|
|
L14_1 = {}
|
|
L14_1.x = 2538.803
|
|
L14_1.y = 219.001
|
|
L14_1.z = -1421.558
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 2.683
|
|
L14_1.y = 0.042
|
|
L14_1.z = 1.79
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L14_1 = {}
|
|
L14_1.config_id = 19013
|
|
L14_1.gadget_id = 70900236
|
|
L15_1 = {}
|
|
L15_1.x = 2539.957
|
|
L15_1.y = 222.112
|
|
L15_1.z = -1425.237
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 2.683
|
|
L15_1.y = 0.042
|
|
L15_1.z = 1.79
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L15_1 = {}
|
|
L15_1.config_id = 19017
|
|
L15_1.gadget_id = 70900039
|
|
L16_1 = {}
|
|
L16_1.x = 2542.257
|
|
L16_1.y = 219.044
|
|
L16_1.z = -1421.294
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 0.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L16_1 = GadgetState
|
|
L16_1 = L16_1.GearStart
|
|
L15_1.state = L16_1
|
|
L15_1.persistent = true
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1019014
|
|
L2_1.name = "GADGET_STATE_CHANGE_19014"
|
|
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_19014"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_19014"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1019015
|
|
L3_1.name = "ANY_GADGET_DIE_19015"
|
|
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_19015"
|
|
L3_1.action = "action_EVENT_ANY_GADGET_DIE_19015"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1019016
|
|
L4_1.name = "TIMER_EVENT_19016"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_TIMER_EVENT
|
|
L4_1.event = L5_1
|
|
L4_1.source = "COIN"
|
|
L4_1.condition = "condition_EVENT_TIMER_EVENT_19016"
|
|
L4_1.action = "action_EVENT_TIMER_EVENT_19016"
|
|
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 = {}
|
|
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 = 19001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_19014"
|
|
L5_1 = "ANY_GADGET_DIE_19015"
|
|
L6_1 = "TIMER_EVENT_19016"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 19002
|
|
L6_1 = 19003
|
|
L7_1 = 19004
|
|
L8_1 = 19005
|
|
L9_1 = 19006
|
|
L10_1 = 19007
|
|
L11_1 = 19008
|
|
L12_1 = 19009
|
|
L13_1 = 19010
|
|
L14_1 = 19011
|
|
L15_1 = 19012
|
|
L16_1 = 19013
|
|
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
|
|
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 = {}
|
|
L6_1 = 19017
|
|
L5_1[1] = L6_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 19001 == 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_19014 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101019
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101019
|
|
L5_2 = "COIN"
|
|
L6_2 = 9
|
|
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 : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "start"
|
|
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 : change_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_19014 = 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 = "start"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CheckRemainGadgetCountByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 111101019
|
|
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_ANY_GADGET_DIE_19015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 20010102
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_19015 = 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 = "start"
|
|
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_TIMER_EVENT_19016 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "start"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101019
|
|
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 = 19001
|
|
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_TIMER_EVENT_19016 = L1_1
|