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

567 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 = 166001113
L1_1 = {}
L2_1 = {}
L2_1.config_id = 113001
L2_1.monster_id = 22080101
L3_1 = {}
L3_1.x = 138.91
L3_1.y = 306.874
L3_1.z = 312.645
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 313.923
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 36
L2_1.drop_tag = "\233\187\145\232\155\135\229\137\145\229\163\171"
L2_1.disableWander = true
L2_1.pose_id = 9002
L2_1.title_id = 10072
L2_1.special_name_id = 10105
L2_1.area_id = 300
L3_1 = {}
L3_1.config_id = 113004
L3_1.monster_id = 22070301
L4_1 = {}
L4_1.x = 142.484
L4_1.y = 306.428
L4_1.z = 318.071
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 196.408
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 36
L3_1.drop_tag = "\233\187\145\232\155\135\229\137\145\229\163\171"
L3_1.pose_id = 9002
L3_1.area_id = 300
L4_1 = {}
L4_1.config_id = 113005
L4_1.monster_id = 22070102
L5_1 = {}
L5_1.x = 139.705
L5_1.y = 307.524
L5_1.z = 307.315
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 329.307
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 36
L4_1.drop_tag = "\233\187\145\232\155\135\229\137\145\229\163\171"
L4_1.disableWander = true
L4_1.pose_id = 101
L4_1.area_id = 300
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 = 113006
L2_1.gadget_id = 70300107
L3_1 = {}
L3_1.x = 136.235
L3_1.y = 306.979
L3_1.z = 311.053
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 = 36
L2_1.area_id = 300
L3_1 = {}
L3_1.config_id = 113007
L3_1.gadget_id = 70300107
L4_1 = {}
L4_1.x = 130.404
L4_1.y = 306.726
L4_1.z = 314.518
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 56.998
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 36
L3_1.area_id = 300
L4_1 = {}
L4_1.config_id = 113008
L4_1.gadget_id = 70300107
L5_1 = {}
L5_1.x = 124.726
L5_1.y = 306.753
L5_1.z = 318.421
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 334.24
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 36
L4_1.area_id = 300
L5_1 = {}
L5_1.config_id = 113009
L5_1.gadget_id = 70300107
L6_1 = {}
L6_1.x = 143.627
L6_1.y = 306.895
L6_1.z = 314.835
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 317.676
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 36
L5_1.area_id = 300
L6_1 = {}
L6_1.config_id = 113010
L6_1.gadget_id = 70300107
L7_1 = {}
L7_1.x = 139.022
L7_1.y = 305.542
L7_1.z = 322.832
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 3.628
L7_1.y = 250.699
L7_1.z = 356.84
L6_1.rot = L7_1
L6_1.level = 36
L6_1.area_id = 300
L7_1 = {}
L7_1.config_id = 113011
L7_1.gadget_id = 70300107
L8_1 = {}
L8_1.x = 134.699
L8_1.y = 304.797
L8_1.z = 328.347
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 42.653
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 36
L7_1.area_id = 300
L8_1 = {}
L8_1.config_id = 113012
L8_1.gadget_id = 70220100
L9_1 = {}
L9_1.x = 120.169
L9_1.y = 309.191
L9_1.z = 330.405
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 318.132
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 36
L8_1.area_id = 300
L9_1 = {}
L9_1.config_id = 113013
L9_1.gadget_id = 70220100
L10_1 = {}
L10_1.x = 118.029
L10_1.y = 311.494
L10_1.z = 328.843
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 318.132
L10_1.z = 175.363
L9_1.rot = L10_1
L9_1.level = 36
L9_1.area_id = 300
L10_1 = {}
L10_1.config_id = 113015
L10_1.gadget_id = 70211021
L11_1 = {}
L11_1.x = 136.832
L11_1.y = 306.412
L11_1.z = 315.462
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 6.315
L11_1.y = 324.334
L11_1.z = 356.576
L10_1.rot = L11_1
L10_1.level = 26
L10_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\146\131\230\156\136"
L10_1.isOneoff = true
L10_1.persistent = true
L11_1 = {}
L11_1.name = "chest"
L11_1.exp = 1
L10_1.explore = L11_1
L10_1.area_id = 300
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 = {}
L2_1 = {}
L2_1.config_id = 113014
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 5
L3_1 = {}
L3_1.x = 123.599
L3_1.y = 306.337
L3_1.z = 324.605
L2_1.pos = L3_1
L2_1.area_id = 300
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1113002
L2_1.name = "MONSTER_BATTLE_113002"
L3_1 = EventType
L3_1 = L3_1.EVENT_MONSTER_BATTLE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_MONSTER_BATTLE_113002"
L2_1.action = "action_EVENT_MONSTER_BATTLE_113002"
L3_1 = {}
L3_1.config_id = 1113003
L3_1.name = "ANY_MONSTER_DIE_113003"
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_113003"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_113003"
L4_1 = {}
L4_1.config_id = 1113014
L4_1.name = "ENTER_REGION_113014"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = ""
L4_1.action = "action_EVENT_ENTER_REGION_113014"
L5_1 = {}
L5_1.config_id = 1113016
L5_1.name = "ANY_MONSTER_DIE_113016"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_113016"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_113016"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_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 = 113001
L5_1 = 113004
L6_1 = 113005
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 113006
L5_1 = 113007
L6_1 = 113008
L7_1 = 113009
L8_1 = 113010
L9_1 = 113011
L10_1 = 113012
L11_1 = 113013
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
L3_1[8] = L11_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 113014
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "MONSTER_BATTLE_113002"
L5_1 = "ANY_MONSTER_DIE_113003"
L6_1 = "ENTER_REGION_113014"
L7_1 = "ANY_MONSTER_DIE_113016"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_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
L2_2 = A1_2.param1
if 113001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_MONSTER_BATTLE_113002 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 60010294
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 113006
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 113007
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 113008
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 113009
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 113010
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 113011
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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_MONSTER_BATTLE_113002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 113001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_113003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "166001113"
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.ShowReminder
L3_2 = A0_2
L4_2 = 60010295
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 : active_reminder_ui"
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_113003 = 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.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 113001
L5_2 = 166001113
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_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_113014 = 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_113016 = 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 = 113015
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_113016 = L1_1