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

1878 lines
36 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, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1
L0_1 = {}
L0_1.group_id = 201059002
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2004
L2_1.monster_id = 21010301
L3_1 = {}
L3_1.x = -30.415
L3_1.y = 153.894
L3_1.z = 4.38
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 161.795
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.pose_id = 9012
L3_1 = {}
L3_1.config_id = 2005
L3_1.monster_id = 21010301
L4_1 = {}
L4_1.x = -32.575
L4_1.y = 153.94
L4_1.z = -0.612
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.325
L4_1.y = 81.21
L4_1.z = 5.891
L3_1.rot = L4_1
L3_1.level = 1
L3_1.pose_id = 9012
L4_1 = {}
L4_1.config_id = 2006
L4_1.monster_id = 22010201
L5_1 = {}
L5_1.x = -24.475
L5_1.y = 153.97
L5_1.z = 1.118
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 282.719
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 2007
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = -30.116
L6_1.y = 153.94
L6_1.z = -2.697
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 43.594
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.pose_id = 9012
L6_1 = {}
L6_1.config_id = 2010
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = -32.709
L7_1.y = 153.94
L7_1.z = 2.435
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 122.956
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.pose_id = 9012
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2001
L2_1.gadget_id = 70350005
L3_1 = {}
L3_1.x = -24.253
L3_1.y = 153.67
L3_1.z = 15.988
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 2003
L3_1.gadget_id = 70350146
L4_1 = {}
L4_1.x = -8.203
L4_1.y = 156.841
L4_1.z = 8.722
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 270.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 2008
L4_1.gadget_id = 70900007
L5_1 = {}
L5_1.x = -30.945
L5_1.y = 153.89
L5_1.z = -13.807
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 13.843
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStop
L4_1.state = L5_1
L5_1 = {}
L5_1.config_id = 2009
L5_1.gadget_id = 70350005
L6_1 = {}
L6_1.x = -44.547
L6_1.y = 153.622
L6_1.z = 1.03
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 90.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 2011
L6_1.gadget_id = 70900201
L7_1 = {}
L7_1.x = -43.409
L7_1.y = 156.2
L7_1.z = 1.128
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 = 2012
L7_1.gadget_id = 70690008
L8_1 = {}
L8_1.x = -40.942
L8_1.y = 144.924
L8_1.z = -20.439
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 = 2017
L8_1.gadget_id = 70900202
L9_1 = {}
L9_1.x = -41.358
L9_1.y = 155.992
L9_1.z = -5.188
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 = 2018
L9_1.gadget_id = 70900201
L10_1 = {}
L10_1.x = -78.228
L10_1.y = 156.254
L10_1.z = 0.01
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 = 2020
L10_1.gadget_id = 70330044
L11_1 = {}
L11_1.x = -1.068
L11_1.y = 154.893
L11_1.z = 9.034
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 = 2021
L11_1.gadget_id = 70330044
L12_1 = {}
L12_1.x = -27.494
L12_1.y = 167.694
L12_1.z = -15.436
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 = 2022
L12_1.gadget_id = 70330043
L13_1 = {}
L13_1.x = -41.208
L13_1.y = 153.891
L13_1.z = -5.15
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
L13_1 = {}
L13_1.config_id = 2023
L13_1.gadget_id = 70330043
L14_1 = {}
L14_1.x = -41.207
L14_1.y = 153.905
L14_1.z = 7.114
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 2029
L14_1.gadget_id = 70300099
L15_1 = {}
L15_1.x = -29.478
L15_1.y = 153.94
L15_1.z = 0.991
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L15_1 = {}
L15_1.config_id = 2030
L15_1.gadget_id = 70211011
L16_1 = {}
L16_1.x = 3.781
L16_1.y = 153.89
L16_1.z = 9.187
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 270.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 11
L15_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\231\146\131\230\156\136"
L15_1.isOneoff = true
L15_1.persistent = true
L16_1 = {}
L16_1.config_id = 2032
L16_1.gadget_id = 70710058
L17_1 = {}
L17_1.x = -32.983
L17_1.y = 166.011
L17_1.z = -10.691
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 80.266
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 2037
L17_1.gadget_id = 70220026
L18_1 = {}
L18_1.x = -19.048
L18_1.y = 153.89
L18_1.z = 1.155
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 2038
L18_1.gadget_id = 70220026
L19_1 = {}
L19_1.x = -18.524
L19_1.y = 153.89
L19_1.z = 2.456
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 = 1
L19_1 = {}
L19_1.config_id = 2039
L19_1.gadget_id = 70220014
L20_1 = {}
L20_1.x = -17.792
L20_1.y = 153.89
L20_1.z = 1.122
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 2041
L20_1.gadget_id = 70220025
L21_1 = {}
L21_1.x = -16.991
L21_1.y = 153.954
L21_1.z = 1.728
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 90.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 2042
L21_1.gadget_id = 70220013
L22_1 = {}
L22_1.x = -16.363
L22_1.y = 153.891
L22_1.z = 2.804
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 328.588
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 2043
L22_1.gadget_id = 70220003
L23_1 = {}
L23_1.x = -28.291
L23_1.y = 166.015
L23_1.z = -12.28
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 351.875
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 2044
L23_1.gadget_id = 70220003
L24_1 = {}
L24_1.x = -31.302
L24_1.y = 165.964
L24_1.z = -14.893
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 289.661
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 2045
L24_1.gadget_id = 70220003
L25_1 = {}
L25_1.x = -31.563
L25_1.y = 165.978
L25_1.z = -19.245
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 265.224
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L25_1 = {}
L25_1.config_id = 2047
L25_1.gadget_id = 70900201
L26_1 = {}
L26_1.x = -30.965
L26_1.y = 155.7
L26_1.z = -13.791
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 13.843
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L26_1 = {}
L26_1.config_id = 2048
L26_1.gadget_id = 70900201
L27_1 = {}
L27_1.x = -27.421
L27_1.y = 166.154
L27_1.z = -15.431
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 2049
L27_1.gadget_id = 70900201
L28_1 = {}
L28_1.x = -26.205
L28_1.y = 166.515
L28_1.z = -8.748
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 2051
L28_1.gadget_id = 70900202
L29_1 = {}
L29_1.x = -41.202
L29_1.y = 156.017
L29_1.z = 7.113
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 2052
L29_1.gadget_id = 70230033
L30_1 = {}
L30_1.x = -25.71
L30_1.y = 169.45
L30_1.z = -8.995
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 354.053
L30_1.y = 258.811
L30_1.z = 332.076
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = {}
L30_1.config_id = 2053
L30_1.gadget_id = 70230034
L31_1 = {}
L31_1.x = -13.57
L31_1.y = 174.63
L31_1.z = -4.87
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 315.3
L31_1.y = 246.652
L31_1.z = 335.028
L30_1.rot = L31_1
L30_1.level = 1
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
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2002
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 15.0
L3_1.y = 5.0
L3_1.z = 5.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = -27.955
L3_1.y = 150.085
L3_1.z = 24.493
L2_1.pos = L3_1
L3_1 = {}
L3_1.config_id = 2019
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 1.0
L4_1.y = 15.0
L4_1.z = 20.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = -34.038
L4_1.y = 173.397
L4_1.z = -16.786
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 2035
L5_1 = RegionShape
L5_1 = L5_1.CUBIC
L4_1.shape = L5_1
L5_1 = {}
L5_1.x = 15.0
L5_1.y = 5.0
L5_1.z = 5.0
L4_1.size = L5_1
L5_1 = {}
L5_1.x = -25.262
L5_1.y = 150.085
L5_1.z = 24.493
L4_1.pos = L5_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002002
L2_1.name = "ENTER_REGION_2002"
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_2002"
L2_1.action = "action_EVENT_ENTER_REGION_2002"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1002013
L3_1.name = "ANY_MONSTER_DIE_2013"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_2013"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_2013"
L4_1 = {}
L4_1.config_id = 1002014
L4_1.name = "GADGET_STATE_CHANGE_2014"
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_2014"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_2014"
L5_1 = {}
L5_1.config_id = 1002015
L5_1.name = "QUEST_FINISH_2015"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_FINISH
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_QUEST_FINISH_2015"
L5_1.action = "action_EVENT_QUEST_FINISH_2015"
L6_1 = {}
L6_1.config_id = 1002019
L6_1.name = "ENTER_REGION_2019"
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_2019"
L6_1.action = "action_EVENT_ENTER_REGION_2019"
L7_1 = {}
L7_1.config_id = 1002024
L7_1.name = "GADGET_STATE_CHANGE_2024"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_2024"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_2024"
L8_1 = {}
L8_1.config_id = 1002025
L9_1 = "GADGET_STATE_CHANGE_2025"
L8_1.name = L9_1
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L9_1 = "condition_EVENT_GADGET_STATE_CHANGE_2025"
L8_1.condition = L9_1
L9_1 = "action_EVENT_GADGET_STATE_CHANGE_2025"
L8_1.action = L9_1
L9_1 = {}
L10_1 = 1002026
L9_1.config_id = L10_1
L10_1 = "VARIABLE_CHANGE_2026"
L9_1.name = L10_1
L10_1 = EventType
L11_1 = "EVENT_VARIABLE_CHANGE"
L10_1 = L10_1[L11_1]
L9_1.event = L10_1
L10_1 = "guihuo_1"
L9_1.source = L10_1
L10_1 = "condition_EVENT_VARIABLE_CHANGE_2026"
L9_1.condition = L10_1
L10_1 = "action_EVENT_VARIABLE_CHANGE_2026"
L9_1.action = L10_1
L10_1 = {}
L11_1 = 1002027
L10_1.config_id = L11_1
L11_1 = "GADGET_CREATE_2027"
L10_1.name = L11_1
L11_1 = EventType
L12_1 = "EVENT_GADGET_CREATE"
L11_1 = L11_1[L12_1]
L10_1.event = L11_1
L10_1.source = ""
L11_1 = "condition_EVENT_GADGET_CREATE_2027"
L10_1.condition = L11_1
L11_1 = "action_EVENT_GADGET_CREATE_2027"
L10_1.action = L11_1
L11_1 = {}
L12_1 = 1002028
L11_1.config_id = L12_1
L12_1 = "GADGET_CREATE_2028"
L11_1.name = L12_1
L12_1 = EventType
L13_1 = "EVENT_GADGET_CREATE"
L12_1 = L12_1[L13_1]
L11_1.event = L12_1
L11_1.source = ""
L12_1 = "condition_EVENT_GADGET_CREATE_2028"
L11_1.condition = L12_1
L12_1 = "action_EVENT_GADGET_CREATE_2028"
L11_1.action = L12_1
L12_1 = {}
L13_1 = 1002033
L12_1.config_id = L13_1
L13_1 = "TIMER_EVENT_2033"
L12_1.name = L13_1
L13_1 = EventType
L14_1 = "EVENT_TIMER_EVENT"
L13_1 = L13_1[L14_1]
L12_1.event = L13_1
L13_1 = "OpenDoor"
L12_1.source = L13_1
L12_1.condition = ""
L13_1 = "action_EVENT_TIMER_EVENT_2033"
L12_1.action = L13_1
L13_1 = {}
L14_1 = 1002034
L13_1.config_id = L14_1
L14_1 = "GADGET_STATE_CHANGE_2034"
L13_1.name = L14_1
L14_1 = EventType
L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE
L13_1.event = L14_1
L13_1.source = ""
L14_1 = "condition_EVENT_GADGET_STATE_CHANGE_2034"
L13_1.condition = L14_1
L14_1 = "action_EVENT_GADGET_STATE_CHANGE_2034"
L13_1.action = L14_1
L14_1 = {}
L15_1 = 1002035
L14_1.config_id = L15_1
L15_1 = "ENTER_REGION_2035"
L14_1.name = L15_1
L15_1 = EventType
L15_1 = L15_1.EVENT_ENTER_REGION
L14_1.event = L15_1
L14_1.source = ""
L15_1 = "condition_EVENT_ENTER_REGION_2035"
L14_1.condition = L15_1
L15_1 = "action_EVENT_ENTER_REGION_2035"
L14_1.action = L15_1
L15_1 = {}
L16_1 = 1002046
L15_1.config_id = L16_1
L16_1 = "GADGET_STATE_CHANGE_2046"
L15_1.name = L16_1
L16_1 = EventType
L16_1 = L16_1.EVENT_GADGET_STATE_CHANGE
L15_1.event = L16_1
L15_1.source = ""
L16_1 = "condition_EVENT_GADGET_STATE_CHANGE_2046"
L15_1.condition = L16_1
L16_1 = "action_EVENT_GADGET_STATE_CHANGE_2046"
L15_1.action = L16_1
L16_1 = {}
L17_1 = 1002050
L16_1.config_id = L17_1
L17_1 = "GADGET_STATE_CHANGE_2050"
L16_1.name = L17_1
L17_1 = EventType
L17_1 = L17_1.EVENT_GADGET_STATE_CHANGE
L16_1.event = L17_1
L16_1.source = ""
L17_1 = "condition_EVENT_GADGET_STATE_CHANGE_2050"
L16_1.condition = L17_1
L17_1 = "action_EVENT_GADGET_STATE_CHANGE_2050"
L16_1.action = L17_1
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
triggers = L1_1
L1_1 = "variables"
L2_1 = {}
L3_1 = {}
L4_1 = "configId"
L3_1[L4_1] = 1
L4_1 = "guihuo_1"
L3_1.name = L4_1
L4_1 = "value"
L3_1[L4_1] = 0
L4_1 = "no_refresh"
L5_1 = false
L3_1[L4_1] = L5_1
L4_1 = {}
L5_1 = "configId"
L6_1 = 2
L4_1[L5_1] = L6_1
L5_1 = "Refresh1"
L4_1.name = L5_1
L5_1 = "value"
L4_1[L5_1] = 0
L5_1 = "no_refresh"
L6_1 = false
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = "configId"
L7_1 = 3
L5_1[L6_1] = L7_1
L6_1 = "Refresh2"
L5_1.name = L6_1
L6_1 = "value"
L5_1[L6_1] = 0
L6_1 = "no_refresh"
L7_1 = false
L5_1[L6_1] = L7_1
L6_1 = {}
L7_1 = "configId"
L8_1 = 4
L6_1[L7_1] = L8_1
L7_1 = "Dead"
L6_1.name = L7_1
L7_1 = "value"
L6_1[L7_1] = 0
L7_1 = "no_refresh"
L8_1 = false
L6_1[L7_1] = L8_1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
_ENV[L1_1] = L2_1
L1_1 = "garbages"
L2_1 = {}
L3_1 = {}
L4_1 = {}
L5_1 = 1002016
L4_1.config_id = L5_1
L5_1 = "GADGET_CREATE_2016"
L4_1.name = L5_1
L5_1 = EventType
L6_1 = "EVENT_GADGET_CREATE"
L5_1 = L5_1[L6_1]
L4_1.event = L5_1
L4_1.source = ""
L5_1 = "condition_EVENT_GADGET_CREATE_2016"
L4_1.condition = L5_1
L5_1 = "action_EVENT_GADGET_CREATE_2016"
L4_1.action = L5_1
L3_1[1] = L4_1
L2_1.triggers = L3_1
_ENV[L1_1] = L2_1
L1_1 = "init_config"
L2_1 = {}
L3_1 = "suite"
L2_1[L3_1] = 1
L3_1 = "end_suite"
L2_1[L3_1] = 0
L3_1 = "rand_suite"
L4_1 = false
L2_1[L3_1] = L4_1
_ENV[L1_1] = L2_1
L1_1 = "suites"
L2_1 = {}
L3_1 = {}
L4_1 = {}
L5_1 = 2004
L6_1 = 2005
L7_1 = 2006
L8_1 = 2007
L9_1 = 2010
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.monsters = L4_1
L4_1 = {}
L5_1 = 2001
L6_1 = 2003
L7_1 = 2008
L8_1 = 2009
L9_1 = 2020
L10_1 = 2021
L11_1 = 2022
L12_1 = 2023
L13_1 = 2029
L14_1 = 2030
L15_1 = 2032
L16_1 = 2037
L17_1 = 2038
L18_1 = 2039
L19_1 = 2041
L20_1 = 2042
L21_1 = 2043
L22_1 = 2044
L23_1 = 2045
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
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 2002
L6_1 = 2019
L7_1 = 2035
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_2002"
L6_1 = "ANY_MONSTER_DIE_2013"
L7_1 = "GADGET_STATE_CHANGE_2014"
L8_1 = "QUEST_FINISH_2015"
L9_1 = "ENTER_REGION_2019"
L10_1 = "GADGET_STATE_CHANGE_2024"
L11_1 = "GADGET_STATE_CHANGE_2025"
L12_1 = "VARIABLE_CHANGE_2026"
L13_1 = "GADGET_CREATE_2027"
L14_1 = "GADGET_CREATE_2028"
L15_1 = "TIMER_EVENT_2033"
L16_1 = "GADGET_STATE_CHANGE_2034"
L17_1 = "ENTER_REGION_2035"
L18_1 = "GADGET_STATE_CHANGE_2046"
L19_1 = "GADGET_STATE_CHANGE_2050"
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
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L3_1.triggers = L4_1
L4_1 = "rand_weight"
L5_1 = 100
L3_1[L4_1] = L5_1
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 2012
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L5_1 = "rand_weight"
L6_1 = 100
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 2052
L8_1 = 2053
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L6_1 = "rand_weight"
L7_1 = 100
L5_1[L6_1] = L7_1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
_ENV[L1_1] = L2_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 ~= 2002 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_2002 = 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 = 201059002
L5_2 = 2001
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 = 0
return L2_2
end
action_EVENT_ENTER_REGION_2002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 201059002
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_ANY_MONSTER_DIE_2013 = 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 = 2008
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_ANY_MONSTER_DIE_2013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2008 == 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_2014 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 201059002
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2047
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 : kill_entity_by_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 = 2048
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_GADGET_STATE_CHANGE_2014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1111308 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_2015 = 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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 201059002
L5_2 = "OpenDoor"
L6_2 = 2
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.PlayCutScene
L3_2 = A0_2
L4_2 = 111001
L5_2 = 0
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 : play_cutscene"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 201059002
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 2032
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_2015 = 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 ~= 2019 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_2019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = -27
L2_2.y = 168
L2_2.z = -15
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 0
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.ShowReminder
L5_2 = A0_2
L6_2 = 10590110
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_reminder_ui"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGadget
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 2017
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_gadget"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGadget
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 2051
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_gadget"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ENTER_REGION_2019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2022 == 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_2024 = 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 = "guihuo_1"
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Refresh1"
L5_2 = 0
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2017
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 : kill_entity_by_configId"
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_2024 = L1_1
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_2025"
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2023 == 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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_2025"
function L2_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 = "guihuo_1"
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Refresh1"
L5_2 = 0
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2051
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 : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_VARIABLE_CHANGE_2026"
function L2_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 = "guihuo_1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_VARIABLE_CHANGE_2026"
function L2_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 = 2009
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2011
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 : kill_entity_by_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 = 2018
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_2027"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2022 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GADGET_CREATE_2027"
function L2_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 = 2022
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_2028"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2023 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GADGET_CREATE_2028"
function L2_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 = 2023
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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_TIMER_EVENT_2033"
function L2_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 = 2003
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_2034"
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2021 == 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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_2034"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2048
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 : kill_entity_by_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 = 2011
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Refresh1"
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_ENTER_REGION_2035"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 2035 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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_ENTER_REGION_2035"
function L2_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 = 201059002
L5_2 = 2001
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 = 2047
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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 201059001
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 1018
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_2046"
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2008 == 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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_2046"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 201059002
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2047
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 : kill_entity_by_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 = 2048
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_2050"
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2020 == 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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_2050"
function L2_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 = "Refresh2"
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
_ENV[L1_1] = L2_1