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

354 lines
6.1 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
L0_1 = {}
L0_1.group_id = 240410011
L1_1 = 240410011
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 11001
L3_1.gadget_id = 70360010
L4_1 = {}
L4_1.x = 0.076
L4_1.y = 0.119
L4_1.z = 3.015
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 = GadgetState
L4_1 = L4_1.GearStop
L3_1.state = L4_1
L4_1 = {}
L4_1.config_id = 11003
L4_1.gadget_id = 70350091
L5_1 = {}
L5_1.x = 10.0
L5_1.y = 0.0
L5_1.z = 13.0
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
L5_1 = {}
L5_1.config_id = 11004
L5_1.gadget_id = 70350091
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 13.0
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
L6_1 = {}
L6_1.config_id = 11005
L6_1.gadget_id = 70350091
L7_1 = {}
L7_1.x = -10.0
L7_1.y = 0.0
L7_1.z = 13.0
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 11006
L7_1.gadget_id = 70350091
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 3.0
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 11007
L8_1.gadget_id = 70350091
L9_1 = {}
L9_1.x = -10.0
L9_1.y = 0.0
L9_1.z = 3.0
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
L9_1 = {}
L9_1.config_id = 11008
L9_1.gadget_id = 70350091
L10_1 = {}
L10_1.x = 10.0
L10_1.y = 0.0
L10_1.z = 3.0
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
L10_1 = {}
L10_1.config_id = 11009
L10_1.gadget_id = 70350091
L11_1 = {}
L11_1.x = -10.0
L11_1.y = 0.0
L11_1.z = -7.0
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 = 1
L11_1 = {}
L11_1.config_id = 11010
L11_1.gadget_id = 70350091
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = -7.0
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 11011
L12_1.gadget_id = 70350091
L13_1 = {}
L13_1.x = 10.0
L13_1.y = 0.0
L13_1.z = -7.0
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1011002
L3_1.name = "SELECT_OPTION_11002"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_11002"
L3_1.action = "action_EVENT_SELECT_OPTION_11002"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1011012
L4_1.name = "SELECT_OPTION_11012"
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_11012"
L4_1.action = "action_EVENT_SELECT_OPTION_11012"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1011013
L5_1.name = "TIMER_EVENT_11013"
L6_1 = EventType
L6_1 = L6_1.EVENT_TIMER_EVENT
L5_1.event = L6_1
L5_1.source = "Snow_Timer"
L5_1.condition = ""
L5_1.action = "action_EVENT_TIMER_EVENT_11013"
L5_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = true
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 11001
L6_1 = 11003
L7_1 = 11004
L8_1 = 11005
L9_1 = 11006
L10_1 = 11007
L11_1 = 11008
L12_1 = 11009
L13_1 = 11010
L14_1 = 11011
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
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "SELECT_OPTION_11002"
L6_1 = "SELECT_OPTION_11012"
L7_1 = "TIMER_EVENT_11013"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L2_1[1] = L3_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 11001 ~= 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_11002 = L2_1
function L2_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 = 240410010
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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 240410016
L4_2.suite = 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 : 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_SELECT_OPTION_11002 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 11001 ~= 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_11012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = RandomArea
L3_2 = A0_2
L4_2 = 1
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 240410011
L5_2 = "Snow_Timer"
L6_2 = 20
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_11012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = RandomArea
L3_2 = A0_2
L4_2 = 1
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 240410011
L5_2 = "Snow_Timer"
L6_2 = 20
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_11013 = L2_1
L2_1 = require
L3_1 = "SnowDungeon"
L2_1(L3_1)