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

923 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, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1
L0_1 = {}
L0_1.group_id = 133102746
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 746001
L2_1.gadget_id = 70310001
L3_1 = {}
L3_1.x = 1968.303
L3_1.y = 198.273
L3_1.z = 840.358
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 43.073
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.persistent = true
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 746002
L3_1.gadget_id = 70310001
L4_1 = {}
L4_1.x = 1971.622
L4_1.y = 195.405
L4_1.z = 838.825
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 61.626
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.persistent = true
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 746003
L4_1.gadget_id = 70310001
L5_1 = {}
L5_1.x = 1976.408
L5_1.y = 195.128
L5_1.z = 836.549
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 = 18
L4_1.persistent = true
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 746004
L5_1.gadget_id = 70310001
L6_1 = {}
L6_1.x = 1978.711
L6_1.y = 191.418
L6_1.z = 835.044
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 = 18
L5_1.persistent = true
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 746005
L6_1.gadget_id = 70310001
L7_1 = {}
L7_1.x = 1982.337
L7_1.y = 191.367
L7_1.z = 833.387
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 46.128
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L6_1.persistent = true
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 746006
L7_1.gadget_id = 70310001
L8_1 = {}
L8_1.x = 1964.651
L8_1.y = 198.233
L8_1.z = 833.546
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 = 18
L7_1.persistent = true
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 746007
L8_1.gadget_id = 70310001
L9_1 = {}
L9_1.x = 1968.571
L9_1.y = 195.292
L9_1.z = 831.954
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 69.495
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 18
L8_1.persistent = true
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 746008
L9_1.gadget_id = 70310001
L10_1 = {}
L10_1.x = 1973.342
L10_1.y = 195.075
L10_1.z = 829.618
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 26.115
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 18
L9_1.persistent = true
L9_1.area_id = 5
L10_1 = {}
L10_1.config_id = 746009
L10_1.gadget_id = 70310001
L11_1 = {}
L11_1.x = 1976.153
L11_1.y = 191.388
L11_1.z = 828.571
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 = 18
L10_1.persistent = true
L10_1.area_id = 5
L11_1 = {}
L11_1.config_id = 746010
L11_1.gadget_id = 70310001
L12_1 = {}
L12_1.x = 1979.554
L12_1.y = 191.374
L12_1.z = 827.027
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 291.126
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 18
L11_1.persistent = true
L11_1.area_id = 5
L12_1 = {}
L12_1.config_id = 746019
L12_1.gadget_id = 70211101
L13_1 = {}
L13_1.x = 2039.09
L13_1.y = 200.522
L13_1.z = 795.119
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 269.832
L13_1.z = 355.315
L12_1.rot = L13_1
L12_1.level = 16
L12_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L12_1.isOneoff = true
L12_1.persistent = true
L13_1 = {}
L13_1.name = "chest"
L13_1.exp = 1
L12_1.explore = L13_1
L12_1.area_id = 5
L13_1 = {}
L13_1.config_id = 746020
L13_1.gadget_id = 70500000
L14_1 = {}
L14_1.x = 2095.608
L14_1.y = 191.459
L14_1.z = 783.734
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 3.0
L14_1.y = 274.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 18
L13_1.point_type = 2002
L13_1.area_id = 5
L14_1 = {}
L14_1.config_id = 746021
L14_1.gadget_id = 70500000
L15_1 = {}
L15_1.x = 2086.193
L15_1.y = 189.324
L15_1.z = 773.396
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 353.21
L15_1.y = 37.66
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 18
L14_1.point_type = 2002
L14_1.area_id = 5
L15_1 = {}
L15_1.config_id = 746022
L15_1.gadget_id = 70500000
L16_1 = {}
L16_1.x = 2086.091
L16_1.y = 189.324
L16_1.z = 772.613
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 353.7
L16_1.y = 71.48
L16_1.z = 336.7
L15_1.rot = L16_1
L15_1.level = 18
L15_1.point_type = 2002
L15_1.area_id = 5
L16_1 = {}
L16_1.config_id = 746023
L16_1.gadget_id = 70500000
L17_1 = {}
L17_1.x = 2086.658
L17_1.y = 189.324
L17_1.z = 773.132
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 340.54
L17_1.y = 34.04
L17_1.z = 0.277
L16_1.rot = L17_1
L16_1.level = 18
L16_1.point_type = 2002
L16_1.area_id = 5
L17_1 = {}
L17_1.config_id = 746024
L17_1.gadget_id = 70500000
L18_1 = {}
L18_1.x = 2095.744
L18_1.y = 191.459
L18_1.z = 783.422
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 353.7
L18_1.y = 71.48
L18_1.z = 336.7
L17_1.rot = L18_1
L17_1.level = 18
L17_1.point_type = 2002
L17_1.area_id = 5
L18_1 = {}
L18_1.config_id = 746025
L18_1.gadget_id = 70500000
L19_1 = {}
L19_1.x = 1968.997
L19_1.y = 196.767
L19_1.z = 842.829
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 18
L18_1.point_type = 2002
L18_1.area_id = 5
L19_1 = {}
L19_1.config_id = 746026
L19_1.gadget_id = 70500000
L20_1 = {}
L20_1.x = 1950.938
L20_1.y = 202.27
L20_1.z = 841.469
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 16.049
L20_1.y = 116.339
L20_1.z = 358.57
L19_1.rot = L20_1
L19_1.level = 18
L19_1.point_type = 2002
L19_1.area_id = 5
L20_1 = {}
L20_1.config_id = 746031
L20_1.gadget_id = 70310006
L21_1 = {}
L21_1.x = 1965.052
L21_1.y = 210.234
L21_1.z = 855.705
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 359.543
L21_1.y = 308.876
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 18
L20_1.area_id = 5
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
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 746013
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 5
L3_1 = {}
L3_1.x = 1962.408
L3_1.y = 199.608
L3_1.z = 838.956
L2_1.pos = L3_1
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 746014
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 5
L4_1 = {}
L4_1.x = 1968.134
L4_1.y = 196.023
L4_1.z = 836.201
L3_1.pos = L4_1
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 746015
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 5
L5_1 = {}
L5_1.x = 1971.944
L5_1.y = 193.488
L5_1.z = 834.363
L4_1.pos = L5_1
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 746016
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 5
L6_1 = {}
L6_1.x = 1975.345
L6_1.y = 190.967
L6_1.z = 833.303
L5_1.pos = L6_1
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 746017
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 5
L7_1 = {}
L7_1.x = 1978.568
L7_1.y = 190.276
L7_1.z = 830.862
L6_1.pos = L7_1
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 746018
L8_1 = RegionShape
L8_1 = L8_1.SPHERE
L7_1.shape = L8_1
L7_1.radius = 3.7
L8_1 = {}
L8_1.x = 1980.962
L8_1.y = 188.052
L8_1.z = 829.83
L7_1.pos = L8_1
L7_1.area_id = 5
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
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1746013
L2_1.name = "ENTER_REGION_746013"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_746013"
L2_1.action = "action_EVENT_ENTER_REGION_746013"
L3_1 = {}
L3_1.config_id = 1746014
L3_1.name = "ENTER_REGION_746014"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_746014"
L3_1.action = "action_EVENT_ENTER_REGION_746014"
L4_1 = {}
L4_1.config_id = 1746015
L4_1.name = "ENTER_REGION_746015"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_746015"
L4_1.action = "action_EVENT_ENTER_REGION_746015"
L5_1 = {}
L5_1.config_id = 1746016
L5_1.name = "ENTER_REGION_746016"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_746016"
L5_1.action = "action_EVENT_ENTER_REGION_746016"
L6_1 = {}
L6_1.config_id = 1746017
L6_1.name = "ENTER_REGION_746017"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_746017"
L6_1.action = "action_EVENT_ENTER_REGION_746017"
L7_1 = {}
L7_1.config_id = 1746018
L7_1.name = "ENTER_REGION_746018"
L8_1 = EventType
L8_1 = L8_1.EVENT_ENTER_REGION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ENTER_REGION_746018"
L7_1.action = "action_EVENT_ENTER_REGION_746018"
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
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 = 746001
L5_1 = 746002
L6_1 = 746003
L7_1 = 746004
L8_1 = 746005
L9_1 = 746006
L10_1 = 746007
L11_1 = 746008
L12_1 = 746009
L13_1 = 746010
L14_1 = 746019
L15_1 = 746020
L16_1 = 746021
L17_1 = 746022
L18_1 = 746023
L19_1 = 746024
L20_1 = 746025
L21_1 = 746026
L22_1 = 746031
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
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 746013
L5_1 = 746014
L6_1 = 746015
L7_1 = 746016
L8_1 = 746017
L9_1 = 746018
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
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_746013"
L5_1 = "ENTER_REGION_746014"
L6_1 = "ENTER_REGION_746015"
L7_1 = "ENTER_REGION_746016"
L8_1 = "ENTER_REGION_746017"
L9_1 = "ENTER_REGION_746018"
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
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L2_1.ban_refresh = true
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 746013 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_746013 = 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 = 746001
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 = 746006
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_ENTER_REGION_746013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 746014 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_746014 = 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 = 746002
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 = 746007
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_ENTER_REGION_746014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 746015 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_746015 = 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 = 746003
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 = 746008
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_ENTER_REGION_746015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 746016 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_746016 = 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 = 746004
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 = 746009
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_ENTER_REGION_746016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 746017 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_746017 = 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 = 746005
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 = 746010
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_ENTER_REGION_746017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 746018 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_746018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 31020827
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_ENTER_REGION_746018 = L1_1