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

803 lines
16 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
L0_1 = {}
L0_1.group_id = 133225033
L1_1 = {}
L1_1.group_id = 133225033
L2_1 = {}
L3_1 = 33003
L4_1 = 33016
L5_1 = 33010
L6_1 = 33001
L7_1 = 33002
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
L1_1.Lightup_Seq = L2_1
defs = L1_1
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 33001
L2_1.gadget_id = 70310138
L3_1 = {}
L3_1.x = -6335.34
L3_1.y = 254.5
L3_1.z = -2530.541
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 359.653
L3_1.y = 70.695
L3_1.z = 356.506
L2_1.rot = L3_1
L2_1.level = 33
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 33002
L3_1.gadget_id = 70310140
L4_1 = {}
L4_1.x = -6332.079
L4_1.y = 253.016
L4_1.z = -2542.749
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 11.037
L4_1.y = 73.703
L4_1.z = 353.819
L3_1.rot = L4_1
L3_1.level = 33
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 33003
L4_1.gadget_id = 70310135
L5_1 = {}
L5_1.x = -6328.668
L5_1.y = 253.206
L5_1.z = -2535.001
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 1.893
L5_1.y = 74.262
L5_1.z = 356.72
L4_1.rot = L5_1
L4_1.level = 33
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 33004
L5_1.gadget_id = 70310141
L6_1 = {}
L6_1.x = -6335.34
L6_1.y = 254.5
L6_1.z = -2530.541
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 359.653
L6_1.y = 70.695
L6_1.z = 356.506
L5_1.rot = L6_1
L5_1.level = 33
L6_1 = GadgetState
L6_1 = L6_1.GearStop
L5_1.state = L6_1
L5_1.persistent = true
L5_1.interact_id = 66
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 33005
L6_1.gadget_id = 70310141
L7_1 = {}
L7_1.x = -6332.079
L7_1.y = 253.016
L7_1.z = -2542.749
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 11.322
L7_1.y = 74.687
L7_1.z = 357.358
L6_1.rot = L7_1
L6_1.level = 33
L7_1 = GadgetState
L7_1 = L7_1.GearStop
L6_1.state = L7_1
L6_1.persistent = true
L6_1.interact_id = 66
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 33006
L7_1.gadget_id = 70310141
L8_1 = {}
L8_1.x = -6328.668
L8_1.y = 253.206
L8_1.z = -2535.001
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 1.893
L8_1.y = 74.262
L8_1.z = 356.72
L7_1.rot = L8_1
L7_1.level = 33
L8_1 = GadgetState
L8_1 = L8_1.GearStop
L7_1.state = L8_1
L7_1.persistent = true
L7_1.interact_id = 66
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 33007
L8_1.gadget_id = 70310134
L9_1 = {}
L9_1.x = -6329.544
L9_1.y = 253.134
L9_1.z = -2538.734
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 354.56
L9_1.y = 88.949
L9_1.z = 354.92
L8_1.rot = L9_1
L8_1.level = 33
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 33008
L9_1.gadget_id = 70310134
L10_1 = {}
L10_1.x = -6331.467
L10_1.y = 253.877
L10_1.z = -2531.966
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 79.678
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 33
L9_1.area_id = 18
L10_1 = {}
L10_1.config_id = 33010
L10_1.gadget_id = 70310139
L11_1 = {}
L11_1.x = -6329.544
L11_1.y = 253.134
L11_1.z = -2538.734
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 354.56
L11_1.y = 88.949
L11_1.z = 354.92
L10_1.rot = L11_1
L10_1.level = 33
L10_1.area_id = 18
L11_1 = {}
L11_1.config_id = 33016
L11_1.gadget_id = 70310137
L12_1 = {}
L12_1.x = -6331.467
L12_1.y = 253.877
L12_1.z = -2531.966
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 79.678
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 33
L11_1.area_id = 18
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1033009
L2_1.name = "VARIABLE_CHANGE_33009"
L3_1 = EventType
L3_1 = L3_1.EVENT_VARIABLE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_VARIABLE_CHANGE_33009"
L2_1.action = "action_EVENT_VARIABLE_CHANGE_33009"
L3_1 = {}
L3_1.config_id = 1033011
L3_1.name = "VARIABLE_CHANGE_33011"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_33011"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_33011"
L4_1 = {}
L4_1.config_id = 1033012
L4_1.name = "GADGET_STATE_CHANGE_33012"
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_33012"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_33012"
L5_1 = {}
L5_1.config_id = 1033013
L5_1.name = "GADGET_STATE_CHANGE_33013"
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_33013"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_33013"
L6_1 = {}
L6_1.config_id = 1033014
L6_1.name = "GADGET_STATE_CHANGE_33014"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_33014"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_33014"
L7_1 = {}
L7_1.config_id = 1033015
L7_1.name = "VARIABLE_CHANGE_33015"
L8_1 = EventType
L8_1 = L8_1.EVENT_VARIABLE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_33015"
L7_1.action = "action_EVENT_VARIABLE_CHANGE_33015"
L8_1 = {}
L8_1.config_id = 1033017
L8_1.name = "VARIABLE_CHANGE_33017"
L9_1 = EventType
L9_1 = L9_1.EVENT_VARIABLE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_33017"
L8_1.action = "action_EVENT_VARIABLE_CHANGE_33017"
L9_1 = {}
L9_1.config_id = 1033018
L9_1.name = "VARIABLE_CHANGE_33018"
L10_1 = EventType
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_33018"
L9_1.action = "action_EVENT_VARIABLE_CHANGE_33018"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "stone_progress"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "Finished"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 3
L4_1.name = "TsurumiStone"
L4_1.value = 1
L4_1.no_refresh = true
L5_1 = {}
L5_1.configId = 4
L5_1.name = "isQuestNotify"
L5_1.value = 0
L5_1.no_refresh = true
L6_1 = {}
L6_1.configId = 5
L6_1.name = "StoneCanPlace_A"
L6_1.value = 0
L6_1.no_refresh = true
L7_1 = {}
L7_1.configId = 6
L7_1.name = "StoneCanPlace_B"
L7_1.value = 0
L7_1.no_refresh = true
L8_1 = {}
L8_1.configId = 7
L8_1.name = "StoneCanPlace_C"
L8_1.value = 0
L8_1.no_refresh = 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
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 2
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 33004
L5_1 = 33005
L6_1 = 33006
L7_1 = 33007
L8_1 = 33008
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "VARIABLE_CHANGE_33009"
L5_1 = "VARIABLE_CHANGE_33011"
L6_1 = "GADGET_STATE_CHANGE_33012"
L7_1 = "GADGET_STATE_CHANGE_33013"
L8_1 = "GADGET_STATE_CHANGE_33014"
L9_1 = "VARIABLE_CHANGE_33015"
L10_1 = "VARIABLE_CHANGE_33018"
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
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 33001
L6_1 = 33002
L7_1 = 33003
L8_1 = 33010
L9_1 = 33016
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.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "VARIABLE_CHANGE_33017"
L4_1[1] = L5_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, 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 = "StoneCanPlace_A"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_33009 = 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 = 33004
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_VARIABLE_CHANGE_33009 = 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 = "StoneCanPlace_B"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_33011 = 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 = 33005
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_VARIABLE_CHANGE_33011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 33004 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_33012 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "stone_progress"
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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "stone_progress"
L5_2 = 2
L6_2 = 133225093
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_groupVariable_by_group"
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_33012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 33005 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_33013 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "stone_progress"
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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "stone_progress"
L5_2 = 2
L6_2 = 133225129
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_groupVariable_by_group"
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_33013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 33006 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_33014 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "stone_progress"
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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "stone_progress"
L5_2 = 2
L6_2 = 133225128
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_groupVariable_by_group"
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_33014 = 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 = "stone_progress"
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_33015 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "D2_AreaC_Stone_Place"
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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133225033
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 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isQuestNotify"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_33015 = 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 = "Finished"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_33017 = 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 = "D2_AreaC_Puzzle_Finish"
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_33017 = 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 = "StoneCanPlace_C"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_33018 = 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 = 33006
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_VARIABLE_CHANGE_33018 = L1_1
L1_1 = require
L2_1 = "V2_2/TsurumiStoneSeq"
L1_1(L2_1)