mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
494 lines
9.9 KiB
Lua
494 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133107249
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 249005
|
|
L2_1.gadget_id = 70710690
|
|
L3_1 = {}
|
|
L3_1.x = -788.555
|
|
L3_1.y = 230.511
|
|
L3_1.z = 233.826
|
|
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
|
|
L2_1.drop_id = 1000100
|
|
L2_1.drop_count = 1
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 7
|
|
L3_1 = {}
|
|
L3_1.config_id = 249006
|
|
L3_1.gadget_id = 70710692
|
|
L4_1 = {}
|
|
L4_1.x = -793.985
|
|
L4_1.y = 231.529
|
|
L4_1.z = 233.87
|
|
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 = 1
|
|
L3_1.drop_id = 1000100
|
|
L3_1.drop_count = 1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 7
|
|
L4_1 = {}
|
|
L4_1.config_id = 249007
|
|
L4_1.gadget_id = 70310004
|
|
L5_1 = {}
|
|
L5_1.x = -793.953
|
|
L5_1.y = 231.498
|
|
L5_1.z = 233.823
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 352.702
|
|
L5_1.y = 303.614
|
|
L5_1.z = 346.616
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_id = 1000100
|
|
L4_1.drop_count = 1
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 7
|
|
L5_1 = {}
|
|
L5_1.config_id = 249008
|
|
L5_1.gadget_id = 70710691
|
|
L6_1 = {}
|
|
L6_1.x = -792.369
|
|
L6_1.y = 230.938
|
|
L6_1.z = 235.879
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_id = 1000100
|
|
L5_1.drop_count = 1
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 7
|
|
L6_1 = {}
|
|
L6_1.config_id = 249009
|
|
L6_1.gadget_id = 70710717
|
|
L7_1 = {}
|
|
L7_1.x = -792.575
|
|
L7_1.y = 233.004
|
|
L7_1.z = 225.721
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 12.702
|
|
L7_1.y = 356.513
|
|
L7_1.z = 351.422
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_id = 1000100
|
|
L6_1.drop_count = 1
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 7
|
|
L7_1 = {}
|
|
L7_1.config_id = 249011
|
|
L7_1.gadget_id = 70220001
|
|
L8_1 = {}
|
|
L8_1.x = -792.575
|
|
L8_1.y = 233.004
|
|
L8_1.z = 225.721
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 12.702
|
|
L8_1.y = 356.513
|
|
L8_1.z = 351.422
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_id = 1000100
|
|
L7_1.drop_count = 1
|
|
L7_1.area_id = 7
|
|
L8_1 = {}
|
|
L8_1.config_id = 249014
|
|
L8_1.gadget_id = 70710682
|
|
L9_1 = {}
|
|
L9_1.x = -792.575
|
|
L9_1.y = 233.004
|
|
L9_1.z = 225.721
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 12.702
|
|
L9_1.y = 356.513
|
|
L9_1.z = 351.422
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_id = 1000100
|
|
L8_1.drop_count = 1
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 7
|
|
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 = 1249002
|
|
L2_1.name = "GADGETTALK_DONE_249002"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GADGETTALK_DONE
|
|
L2_1.event = L3_1
|
|
L2_1.source = "1101929"
|
|
L2_1.condition = ""
|
|
L2_1.action = "action_EVENT_GADGETTALK_DONE_249002"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1249003
|
|
L3_1.name = "GADGETTALK_DONE_249003"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGETTALK_DONE
|
|
L3_1.event = L4_1
|
|
L3_1.source = "1101926"
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_GADGETTALK_DONE_249003"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1249012
|
|
L4_1.name = "GADGETTALK_DONE_249012"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGETTALK_DONE
|
|
L4_1.event = L5_1
|
|
L4_1.source = "1101928"
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_GADGETTALK_DONE_249012"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1249013
|
|
L5_1.name = "ANY_GADGET_DIE_249013"
|
|
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_249013"
|
|
L5_1.action = "action_EVENT_ANY_GADGET_DIE_249013"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1249015
|
|
L6_1.name = "GADGETTALK_DONE_249015"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_GADGETTALK_DONE
|
|
L6_1.event = L7_1
|
|
L6_1.source = "1101925"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_GADGETTALK_DONE_249015"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1249016
|
|
L7_1.name = "GADGETTALK_DONE_249016"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGETTALK_DONE
|
|
L7_1.event = L8_1
|
|
L7_1.source = "1101927"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_GADGETTALK_DONE_249016"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1249017
|
|
L8_1.name = "ANY_GADGET_DIE_249017"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_ANY_GADGET_DIE
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_ANY_GADGET_DIE_249017"
|
|
L8_1.action = "action_EVENT_ANY_GADGET_DIE_249017"
|
|
L8_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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "Leaftalkfinish"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L1_1[1] = L2_1
|
|
variables = 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 = 249005
|
|
L5_1 = 249006
|
|
L6_1 = 249007
|
|
L7_1 = 249008
|
|
L8_1 = 249011
|
|
L9_1 = 249014
|
|
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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGETTALK_DONE_249002"
|
|
L5_1 = "GADGETTALK_DONE_249003"
|
|
L6_1 = "GADGETTALK_DONE_249012"
|
|
L7_1 = "ANY_GADGET_DIE_249013"
|
|
L8_1 = "GADGETTALK_DONE_249015"
|
|
L9_1 = "GADGETTALK_DONE_249016"
|
|
L10_1 = "ANY_GADGET_DIE_249017"
|
|
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.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 249009
|
|
L4_1[1] = L5_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
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
suites = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133107249
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 249014
|
|
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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Leaftalkfinish"
|
|
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_GADGETTALK_DONE_249002 = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133107249
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 249009
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGETTALK_DONE_249003 = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133107249
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 249006
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGETTALK_DONE_249012 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 249011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_249013 = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133107249
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 249014
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_249013 = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133107249
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 249005
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGETTALK_DONE_249015 = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133107249
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 249008
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGETTALK_DONE_249016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if 249011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "Leaftalkfinish"
|
|
L5_2 = 133107249
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_249017 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 249009
|
|
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 : create_gadget"
|
|
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_249017 = L1_1
|