mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
423 lines
8.0 KiB
Lua
423 lines
8.0 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133225138
|
|
L1_1 = {}
|
|
L1_1.group_id = 133225138
|
|
L1_1.isRandom = false
|
|
L2_1 = {}
|
|
L1_1.child_group = L2_1
|
|
L1_1.notifyQuest = true
|
|
L1_1.hasChild = false
|
|
L1_1.selfSuiteId = 2
|
|
L1_1.hasMultiStatues = false
|
|
L2_1 = {}
|
|
L2_1[10001] = 2
|
|
L1_1.statuesMap = L2_1
|
|
defs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 138005
|
|
L2_1.monster_id = 20010601
|
|
L3_1 = {}
|
|
L3_1.x = -6407.194
|
|
L3_1.y = 256.984
|
|
L3_1.z = -2593.716
|
|
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 = 33
|
|
L2_1.drop_id = 1000100
|
|
L2_1.climate_area_id = 7
|
|
L2_1.area_id = 18
|
|
L3_1 = {}
|
|
L3_1.config_id = 138006
|
|
L3_1.monster_id = 20010601
|
|
L4_1 = {}
|
|
L4_1.x = -6410.01
|
|
L4_1.y = 257.104
|
|
L4_1.z = -2590.861
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 83.007
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 33
|
|
L3_1.drop_id = 1000100
|
|
L3_1.climate_area_id = 7
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 138009
|
|
L4_1.monster_id = 20010501
|
|
L5_1 = {}
|
|
L5_1.x = -6407.456
|
|
L5_1.y = 257.24
|
|
L5_1.z = -2590.633
|
|
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 = 33
|
|
L4_1.drop_id = 1000100
|
|
L4_1.climate_area_id = 7
|
|
L4_1.area_id = 18
|
|
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 = 138001
|
|
L2_1.gadget_id = 70290160
|
|
L3_1 = {}
|
|
L3_1.x = -6407.497
|
|
L3_1.y = 256.897
|
|
L3_1.z = -2588.33
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 357.744
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 33
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.GearStart
|
|
L2_1.state = L3_1
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 18
|
|
L3_1 = {}
|
|
L3_1.config_id = 138002
|
|
L3_1.gadget_id = 70310153
|
|
L4_1 = {}
|
|
L4_1.x = -6406.265
|
|
L4_1.y = 256.86
|
|
L4_1.z = -2589.85
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 333.055
|
|
L4_1.y = 260.169
|
|
L4_1.z = 5.19
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 33
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 138003
|
|
L4_1.gadget_id = 70330137
|
|
L5_1 = {}
|
|
L5_1.x = -6403.146
|
|
L5_1.y = 257.078
|
|
L5_1.z = -2591.483
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 356.726
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 33
|
|
L4_1.persistent = true
|
|
L4_1.interact_id = 35
|
|
L4_1.area_id = 18
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1138004
|
|
L2_1.name = "VARIABLE_CHANGE_138004"
|
|
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_138004"
|
|
L2_1.action = "action_EVENT_VARIABLE_CHANGE_138004"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1138008
|
|
L3_1.name = "GADGET_STATE_CHANGE_138008"
|
|
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_138008"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_138008"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1138010
|
|
L4_1.name = "GROUP_LOAD_138010"
|
|
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_138010"
|
|
L4_1.action = "action_EVENT_GROUP_LOAD_138010"
|
|
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 = "Seed"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "Notified"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L4_1 = {}
|
|
L4_1.configId = 3
|
|
L4_1.name = "Finish"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 138007
|
|
L3_1.monster_id = 22050201
|
|
L4_1 = {}
|
|
L4_1.x = -6411.286
|
|
L4_1.y = 256.733
|
|
L4_1.z = -2596.774
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 30.409
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 33
|
|
L3_1.drop_tag = "\229\133\189\229\162\131\231\140\142\231\138\172"
|
|
L3_1.pose_id = 101
|
|
L3_1.climate_area_id = 7
|
|
L3_1.area_id = 18
|
|
L2_1[1] = L3_1
|
|
L1_1.monsters = L2_1
|
|
garbages = L1_1
|
|
L1_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.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 138001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "VARIABLE_CHANGE_138004"
|
|
L5_1 = "GADGET_STATE_CHANGE_138008"
|
|
L6_1 = "GROUP_LOAD_138010"
|
|
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 = 138002
|
|
L6_1 = 138003
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_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 = {}
|
|
L6_1 = 138005
|
|
L7_1 = 138006
|
|
L8_1 = 138009
|
|
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
|
|
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, 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 = "Notified"
|
|
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_138004 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133225138
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_138004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 138002 == 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_138008 = 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.ChangeGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "progress"
|
|
L5_2 = 1
|
|
L6_2 = 133223291
|
|
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 : change_GroupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
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_GADGET_STATE_CHANGE_138008 = L1_1
|
|
function L1_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 = 133225138
|
|
L6_2 = 138002
|
|
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 = "Finish"
|
|
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_GROUP_LOAD_138010 = 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.ChangeGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "progress"
|
|
L5_2 = 1
|
|
L6_2 = 133223291
|
|
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 : change_GroupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
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_GROUP_LOAD_138010 = L1_1
|
|
L1_1 = require
|
|
L2_1 = "V2_2/TsurumiBirdFather"
|
|
L1_1(L2_1)
|