mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
540 lines
10 KiB
Lua
540 lines
10 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133105134
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 232
|
|
L2_1.monster_id = 22010101
|
|
L3_1 = {}
|
|
L3_1.x = 1029.83
|
|
L3_1.y = 209.342
|
|
L3_1.z = 24.153
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 3.102
|
|
L3_1.y = 341.014
|
|
L3_1.z = 357.646
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 19
|
|
L2_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L2_1.pose_id = 9013
|
|
L2_1.area_id = 9
|
|
L3_1 = {}
|
|
L3_1.config_id = 234
|
|
L3_1.monster_id = 20011201
|
|
L4_1 = {}
|
|
L4_1.x = 1026.292
|
|
L4_1.y = 209.817
|
|
L4_1.z = 25.211
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 3.255
|
|
L4_1.y = 344.898
|
|
L4_1.z = 357.862
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 19
|
|
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 235
|
|
L4_1.monster_id = 20011201
|
|
L5_1 = {}
|
|
L5_1.x = 1031.974
|
|
L5_1.y = 208.959
|
|
L5_1.z = 27.222
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 3.255
|
|
L5_1.y = 344.898
|
|
L5_1.z = 357.862
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 19
|
|
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 236
|
|
L5_1.monster_id = 20011201
|
|
L6_1 = {}
|
|
L6_1.x = 1033.139
|
|
L6_1.y = 209.261
|
|
L6_1.z = 22.605
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 2.377
|
|
L6_1.y = 70.641
|
|
L6_1.z = 3.084
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 19
|
|
L5_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 237
|
|
L6_1.monster_id = 20011201
|
|
L7_1 = {}
|
|
L7_1.x = 1027.754
|
|
L7_1.y = 210.045
|
|
L7_1.z = 20.761
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 357.35
|
|
L7_1.y = 245.383
|
|
L7_1.z = 357.147
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 19
|
|
L6_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L6_1.area_id = 9
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 330
|
|
L2_1.gadget_id = 70300107
|
|
L3_1 = {}
|
|
L3_1.x = 1032.247
|
|
L3_1.y = 207.711
|
|
L3_1.z = 22.603
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 3.718
|
|
L3_1.y = 35.549
|
|
L3_1.z = 1.158
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 25
|
|
L2_1.area_id = 9
|
|
L3_1 = {}
|
|
L3_1.config_id = 331
|
|
L3_1.gadget_id = 70300107
|
|
L4_1 = {}
|
|
L4_1.x = 1028.481
|
|
L4_1.y = 208.274
|
|
L4_1.z = 21.303
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 358.442
|
|
L4_1.y = 264.667
|
|
L4_1.z = 356.432
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 25
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 332
|
|
L4_1.gadget_id = 70300107
|
|
L5_1 = {}
|
|
L5_1.x = 1031.23
|
|
L5_1.y = 207.45
|
|
L5_1.z = 26.332
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 1.289
|
|
L5_1.y = 307.537
|
|
L5_1.z = 356.326
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 25
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 333
|
|
L5_1.gadget_id = 70300085
|
|
L6_1 = {}
|
|
L6_1.x = 1029.791
|
|
L6_1.y = 207.686
|
|
L6_1.z = 23.874
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 10.789
|
|
L6_1.y = 69.105
|
|
L6_1.z = 3.432
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 25
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 334
|
|
L6_1.gadget_id = 70300107
|
|
L7_1 = {}
|
|
L7_1.x = 1026.967
|
|
L7_1.y = 208.071
|
|
L7_1.z = 24.477
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 356.88
|
|
L7_1.y = 235.023
|
|
L7_1.z = 357.669
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 25
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 335
|
|
L7_1.gadget_id = 70211111
|
|
L8_1 = {}
|
|
L8_1.x = 1029.78
|
|
L8_1.y = 208.145
|
|
L8_1.z = 23.968
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 4.793
|
|
L8_1.y = 344.732
|
|
L8_1.z = 349.809
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 21
|
|
L7_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\146\131\230\156\136"
|
|
L7_1.showcutscene = true
|
|
L7_1.isOneoff = true
|
|
L7_1.persistent = true
|
|
L8_1 = {}
|
|
L8_1.name = "chest"
|
|
L8_1.exp = 1
|
|
L7_1.explore = L8_1
|
|
L7_1.area_id = 9
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1000170
|
|
L2_1.name = "GADGET_STATE_CHANGE_170"
|
|
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_170"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_170"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000171
|
|
L3_1.name = "GADGET_STATE_CHANGE_171"
|
|
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_171"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_171"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000172
|
|
L4_1.name = "GADGET_STATE_CHANGE_172"
|
|
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_172"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_172"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1000173
|
|
L5_1.name = "GADGET_STATE_CHANGE_173"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_173"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_173"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1000174
|
|
L6_1.name = "ANY_MONSTER_DIE_174"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_174"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1000175
|
|
L7_1.name = "ANY_MONSTER_DIE_175"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_175"
|
|
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_175"
|
|
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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "num"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
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 = 330
|
|
L5_1 = 331
|
|
L6_1 = 332
|
|
L7_1 = 333
|
|
L8_1 = 334
|
|
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 = "GADGET_STATE_CHANGE_170"
|
|
L5_1 = "GADGET_STATE_CHANGE_171"
|
|
L6_1 = "GADGET_STATE_CHANGE_172"
|
|
L7_1 = "GADGET_STATE_CHANGE_173"
|
|
L8_1 = "ANY_MONSTER_DIE_174"
|
|
L9_1 = "ANY_MONSTER_DIE_175"
|
|
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.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 330 == 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_170 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 236
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
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_170 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 331 == 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_171 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 237
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
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_171 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 332 == 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_172 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 235
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
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_172 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 334 == 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_173 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 234
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
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_173 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "num"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = L2_2 + 1
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetGroupVariableValue
|
|
L5_2 = A0_2
|
|
L6_2 = "num"
|
|
L7_2 = L3_2
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
if L3_2 == 4 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.CreateMonster
|
|
L5_2 = A0_2
|
|
L6_2 = {}
|
|
L6_2.config_id = 232
|
|
L6_2.delay_time = 0
|
|
L4_2 = L4_2(L5_2, L6_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_174 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 232 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_175 = 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 = 335
|
|
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_MONSTER_DIE_175 = L1_1
|