Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133004221.lua
2022-04-29 16:40:51 +02:00

607 lines
11 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
L0_1 = {}
L0_1.group_id = 133004221
L1_1 = {}
L2_1 = {}
L2_1.config_id = 569
L2_1.monster_id = 21030101
L3_1 = {}
L3_1.x = 2286.464
L3_1.y = 241.3
L3_1.z = -471.041
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 154.286
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L2_1.disableWander = true
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 570
L3_1.monster_id = 20011001
L4_1 = {}
L4_1.x = 2289.182
L4_1.y = 241.84
L4_1.z = -470.847
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 207.251
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L3_1.disableWander = true
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 571
L4_1.monster_id = 21010101
L5_1 = {}
L5_1.x = 2288.964
L5_1.y = 241.619
L5_1.z = -474.132
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 319.599
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L4_1.disableWander = true
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 572
L5_1.monster_id = 21010101
L6_1 = {}
L6_1.x = 2285.953
L6_1.y = 241.039
L6_1.z = -474.057
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 40.647
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 221003
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = 2272.901
L7_1.y = 238.517
L7_1.z = -473.894
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 77.046
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 15
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.pose_id = 9013
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 221004
L7_1.monster_id = 21010301
L8_1 = {}
L8_1.x = 2274.732
L8_1.y = 238.961
L8_1.z = -470.232
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 150.52
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 15
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.pose_id = 9013
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 221005
L8_1.monster_id = 21010201
L9_1 = {}
L9_1.x = 2277.514
L9_1.y = 239.552
L9_1.z = -469.743
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 196.975
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 15
L8_1.drop_id = 1000100
L8_1.disableWander = true
L8_1.pose_id = 9013
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 221006
L9_1.monster_id = 21020201
L10_1 = {}
L10_1.x = 2270.806
L10_1.y = 238.684
L10_1.z = -465.577
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 145.892
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 15
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.pose_id = 401
L9_1.area_id = 3
L10_1 = {}
L10_1.config_id = 221007
L10_1.monster_id = 21030101
L11_1 = {}
L11_1.x = 2281.715
L11_1.y = 242.549
L11_1.z = -468.201
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 298.404
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 15
L10_1.drop_id = 1000100
L10_1.disableWander = true
L10_1.area_id = 3
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1244
L2_1.gadget_id = 70310004
L3_1 = {}
L3_1.x = 2287.583
L3_1.y = 241.433
L3_1.z = -472.588
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 225.48
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 15
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 1245
L3_1.gadget_id = 70211012
L4_1 = {}
L4_1.x = 2281.722
L4_1.y = 240.105
L4_1.z = -476.138
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 352.931
L4_1.y = 17.343
L4_1.z = 10.235
L3_1.rot = L4_1
L3_1.level = 11
L3_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\232\146\153\229\190\183"
L4_1 = GadgetState
L4_1 = L4_1.ChestLocked
L3_1.state = L4_1
L3_1.isOneoff = true
L4_1 = {}
L4_1.name = "chest"
L4_1.exp = 1
L3_1.explore = L4_1
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 221008
L4_1.gadget_id = 70220013
L5_1 = {}
L5_1.x = 2268.42
L5_1.y = 238.367
L5_1.z = -465.299
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 345.924
L5_1.y = 354.375
L5_1.z = 8.179
L4_1.rot = L5_1
L4_1.level = 15
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 221009
L5_1.gadget_id = 70220013
L6_1 = {}
L6_1.x = 2277.314
L6_1.y = 239.023
L6_1.z = -478.525
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 356.519
L6_1.y = 359.101
L6_1.z = 11.927
L5_1.rot = L6_1
L5_1.level = 15
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 221010
L6_1.gadget_id = 70220013
L7_1 = {}
L7_1.x = 2275.431
L7_1.y = 238.624
L7_1.z = -478.558
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 356.451
L7_1.y = 359.427
L7_1.z = 11.907
L6_1.rot = L7_1
L6_1.level = 15
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 221011
L7_1.gadget_id = 70220014
L8_1 = {}
L8_1.x = 2281.102
L8_1.y = 240.353
L8_1.z = -468.631
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 357.882
L8_1.y = 359.776
L8_1.z = 12.08
L7_1.rot = L8_1
L7_1.level = 15
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 221012
L8_1.gadget_id = 70220014
L9_1 = {}
L9_1.x = 2266.647
L9_1.y = 238.249
L9_1.z = -465.014
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 347.008
L9_1.y = 359.334
L9_1.z = 5.848
L8_1.rot = L9_1
L8_1.level = 15
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 221013
L9_1.gadget_id = 70220014
L10_1 = {}
L10_1.x = 2274.07
L10_1.y = 238.371
L10_1.z = -478.02
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 356.703
L10_1.y = 359.217
L10_1.z = 12.123
L9_1.rot = L10_1
L9_1.level = 15
L9_1.area_id = 3
L10_1 = {}
L10_1.config_id = 221016
L10_1.gadget_id = 70360001
L11_1 = {}
L11_1.x = 2276.351
L11_1.y = 239.808
L11_1.z = -472.835
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 15
L10_1.area_id = 3
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1221001
L2_1.name = "ANY_MONSTER_DIE_221001"
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_221001"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_221001"
L3_1 = {}
L3_1.config_id = 1221014
L3_1.name = "ANY_MONSTER_DIE_221014"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_221014"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_221014"
L4_1 = {}
L4_1.config_id = 1221017
L4_1.name = "SELECT_OPTION_221017"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_221017"
L4_1.action = "action_EVENT_SELECT_OPTION_221017"
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 = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 569
L5_1 = 570
L6_1 = 571
L7_1 = 572
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1244
L5_1 = 1245
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_221001"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 221003
L6_1 = 221004
L7_1 = 221005
L8_1 = 221006
L9_1 = 221007
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
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 221008
L6_1 = 221009
L7_1 = 221010
L8_1 = 221011
L9_1 = 221012
L10_1 = 221013
L11_1 = 221016
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
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_221014"
L6_1 = "SELECT_OPTION_221017"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L3_1.ban_refresh = true
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
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_221001 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 1245
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_ANY_MONSTER_DIE_221001 = 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.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "isoff"
L5_2 = 133004278
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_MONSTER_DIE_221014 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "13300422101"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133004221
L5_2 = 221016
L6_2 = {}
L7_2 = 169
L6_2[1] = L7_2
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 : set_wok_options_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_MONSTER_DIE_221014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 221016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_221017 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133004278
L4_2.suite = 1
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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "13300422103"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133004221
L5_2 = {}
L4_2.monsters = L5_2
L5_2 = {}
L6_2 = 221016
L5_2[1] = L6_2
L4_2.gadgets = L5_2
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_monsters_and_gadgets_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_221017 = L1_1