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

2729 lines
57 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
L0_1 = {}
L0_1.group_id = 177002002
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2001
L2_1.gadget_id = 70330202
L3_1 = {}
L3_1.x = 1302.904
L3_1.y = 232.917
L3_1.z = 699.075
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 348.942
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.persistent = true
L2_1.interact_id = 97
L2_1.area_id = 210
L3_1 = {}
L3_1.config_id = 2002
L3_1.gadget_id = 70330202
L4_1 = {}
L4_1.x = 1305.719
L4_1.y = 233.976
L4_1.z = 686.49
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 348.942
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.persistent = true
L3_1.interact_id = 98
L3_1.area_id = 210
L4_1 = {}
L4_1.config_id = 2003
L4_1.gadget_id = 70330202
L5_1 = {}
L5_1.x = 1315.867
L5_1.y = 234.263
L5_1.z = 684.278
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 348.942
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.persistent = true
L4_1.interact_id = 99
L4_1.area_id = 210
L5_1 = {}
L5_1.config_id = 2004
L5_1.gadget_id = 70330154
L6_1 = {}
L6_1.x = 1360.75
L6_1.y = 263.495
L6_1.z = 701.55
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 356.055
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.persistent = true
L5_1.area_id = 210
L6_1 = {}
L6_1.config_id = 2005
L6_1.gadget_id = 70330165
L7_1 = {}
L7_1.x = 1320.993
L7_1.y = 232.303
L7_1.z = 702.099
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 243.291
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 210
L7_1 = {}
L7_1.config_id = 2006
L7_1.gadget_id = 70330149
L8_1 = {}
L8_1.x = 1360.746
L8_1.y = 241.477
L8_1.z = 701.542
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 80.3
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.persistent = true
L7_1.is_use_point_array = true
L7_1.area_id = 210
L8_1 = {}
L8_1.config_id = 2007
L8_1.gadget_id = 70330180
L9_1 = {}
L9_1.x = 1360.746
L9_1.y = 241.477
L9_1.z = 701.543
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 80.3
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.persistent = true
L8_1.is_use_point_array = true
L8_1.area_id = 210
L9_1 = {}
L9_1.config_id = 2008
L9_1.gadget_id = 70330183
L10_1 = {}
L10_1.x = 1360.746
L10_1.y = 241.477
L10_1.z = 701.542
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 170.3
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.persistent = true
L9_1.is_use_point_array = true
L9_1.area_id = 210
L10_1 = {}
L10_1.config_id = 2009
L10_1.gadget_id = 70330159
L11_1 = {}
L11_1.x = 1302.904
L11_1.y = 232.917
L11_1.z = 699.075
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 80.94
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.persistent = true
L10_1.is_use_point_array = true
L10_1.area_id = 210
L11_1 = {}
L11_1.config_id = 2010
L11_1.gadget_id = 70330159
L12_1 = {}
L12_1.x = 1305.719
L12_1.y = 233.976
L12_1.z = 686.49
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 80.94
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.persistent = true
L11_1.is_use_point_array = true
L11_1.area_id = 210
L12_1 = {}
L12_1.config_id = 2011
L12_1.gadget_id = 70330159
L13_1 = {}
L13_1.x = 1315.867
L13_1.y = 234.263
L13_1.z = 684.278
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 80.94
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.persistent = true
L12_1.is_use_point_array = true
L12_1.area_id = 210
L13_1 = {}
L13_1.config_id = 2028
L13_1.gadget_id = 70330163
L14_1 = {}
L14_1.x = 1302.904
L14_1.y = 232.9
L14_1.z = 699.075
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 348.68
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 210
L14_1 = {}
L14_1.config_id = 2029
L14_1.gadget_id = 70330163
L15_1 = {}
L15_1.x = 1305.719
L15_1.y = 233.976
L15_1.z = 686.49
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 348.956
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 210
L15_1 = {}
L15_1.config_id = 2030
L15_1.gadget_id = 70330163
L16_1 = {}
L16_1.x = 1315.867
L16_1.y = 234.263
L16_1.z = 684.278
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 348.942
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 210
L16_1 = {}
L16_1.config_id = 2031
L16_1.gadget_id = 70330173
L17_1 = {}
L17_1.x = 1360.75
L17_1.y = 241.452
L17_1.z = 701.549
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 260.367
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.persistent = true
L16_1.area_id = 210
L17_1 = {}
L17_1.config_id = 2033
L17_1.gadget_id = 70330186
L18_1 = {}
L18_1.x = 1360.75
L18_1.y = 241.416
L18_1.z = 701.549
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 260.367
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 36
L17_1.area_id = 210
L18_1 = {}
L18_1.config_id = 2042
L18_1.gadget_id = 70330190
L19_1 = {}
L19_1.x = 1303.71
L19_1.y = 234.81
L19_1.z = 699.075
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 314.598
L19_1.y = 99.538
L19_1.z = 138.374
L18_1.rot = L19_1
L18_1.level = 36
L18_1.persistent = true
L18_1.area_id = 210
L19_1 = {}
L19_1.config_id = 2043
L19_1.gadget_id = 70330190
L20_1 = {}
L20_1.x = 1307.053
L20_1.y = 235.751
L20_1.z = 686.708
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 324.819
L20_1.y = 79.903
L20_1.z = 130.775
L19_1.rot = L20_1
L19_1.level = 36
L19_1.persistent = true
L19_1.area_id = 210
L20_1 = {}
L20_1.config_id = 2044
L20_1.gadget_id = 70330190
L21_1 = {}
L21_1.x = 1316.637
L21_1.y = 236.052
L21_1.z = 684.691
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 348.584
L21_1.y = 69.458
L21_1.z = 120.163
L20_1.rot = L21_1
L20_1.level = 36
L20_1.persistent = true
L20_1.area_id = 210
L21_1 = {}
L21_1.config_id = 2045
L21_1.gadget_id = 70330191
L22_1 = {}
L22_1.x = 1336.47
L22_1.y = 278.3
L22_1.z = 692.47
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 72.685
L22_1.y = 355.6
L22_1.z = 111.64
L21_1.rot = L22_1
L21_1.level = 36
L21_1.area_id = 210
L22_1 = {}
L22_1.config_id = 2047
L22_1.gadget_id = 70330201
L23_1 = {}
L23_1.x = 1357.54
L23_1.y = 256.802
L23_1.z = 713.968
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 36
L22_1.area_id = 210
L23_1 = {}
L23_1.config_id = 2048
L23_1.gadget_id = 70330201
L24_1 = {}
L24_1.x = 1362.244
L24_1.y = 254.502
L24_1.z = 689.134
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 36
L23_1.area_id = 210
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2014
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 6.4
L3_1 = {}
L3_1.x = 1317.671
L3_1.y = 232.365
L3_1.z = 698.456
L2_1.pos = L3_1
L2_1.area_id = 210
L3_1 = {}
L3_1.config_id = 2046
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 8
L4_1 = {}
L4_1.x = 1360.62
L4_1.y = 268.328
L4_1.z = 701.697
L3_1.pos = L4_1
L3_1.area_id = 210
L1_1[1] = L2_1
L1_1[2] = L3_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002012
L2_1.name = "VARIABLE_CHANGE_2012"
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_2012"
L2_1.action = "action_EVENT_VARIABLE_CHANGE_2012"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1002013
L3_1.name = "GADGET_STATE_CHANGE_2013"
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_2013"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_2013"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1002014
L4_1.name = "ENTER_REGION_2014"
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_2014"
L4_1.action = "action_EVENT_ENTER_REGION_2014"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1002015
L5_1.name = "TIMER_EVENT_2015"
L6_1 = EventType
L6_1 = L6_1.EVENT_TIMER_EVENT
L5_1.event = L6_1
L5_1.source = "towerDelay"
L5_1.condition = ""
L5_1.action = "action_EVENT_TIMER_EVENT_2015"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1002016
L6_1.name = "GADGET_STATE_CHANGE_2016"
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_2016"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_2016"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1002017
L7_1.name = "GADGET_STATE_CHANGE_2017"
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_2017"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_2017"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1002018
L8_1.name = "GADGET_STATE_CHANGE_2018"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_2018"
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_2018"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1002019
L9_1.name = "SELECT_OPTION_2019"
L10_1 = EventType
L10_1 = L10_1.EVENT_SELECT_OPTION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_SELECT_OPTION_2019"
L9_1.action = "action_EVENT_SELECT_OPTION_2019"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1002020
L10_1.name = "SELECT_OPTION_2020"
L11_1 = EventType
L11_1 = L11_1.EVENT_SELECT_OPTION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_SELECT_OPTION_2020"
L10_1.action = "action_EVENT_SELECT_OPTION_2020"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1002021
L11_1.name = "SELECT_OPTION_2021"
L12_1 = EventType
L12_1 = L12_1.EVENT_SELECT_OPTION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_SELECT_OPTION_2021"
L11_1.action = "action_EVENT_SELECT_OPTION_2021"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1002022
L12_1.name = "TIMER_EVENT_2022"
L13_1 = EventType
L13_1 = L13_1.EVENT_TIMER_EVENT
L12_1.event = L13_1
L12_1.source = "rotationtime1"
L12_1.condition = ""
L12_1.action = "action_EVENT_TIMER_EVENT_2022"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1002023
L13_1.name = "TIMER_EVENT_2023"
L14_1 = EventType
L14_1 = L14_1.EVENT_TIMER_EVENT
L13_1.event = L14_1
L13_1.source = "rotationtime2"
L13_1.condition = ""
L13_1.action = "action_EVENT_TIMER_EVENT_2023"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1002024
L14_1.name = "TIMER_EVENT_2024"
L15_1 = EventType
L15_1 = L15_1.EVENT_TIMER_EVENT
L14_1.event = L15_1
L14_1.source = "rotationtime3"
L14_1.condition = ""
L14_1.action = "action_EVENT_TIMER_EVENT_2024"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1002025
L15_1.name = "VARIABLE_CHANGE_2025"
L16_1 = EventType
L16_1 = L16_1.EVENT_VARIABLE_CHANGE
L15_1.event = L16_1
L15_1.source = "state1"
L15_1.condition = ""
L15_1.action = "action_EVENT_VARIABLE_CHANGE_2025"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1002026
L16_1.name = "VARIABLE_CHANGE_2026"
L17_1 = EventType
L17_1 = L17_1.EVENT_VARIABLE_CHANGE
L16_1.event = L17_1
L16_1.source = "state2"
L16_1.condition = ""
L16_1.action = "action_EVENT_VARIABLE_CHANGE_2026"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1002027
L17_1.name = "VARIABLE_CHANGE_2027"
L18_1 = EventType
L18_1 = L18_1.EVENT_VARIABLE_CHANGE
L17_1.event = L18_1
L17_1.source = "state3"
L17_1.condition = ""
L17_1.action = "action_EVENT_VARIABLE_CHANGE_2027"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1002032
L18_1.name = "VARIABLE_CHANGE_2032"
L19_1 = EventType
L19_1 = L19_1.EVENT_VARIABLE_CHANGE
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_VARIABLE_CHANGE_2032"
L18_1.action = "action_EVENT_VARIABLE_CHANGE_2032"
L19_1 = {}
L19_1.config_id = 1002034
L19_1.name = "SELECT_OPTION_2034"
L20_1 = EventType
L20_1 = L20_1.EVENT_SELECT_OPTION
L19_1.event = L20_1
L19_1.source = ""
L19_1.condition = "condition_EVENT_SELECT_OPTION_2034"
L19_1.action = "action_EVENT_SELECT_OPTION_2034"
L20_1 = {}
L20_1.config_id = 1002035
L20_1.name = "SELECT_OPTION_2035"
L21_1 = EventType
L21_1 = L21_1.EVENT_SELECT_OPTION
L20_1.event = L21_1
L20_1.source = ""
L20_1.condition = "condition_EVENT_SELECT_OPTION_2035"
L20_1.action = "action_EVENT_SELECT_OPTION_2035"
L21_1 = {}
L21_1.config_id = 1002036
L21_1.name = "SELECT_OPTION_2036"
L22_1 = EventType
L22_1 = L22_1.EVENT_SELECT_OPTION
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_SELECT_OPTION_2036"
L21_1.action = "action_EVENT_SELECT_OPTION_2036"
L22_1 = {}
L22_1.config_id = 1002037
L22_1.name = "GROUP_LOAD_2037"
L23_1 = EventType
L23_1 = L23_1.EVENT_GROUP_LOAD
L22_1.event = L23_1
L22_1.source = ""
L22_1.condition = ""
L22_1.action = "action_EVENT_GROUP_LOAD_2037"
L22_1.trigger_count = 0
L23_1 = {}
L23_1.config_id = 1002038
L23_1.name = "QUEST_START_2038"
L24_1 = EventType
L24_1 = L24_1.EVENT_QUEST_START
L23_1.event = L24_1
L23_1.source = "4004801"
L23_1.condition = ""
L23_1.action = "action_EVENT_QUEST_START_2038"
L23_1.trigger_count = 0
L24_1 = {}
L24_1.config_id = 1002039
L24_1.name = "QUEST_START_2039"
L25_1 = EventType
L25_1 = L25_1.EVENT_QUEST_START
L24_1.event = L25_1
L24_1.source = "4004802"
L24_1.condition = "condition_EVENT_QUEST_START_2039"
L24_1.action = "action_EVENT_QUEST_START_2039"
L24_1.trigger_count = 0
L25_1 = {}
L25_1.config_id = 1002040
L25_1.name = "QUEST_START_2040"
L26_1 = EventType
L26_1 = L26_1.EVENT_QUEST_START
L25_1.event = L26_1
L25_1.source = "4004803"
L25_1.condition = "condition_EVENT_QUEST_START_2040"
L25_1.action = "action_EVENT_QUEST_START_2040"
L25_1.trigger_count = 0
L26_1 = {}
L26_1.config_id = 1002041
L26_1.name = "QUEST_START_2041"
L27_1 = EventType
L27_1 = L27_1.EVENT_QUEST_START
L26_1.event = L27_1
L26_1.source = "4004814"
L26_1.condition = "condition_EVENT_QUEST_START_2041"
L26_1.action = "action_EVENT_QUEST_START_2041"
L26_1.trigger_count = 0
L27_1 = {}
L27_1.config_id = 1002046
L28_1 = "ENTER_REGION_2046"
L27_1.name = L28_1
L28_1 = EventType
L28_1 = L28_1.EVENT_ENTER_REGION
L27_1.event = L28_1
L27_1.source = ""
L28_1 = "condition_EVENT_ENTER_REGION_2046"
L27_1.condition = L28_1
L28_1 = "action_EVENT_ENTER_REGION_2046"
L27_1.action = L28_1
L27_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
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
triggers = L1_1
L1_1 = "variables"
L2_1 = {}
L3_1 = {}
L4_1 = "configId"
L3_1[L4_1] = 1
L4_1 = "count"
L3_1.name = L4_1
L4_1 = "value"
L3_1[L4_1] = 0
L4_1 = "no_refresh"
L3_1[L4_1] = true
L4_1 = {}
L5_1 = "configId"
L6_1 = 2
L4_1[L5_1] = L6_1
L4_1.name = "state1"
L5_1 = "value"
L4_1[L5_1] = 1
L5_1 = "no_refresh"
L4_1[L5_1] = true
L5_1 = {}
L6_1 = "configId"
L7_1 = 3
L5_1[L6_1] = L7_1
L5_1.name = "state2"
L6_1 = "value"
L5_1[L6_1] = 1
L6_1 = "no_refresh"
L5_1[L6_1] = true
L6_1 = {}
L7_1 = "configId"
L8_1 = 4
L6_1[L7_1] = L8_1
L6_1.name = "state3"
L7_1 = "value"
L6_1[L7_1] = 1
L7_1 = "no_refresh"
L6_1[L7_1] = true
L7_1 = {}
L8_1 = "configId"
L9_1 = 5
L7_1[L8_1] = L9_1
L8_1 = "off_count"
L7_1.name = L8_1
L8_1 = "value"
L7_1[L8_1] = 0
L8_1 = "no_refresh"
L7_1[L8_1] = true
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
_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 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 2001
L6_1 = 2002
L7_1 = 2003
L8_1 = 2005
L9_1 = 2009
L10_1 = 2010
L11_1 = 2011
L12_1 = 2028
L13_1 = 2029
L14_1 = 2030
L15_1 = 2042
L16_1 = 2043
L17_1 = 2044
L18_1 = 2047
L19_1 = 2048
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.gadgets = L4_1
L4_1 = {}
L5_1 = 2014
L6_1 = 2046
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "VARIABLE_CHANGE_2012"
L6_1 = "GADGET_STATE_CHANGE_2013"
L7_1 = "ENTER_REGION_2014"
L8_1 = "TIMER_EVENT_2015"
L9_1 = "GADGET_STATE_CHANGE_2016"
L10_1 = "GADGET_STATE_CHANGE_2017"
L11_1 = "GADGET_STATE_CHANGE_2018"
L12_1 = "SELECT_OPTION_2019"
L13_1 = "SELECT_OPTION_2020"
L14_1 = "SELECT_OPTION_2021"
L15_1 = "TIMER_EVENT_2022"
L16_1 = "TIMER_EVENT_2023"
L17_1 = "TIMER_EVENT_2024"
L18_1 = "VARIABLE_CHANGE_2025"
L19_1 = "VARIABLE_CHANGE_2026"
L20_1 = "VARIABLE_CHANGE_2027"
L21_1 = "VARIABLE_CHANGE_2032"
L22_1 = "SELECT_OPTION_2034"
L23_1 = "SELECT_OPTION_2035"
L24_1 = "SELECT_OPTION_2036"
L25_1 = "GROUP_LOAD_2037"
L26_1 = "QUEST_START_2038"
L27_1 = "QUEST_START_2039"
L28_1 = "QUEST_START_2040"
L29_1 = "QUEST_START_2041"
L30_1 = "ENTER_REGION_2046"
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
L4_1[20] = L24_1
L4_1[21] = L25_1
L4_1[22] = L26_1
L4_1[23] = L27_1
L4_1[24] = L28_1
L4_1[25] = L29_1
L4_1[26] = L30_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 = 2004
L7_1 = 2031
L5_1[1] = L6_1
L5_1[2] = L7_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 = 2006
L8_1 = 2007
L9_1 = 2008
L10_1 = 2033
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_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
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 2045
L7_1[1] = L8_1
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L6_1.triggers = L7_1
L7_1 = "rand_weight"
L8_1 = 100
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
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 = "count"
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_2012 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "400480201"
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 177002002
L5_2 = "towerDelay"
L6_2 = 1
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 = 59
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 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2004 == 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_2013 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 4
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.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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2031
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 = {}
L2_2.x = 269.5
L2_2.y = 494.74
L2_2.z = 212.63
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 = 1.5
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.AddQuestProgress
L5_2 = A0_2
L6_2 = "40048_finish"
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 : add_quest_progress"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_GADGET_STATE_CHANGE_2013 = 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 ~= 2014 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_2014 = 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 = "400480401"
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_ENTER_REGION_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 = 177002002
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_2015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2001 == 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_2016 = 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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_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 : set_wok_options_by_configid"
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 = "off_count"
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.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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2042
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "400481001"
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_GADGET_STATE_CHANGE_2016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2002 == 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_2017 = 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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_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 : set_wok_options_by_configid"
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 = "off_count"
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2010
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 = 2043
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "400481101"
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_GADGET_STATE_CHANGE_2017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 2003 == 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_2018 = 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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_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 : set_wok_options_by_configid"
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 = "off_count"
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2011
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 = 2044
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "400481201"
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_GADGET_STATE_CHANGE_2018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2019 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2006
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2006
L5_2 = GadgetState
L5_2 = L5_2.GearStop
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = -1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2006
L5_2 = GadgetState
L5_2 = L5_2.GearAction1
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 4 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2006
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2(L3_2, L4_2, L5_2)
end
end
end
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 177002002
L5_2 = "rotationtime1"
L6_2 = 3
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_2019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2010 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2020 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2007
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2007
L5_2 = GadgetState
L5_2 = L5_2.GearStop
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = -1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2007
L5_2 = GadgetState
L5_2 = L5_2.GearAction1
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 4 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2007
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2(L3_2, L4_2, L5_2)
end
end
end
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 177002002
L5_2 = "rotationtime2"
L6_2 = 3
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_2020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2021 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L5_2 = 2
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.GearStart
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = -1
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.GearStop
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L5_2 = 4
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.GearAction1
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 4 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L5_2 = 1
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(L3_2, L4_2, L5_2)
end
end
end
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 177002002
L5_2 = "rotationtime3"
L6_2 = 3
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_2021 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_2022 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_2023 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "state3"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_2024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 2009
L6_2 = 700200004
L7_2 = {}
L8_2 = 5
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_2025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 2010
L6_2 = 700200005
L7_2 = {}
L8_2 = 5
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_2026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 2011
L6_2 = 700200006
L7_2 = {}
L8_2 = 5
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_2027 = 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 = "off_count"
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_2032 = 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 = "400480405"
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_2032 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2034 = 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 = 1357.81
L2_2.y = 266.33
L2_2.z = 700.91
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 = 0
return L4_2
end
action_EVENT_SELECT_OPTION_2034 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2010 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2035 = 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 = 1357.81
L2_2.y = 259.01
L2_2.z = 700.91
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 = 0
return L4_2
end
action_EVENT_SELECT_OPTION_2035 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2036 = 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 = 1357.81
L2_2.y = 248.82
L2_2.z = 700.91
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 = 0
return L4_2
end
action_EVENT_SELECT_OPTION_2036 = 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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = 0
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "state1"
L3_2 = L3_2(L4_2, L5_2)
if L3_2 == 3 then
L2_2 = L2_2 + 1
end
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "state2"
L3_2 = L3_2(L4_2, L5_2)
if L3_2 == 3 then
L2_2 = L2_2 + 1
end
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "state3"
L3_2 = L3_2(L4_2, L5_2)
if L3_2 == 2 then
L2_2 = L2_2 + 1
end
L3_2 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "count"
L6_2 = L2_2
L3_2(L4_2, L5_2, L6_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = 31
L2_2(L3_2, L4_2, L5_2, L6_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "off_count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2001
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2009
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2002
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2010
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2003
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2011
L6_2 = {}
L7_2 = 31
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
end
end
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2004
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_2037 = 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.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2001
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "400481001"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2002
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "400481101"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2003
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "400481201"
L2_2(L3_2, L4_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_2038 = 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 = "count"
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_QUEST_START_2039 = 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 = "400480201"
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_QUEST_START_2039 = 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.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2004
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = true
return L2_2
else
L2_2 = false
return L2_2
end
end
condition_EVENT_QUEST_START_2040 = 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 = "40048_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_QUEST_START_2040 = 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.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177002002
L5_2 = 2004
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStart
if L2_2 == L3_2 then
L2_2 = true
return L2_2
else
L2_2 = false
return L2_2
end
end
condition_EVENT_QUEST_START_2041 = 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 = "40048_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_QUEST_START_2041 = L1_1
L1_1 = "condition_EVENT_ENTER_REGION_2046"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = A1_2.param1
if L2_2 ~= 2046 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 = GadgetState
L2_2 = L2_2.Default
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 177002002
L6_2 = 2004
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_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_ENTER_REGION_2046"
function L2_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 = 400130
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
_ENV[L1_1] = L2_1
L1_1 = "require"
L1_1 = _ENV[L1_1]
L2_1 = "V2_5/Watcher_Tower"
L1_1(L2_1)