mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
511 lines
9.2 KiB
Lua
511 lines
9.2 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 = 133213529
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 529001
|
|
L2_1.monster_id = 28020801
|
|
L3_1 = {}
|
|
L3_1.x = -3008.949
|
|
L3_1.y = 201.458
|
|
L3_1.z = -3244.222
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 1.667
|
|
L3_1.y = 120.769
|
|
L3_1.z = 353.727
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 27
|
|
L2_1.drop_tag = "\232\181\176\229\133\189"
|
|
L2_1.pose_id = 1
|
|
L2_1.area_id = 12
|
|
L1_1[1] = L2_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 529002
|
|
L2_1.gadget_id = 70360277
|
|
L3_1 = {}
|
|
L3_1.x = -3004.872
|
|
L3_1.y = 201.415
|
|
L3_1.z = -3244.704
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 354.644
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.mark_flag = 101
|
|
L2_1.area_id = 12
|
|
L3_1 = {}
|
|
L3_1.config_id = 529003
|
|
L3_1.gadget_id = 70360273
|
|
L4_1 = {}
|
|
L4_1.x = -2989.141
|
|
L4_1.y = 201.387
|
|
L4_1.z = -3243.133
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.108
|
|
L4_1.y = 0.206
|
|
L4_1.z = 359.102
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.mark_flag = 1
|
|
L3_1.area_id = 12
|
|
L4_1 = {}
|
|
L4_1.config_id = 529004
|
|
L4_1.gadget_id = 70360273
|
|
L5_1 = {}
|
|
L5_1.x = -2991.752
|
|
L5_1.y = 202.145
|
|
L5_1.z = -3230.901
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 358.326
|
|
L5_1.y = 0.496
|
|
L5_1.z = 346.8
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.mark_flag = 2
|
|
L4_1.area_id = 12
|
|
L5_1 = {}
|
|
L5_1.config_id = 529005
|
|
L5_1.gadget_id = 70360274
|
|
L6_1 = {}
|
|
L6_1.x = -2967.26
|
|
L6_1.y = 201.102
|
|
L6_1.z = -3216.98
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 273.004
|
|
L6_1.y = 201.1
|
|
L6_1.z = 22.444
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.mark_flag = 4
|
|
L5_1.area_id = 12
|
|
L6_1 = {}
|
|
L6_1.config_id = 529006
|
|
L6_1.gadget_id = 70220051
|
|
L7_1 = {}
|
|
L7_1.x = -2967.26
|
|
L7_1.y = 201.102
|
|
L7_1.z = -3216.98
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 1.622
|
|
L7_1.y = 262.953
|
|
L7_1.z = 58.242
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 12
|
|
L7_1 = {}
|
|
L7_1.config_id = 529007
|
|
L7_1.gadget_id = 70210101
|
|
L8_1 = {}
|
|
L8_1.x = -2967.26
|
|
L8_1.y = 201.102
|
|
L8_1.z = -3216.98
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 287.912
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 26
|
|
L7_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\233\129\151\231\137\169\231\168\187\229\166\187"
|
|
L7_1.area_id = 12
|
|
L8_1 = {}
|
|
L8_1.config_id = 529008
|
|
L8_1.gadget_id = 70360276
|
|
L9_1 = {}
|
|
L9_1.x = -2967.26
|
|
L9_1.y = 201.102
|
|
L9_1.z = -3216.98
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 12
|
|
L9_1 = {}
|
|
L9_1.config_id = 529011
|
|
L9_1.gadget_id = 70360273
|
|
L10_1 = {}
|
|
L10_1.x = -2973.454
|
|
L10_1.y = 200.655
|
|
L10_1.z = -3229.719
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 356.424
|
|
L10_1.y = 0.717
|
|
L10_1.z = 359.955
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 27
|
|
L9_1.mark_flag = 3
|
|
L9_1.area_id = 12
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1529009
|
|
L2_1.name = "ANY_MONSTER_DIE_529009"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_529009"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_529009"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1529010
|
|
L3_1.name = "ANY_GADGET_DIE_529010"
|
|
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_529010"
|
|
L3_1.action = "action_EVENT_ANY_GADGET_DIE_529010"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1529012
|
|
L4_1.name = "GADGET_STATE_CHANGE_529012"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_529012"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_529012"
|
|
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.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 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 529002
|
|
L4_1.state = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 529003
|
|
L5_1.state = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 529004
|
|
L6_1.state = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 529005
|
|
L7_1.state = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 529011
|
|
L8_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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 529001
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_529009"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L2_1.variables = L3_1
|
|
L1_1[1] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 529006
|
|
L4_1.state = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 529008
|
|
L5_1.state = 0
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_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_529010"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L2_1.variables = L3_1
|
|
L1_1[2] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 529007
|
|
L4_1.state = 0
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_529012"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_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 = {}
|
|
L2_1.variables = L3_1
|
|
L1_1[4] = L2_1
|
|
suite_disk = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = 529001
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 529002
|
|
L5_1 = 529003
|
|
L6_1 = 529004
|
|
L7_1 = 529005
|
|
L8_1 = 529011
|
|
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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_529009"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 529006
|
|
L6_1 = 529008
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_GADGET_DIE_529010"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 529007
|
|
L5_1[1] = L6_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "GADGET_STATE_CHANGE_529012"
|
|
L5_1[1] = L6_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
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param2
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_529009 = 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.AddExtraFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133213529
|
|
L5_2 = 2
|
|
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 = 133213529
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_529009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 529006 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_529010 = 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.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 6016
|
|
L5_2 = 3
|
|
L6_2 = 1
|
|
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 : mark_playerAction"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 529008
|
|
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 : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 529006
|
|
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 : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133213529
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133213529
|
|
L5_2 = 3
|
|
L6_2 = FlowSuiteOperatePolicy
|
|
L6_2 = L6_2.COMPLETE
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_529010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 529007 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestOpened
|
|
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_529012 = 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.SetFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133213529
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_529012 = L1_1
|