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

888 lines
18 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
L0_1 = {}
L0_1.group_id = 133108257
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 257003
L2_1.gadget_id = 70800060
L3_1 = {}
L3_1.x = -486.96
L3_1.y = 200.0
L3_1.z = -672.782
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 218.017
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 257005
L3_1.gadget_id = 70800060
L4_1 = {}
L4_1.x = -487.422
L4_1.y = 200.0
L4_1.z = -678.017
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 96.888
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 257006
L4_1.gadget_id = 70800060
L5_1 = {}
L5_1.x = -490.548
L5_1.y = 200.0
L5_1.z = -675.94
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 306.311
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 257007
L5_1.gadget_id = 70800089
L6_1 = {}
L6_1.x = -385.485
L6_1.y = 200.0
L6_1.z = -643.371
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 343.74
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 7
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1257001
L2_1.name = "GROUP_REFRESH_257001"
L3_1 = EventType
L3_1 = L3_1.EVENT_GROUP_REFRESH
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = ""
L2_1.action = "action_EVENT_GROUP_REFRESH_257001"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1257002
L3_1.name = "GADGET_STATE_CHANGE_257002"
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_257002"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_257002"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1257004
L4_1.name = "GADGET_STATE_CHANGE_257004"
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_257004"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_257004"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1257008
L5_1.name = "GADGET_STATE_CHANGE_257008"
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_257008"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_257008"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1257009
L6_1.name = "GROUP_LOAD_257009"
L7_1 = EventType
L7_1 = L7_1.EVENT_GROUP_LOAD
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GROUP_LOAD_257009"
L6_1.action = "action_EVENT_GROUP_LOAD_257009"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1257010
L7_1.name = "GROUP_LOAD_257010"
L8_1 = EventType
L8_1 = L8_1.EVENT_GROUP_LOAD
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GROUP_LOAD_257010"
L7_1.action = "action_EVENT_GROUP_LOAD_257010"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1257011
L8_1.name = "SELECT_OPTION_257011"
L9_1 = EventType
L9_1 = L9_1.EVENT_SELECT_OPTION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_SELECT_OPTION_257011"
L8_1.action = "action_EVENT_SELECT_OPTION_257011"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1257012
L9_1.name = "GADGET_CREATE_257012"
L10_1 = EventType
L10_1 = L10_1.EVENT_GADGET_CREATE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_GADGET_CREATE_257012"
L9_1.action = "action_EVENT_GADGET_CREATE_257012"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1257013
L10_1.name = "VARIABLE_CHANGE_257013"
L11_1 = EventType
L11_1 = L11_1.EVENT_VARIABLE_CHANGE
L10_1.event = L11_1
L10_1.source = "picked"
L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_257013"
L10_1.action = "action_EVENT_VARIABLE_CHANGE_257013"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1257014
L11_1.name = "GROUP_LOAD_257014"
L12_1 = EventType
L12_1 = L12_1.EVENT_GROUP_LOAD
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_GROUP_LOAD_257014"
L11_1.action = "action_EVENT_GROUP_LOAD_257014"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1257016
L12_1.name = "GROUP_LOAD_257016"
L13_1 = EventType
L13_1 = L13_1.EVENT_GROUP_LOAD
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_GROUP_LOAD_257016"
L12_1.action = "action_EVENT_GROUP_LOAD_257016"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1257017
L13_1.name = "VARIABLE_CHANGE_257017"
L14_1 = EventType
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_257017"
L13_1.action = "action_EVENT_VARIABLE_CHANGE_257017"
L13_1.trigger_count = 0
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "picked"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "pick1"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "pick2"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 4
L5_1.name = "pick3"
L5_1.value = 0
L5_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1257015
L3_1.name = "GADGET_STATE_CHANGE_257015"
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_257015"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_257015"
L3_1.trigger_count = 0
L2_1[1] = L3_1
L1_1.triggers = L2_1
garbages = 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 = 257007
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GROUP_REFRESH_257001"
L5_1 = "GADGET_STATE_CHANGE_257002"
L6_1 = "GADGET_STATE_CHANGE_257004"
L7_1 = "GADGET_STATE_CHANGE_257008"
L8_1 = "GROUP_LOAD_257009"
L9_1 = "GROUP_LOAD_257010"
L10_1 = "SELECT_OPTION_257011"
L11_1 = "GADGET_CREATE_257012"
L12_1 = "VARIABLE_CHANGE_257013"
L13_1 = "GROUP_LOAD_257014"
L14_1 = "GROUP_LOAD_257016"
L15_1 = "VARIABLE_CHANGE_257017"
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
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_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
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 257003
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 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 257005
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 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 257006
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_GROUP_REFRESH_257001 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 257003 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStop
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_257002 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "picked"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "pick1"
L5_2 = 1
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 : change_GroupVariable"
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_257002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 257005 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStop
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_257004 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "picked"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "pick2"
L5_2 = 1
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 : change_GroupVariable"
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_257004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 257006 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStop
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_257008 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "picked"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "pick3"
L5_2 = 1
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 : change_GroupVariable"
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_257008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "pick1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_257009 = 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 = 257003
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_GROUP_LOAD_257009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "pick2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_257010 = 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 = 257005
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_GROUP_LOAD_257010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetIdByEntityId
L3_2 = A0_2
L4_2 = A1_2.source_eid
L2_2 = L2_2(L3_2, L4_2)
if 70800060 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 68 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_257011 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133108257
L5_2 = A1_2.param1
L6_2 = 68
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = A1_2.param2
if 68 == L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = A1_2.param1
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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_option"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_257011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param2
if 70800060 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_257012 = 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 = 68
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_257012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param1
if not (L2_2 < 1) then
L2_2 = A1_2.param1
if not (3 < L2_2) then
goto lbl_15
end
end
L2_2 = false
do return L2_2 end
::lbl_15::
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_257013 = 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 = "13310820002"
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 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_257013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "pick3"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_257014 = 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 = 257006
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_GROUP_LOAD_257014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "picked"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_257016 = 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 = "13310820002"
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "13310820002"
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "13310820002"
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 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_257016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "picked"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_257017 = 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.GetSceneUidList
L3_2 = A0_2
L2_2 = L2_2(L3_2)
L3_2 = ScriptLib
L3_2 = L3_2.SetTeamEntityGlobalFloatValue
L4_2 = A0_2
L5_2 = L2_2
L6_2 = "GV_Mark_Skiff"
L7_2 = 1
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.SetTeamServerGlobalValue
L4_2 = A0_2
L5_2 = L2_2[1]
L6_2 = "SGV_Box_Count"
L7_2 = 5
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_257017 = L1_1