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

566 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, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1
L0_1 = {}
L0_1.group_id = 220102003
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3002
L2_1.monster_id = 20011101
L3_1 = {}
L3_1.x = -26.112
L3_1.y = 6.159
L3_1.z = 32.555
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 20.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.disableWander = true
L3_1 = {}
L3_1.config_id = 3003
L3_1.monster_id = 20011101
L4_1 = {}
L4_1.x = -19.135
L4_1.y = 6.126
L4_1.z = 32.47
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 340.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L4_1 = {}
L4_1.config_id = 3004
L4_1.monster_id = 22010301
L5_1 = {}
L5_1.x = -22.873
L5_1.y = 6.116
L5_1.z = 30.813
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 5.009
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L5_1 = {}
L5_1.config_id = 3005
L5_1.monster_id = 20010701
L6_1 = {}
L6_1.x = -24.939
L6_1.y = 6.166
L6_1.z = 30.723
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.disableWander = true
L6_1 = {}
L6_1.config_id = 3007
L6_1.monster_id = 21010502
L7_1 = {}
L7_1.x = -29.358
L7_1.y = 6.126
L7_1.z = 35.663
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 49.647
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L7_1 = {}
L7_1.config_id = 3012
L7_1.monster_id = 21010201
L8_1 = {}
L8_1.x = -28.597
L8_1.y = 6.2
L8_1.z = 25.637
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 33.411
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.disableWander = true
L8_1 = {}
L8_1.config_id = 3013
L8_1.monster_id = 21010201
L9_1 = {}
L9_1.x = -20.502
L9_1.y = 6.064
L9_1.z = 25.364
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 = 1
L8_1.disableWander = true
L9_1 = {}
L9_1.config_id = 3014
L9_1.monster_id = 20010601
L10_1 = {}
L10_1.x = -20.415
L10_1.y = 6.094
L10_1.z = 30.739
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.disableWander = true
L10_1 = {}
L10_1.config_id = 3015
L10_1.monster_id = 21011002
L11_1 = {}
L11_1.x = -16.437
L11_1.y = 6.119
L11_1.z = 35.793
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 310.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.disableWander = true
L11_1 = {}
L11_1.config_id = 3016
L11_1.monster_id = 21010701
L12_1 = {}
L12_1.x = -18.203
L12_1.y = 6.198
L12_1.z = 33.878
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 330.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.disableWander = true
L12_1 = {}
L12_1.config_id = 3017
L12_1.monster_id = 20011001
L13_1 = {}
L13_1.x = -24.558
L13_1.y = 5.961
L13_1.z = 24.562
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 182.003
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.disableWander = true
L13_1 = {}
L13_1.config_id = 3018
L13_1.monster_id = 21010601
L14_1 = {}
L14_1.x = -27.675
L14_1.y = 6.208
L14_1.z = 34.175
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 40.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.disableWander = true
L14_1 = {}
L14_1.config_id = 3019
L14_1.monster_id = 20010701
L15_1 = {}
L15_1.x = -31.446
L15_1.y = 6.194
L15_1.z = 39.64
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 126.607
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.disableWander = true
L15_1 = {}
L15_1.config_id = 3020
L15_1.monster_id = 21010201
L16_1 = {}
L16_1.x = -24.375
L16_1.y = 6.16
L16_1.z = 26.579
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 340.646
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.disableWander = true
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
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3001
L2_1.gadget_id = 70350005
L3_1 = {}
L3_1.x = -38.655
L3_1.y = 4.687
L3_1.z = 37.742
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 90.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 3008
L3_1.gadget_id = 70360002
L4_1 = {}
L4_1.x = -22.56
L4_1.y = 6.132
L4_1.z = 40.316
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
L4_1 = {}
L4_1.config_id = 3024
L4_1.gadget_id = 70900201
L5_1 = {}
L5_1.x = -87.465
L5_1.y = 8.33
L5_1.z = 21.768
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1003006
L2_1.name = "CHALLENGE_FAIL_3006"
L3_1 = EventType
L3_1 = L3_1.EVENT_CHALLENGE_FAIL
L2_1.event = L3_1
L2_1.source = "2"
L2_1.condition = ""
L2_1.action = "action_EVENT_CHALLENGE_FAIL_3006"
L3_1 = {}
L3_1.config_id = 1003009
L3_1.name = "GADGET_CREATE_3009"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_3009"
L3_1.action = "action_EVENT_GADGET_CREATE_3009"
L4_1 = {}
L4_1.config_id = 1003010
L4_1.name = "SELECT_OPTION_3010"
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_3010"
L4_1.action = "action_EVENT_SELECT_OPTION_3010"
L5_1 = {}
L5_1.config_id = 1003011
L5_1.name = "CHALLENGE_SUCCESS_3011"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_SUCCESS
L5_1.event = L6_1
L5_1.source = "2"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_SUCCESS_3011"
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 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 3001
L5_1 = 3008
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 = "CHALLENGE_FAIL_3006"
L5_1 = "GADGET_CREATE_3009"
L6_1 = "SELECT_OPTION_3010"
L7_1 = "CHALLENGE_SUCCESS_3011"
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
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220102003
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_3006 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 3008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_3009 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 7
L4_2[1] = 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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_3009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 3008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_3010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 3008
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 220102003
L5_2 = 3008
L6_2 = 7
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 : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 220102002
L5_2 = 2008
L6_2 = GadgetState
L6_2 = L6_2.Default
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_gadget_state_by_GroupId_ConfigId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = 220102003
L6_2 = {}
L7_2 = 3002
L8_2 = 3003
L9_2 = 3014
L10_2 = 3005
L11_2 = 3007
L12_2 = 3015
L13_2 = 3004
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L6_2[4] = L10_2
L6_2[5] = L11_2
L6_2[6] = L12_2
L6_2[7] = L13_2
L7_2 = 7
L8_2 = 2
L9_2 = 2
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 2
L5_2 = 1
L6_2 = 220102003
L7_2 = 7
L8_2 = 0
L9_2 = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_3010 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 220102003
L5_2 = 3001
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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_gadget_state_by_GroupId_ConfigId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 3024
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_CHALLENGE_SUCCESS_3011 = L1_1