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

2661 lines
55 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
L0_1 = {}
L0_1.group_id = 177003002
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 = 1335.85
L3_1.y = 275.69
L3_1.z = -656.753
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 108.057
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.persistent = true
L2_1.interact_id = 103
L2_1.area_id = 210
L3_1 = {}
L3_1.config_id = 2002
L3_1.gadget_id = 70330202
L4_1 = {}
L4_1.x = 1306.229
L4_1.y = 265.08
L4_1.z = -668.626
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 108.057
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.persistent = true
L3_1.interact_id = 104
L3_1.area_id = 210
L4_1 = {}
L4_1.config_id = 2003
L4_1.gadget_id = 70330202
L5_1 = {}
L5_1.x = 1326.889
L5_1.y = 258.096
L5_1.z = -695.639
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 108.057
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.persistent = true
L4_1.interact_id = 105
L4_1.area_id = 210
L5_1 = {}
L5_1.config_id = 2004
L5_1.gadget_id = 70330154
L6_1 = {}
L6_1.x = 1293.1
L6_1.y = 294.062
L6_1.z = -629.37
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 60.0
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 = 70330166
L7_1 = {}
L7_1.x = 1298.646
L7_1.y = 258.49
L7_1.z = -658.919
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 90.155
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 = 70330178
L8_1 = {}
L8_1.x = 1293.1
L8_1.y = 271.691
L8_1.z = -629.37
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 330.0
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 = 70330181
L9_1 = {}
L9_1.x = 1293.1
L9_1.y = 271.691
L9_1.z = -629.37
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 240.0
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 = 70330184
L10_1 = {}
L10_1.x = 1293.1
L10_1.y = 271.691
L10_1.z = -629.37
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 150.0
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 = 1335.85
L11_1.y = 275.69
L11_1.z = -656.753
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 326.552
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.persistent = true
L10_1.area_id = 210
L11_1 = {}
L11_1.config_id = 2010
L11_1.gadget_id = 70330159
L12_1 = {}
L12_1.x = 1306.229
L12_1.y = 265.08
L12_1.z = -668.626
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 326.276
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.persistent = true
L11_1.area_id = 210
L12_1 = {}
L12_1.config_id = 2011
L12_1.gadget_id = 70330159
L13_1 = {}
L13_1.x = 1326.889
L13_1.y = 258.096
L13_1.z = -695.639
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 336.681
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.persistent = true
L12_1.area_id = 210
L13_1 = {}
L13_1.config_id = 2028
L13_1.gadget_id = 70330163
L14_1 = {}
L14_1.x = 1335.85
L14_1.y = 275.69
L14_1.z = -656.753
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 326.552
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 = 1306.229
L15_1.y = 265.075
L15_1.z = -668.626
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 326.276
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 = 1326.889
L16_1.y = 258.096
L16_1.z = -695.639
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 336.681
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 = 70330174
L17_1 = {}
L17_1.x = 1293.1
L17_1.y = 271.691
L17_1.z = -629.37
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 60.0
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 = 2032
L17_1.gadget_id = 70330186
L18_1 = {}
L18_1.x = 1293.1
L18_1.y = 271.691
L18_1.z = -629.37
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 60.0
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 = 2041
L18_1.gadget_id = 70330190
L19_1 = {}
L19_1.x = 1336.029
L19_1.y = 277.744
L19_1.z = -657.009
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 341.34
L19_1.y = 300.143
L19_1.z = 359.603
L18_1.rot = L19_1
L18_1.level = 36
L18_1.persistent = true
L18_1.area_id = 210
L19_1 = {}
L19_1.config_id = 2042
L19_1.gadget_id = 70330190
L20_1 = {}
L20_1.x = 1306.231
L20_1.y = 266.671
L20_1.z = -668.573
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 335.976
L20_1.y = 338.886
L20_1.z = 7.885
L19_1.rot = L20_1
L19_1.level = 36
L19_1.persistent = true
L19_1.area_id = 210
L20_1 = {}
L20_1.config_id = 2043
L20_1.gadget_id = 70330190
L21_1 = {}
L21_1.x = 1327.378
L21_1.y = 260.496
L21_1.z = -695.876
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 350.477
L21_1.y = 334.316
L21_1.z = 0.001
L20_1.rot = L21_1
L20_1.level = 36
L20_1.persistent = true
L20_1.area_id = 210
L21_1 = {}
L21_1.config_id = 2044
L21_1.gadget_id = 70330191
L22_1 = {}
L22_1.x = 1273.63
L22_1.y = 309.3
L22_1.z = -613.7
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 45.304
L22_1.y = 64.677
L22_1.z = 118.35
L21_1.rot = L22_1
L21_1.level = 36
L21_1.area_id = 210
L22_1 = {}
L22_1.config_id = 2046
L22_1.gadget_id = 70330201
L23_1 = {}
L23_1.x = 1283.259
L23_1.y = 288.393
L23_1.z = -634.693
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 = 2047
L23_1.gadget_id = 70330201
L24_1 = {}
L24_1.x = 1303.514
L24_1.y = 288.64
L24_1.z = -622.858
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 355.908
L24_1.y = 359.581
L24_1.z = 7.246
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 = 7
L3_1 = {}
L3_1.x = 1304.245
L3_1.y = 258.216
L3_1.z = -658.403
L2_1.pos = L3_1
L2_1.area_id = 210
L3_1 = {}
L3_1.config_id = 2045
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 8
L4_1 = {}
L4_1.x = 1292.937
L4_1.y = 297.893
L4_1.z = -629.334
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 = 1002033
L18_1.name = "SELECT_OPTION_2033"
L19_1 = EventType
L19_1 = L19_1.EVENT_SELECT_OPTION
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_SELECT_OPTION_2033"
L18_1.action = "action_EVENT_SELECT_OPTION_2033"
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 = "GROUP_LOAD_2036"
L22_1 = EventType
L22_1 = L22_1.EVENT_GROUP_LOAD
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = ""
L21_1.action = "action_EVENT_GROUP_LOAD_2036"
L21_1.trigger_count = 0
L22_1 = {}
L22_1.config_id = 1002037
L22_1.name = "QUEST_START_2037"
L23_1 = EventType
L23_1 = L23_1.EVENT_QUEST_START
L22_1.event = L23_1
L22_1.source = "4004901"
L22_1.condition = ""
L22_1.action = "action_EVENT_QUEST_START_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 = "4004902"
L23_1.condition = "condition_EVENT_QUEST_START_2038"
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 = "4004903"
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 = "4004914"
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 = 1002045
L26_1.name = "ENTER_REGION_2045"
L27_1 = EventType
L27_1 = L27_1.EVENT_ENTER_REGION
L26_1.event = L27_1
L26_1.source = ""
L26_1.condition = "condition_EVENT_ENTER_REGION_2045"
L26_1.action = "action_EVENT_ENTER_REGION_2045"
L26_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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "count"
L3_1 = "value"
L2_1[L3_1] = 0
L3_1 = "no_refresh"
L2_1[L3_1] = true
L3_1 = {}
L4_1 = 2
L3_1.configId = L4_1
L3_1.name = "state1"
L4_1 = "value"
L3_1[L4_1] = 1
L4_1 = "no_refresh"
L3_1[L4_1] = true
L4_1 = {}
L5_1 = 3
L4_1.configId = L5_1
L4_1.name = "state2"
L5_1 = "value"
L4_1[L5_1] = 1
L5_1 = "no_refresh"
L4_1[L5_1] = true
L5_1 = {}
L6_1 = 4
L5_1.configId = L6_1
L5_1.name = "state3"
L6_1 = "value"
L5_1[L6_1] = 1
L6_1 = "no_refresh"
L5_1[L6_1] = true
L6_1 = {}
L7_1 = 5
L6_1.configId = L7_1
L7_1 = "off_count"
L6_1.name = L7_1
L7_1 = "value"
L6_1[L7_1] = 0
L7_1 = "no_refresh"
L6_1[L7_1] = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
variables = L1_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 = 2041
L16_1 = 2042
L17_1 = 2043
L18_1 = 2046
L19_1 = 2047
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 = 2045
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 = "SELECT_OPTION_2033"
L22_1 = "SELECT_OPTION_2034"
L23_1 = "SELECT_OPTION_2035"
L24_1 = "GROUP_LOAD_2036"
L25_1 = "QUEST_START_2037"
L26_1 = "QUEST_START_2038"
L27_1 = "QUEST_START_2039"
L28_1 = "QUEST_START_2040"
L29_1 = "ENTER_REGION_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
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
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 = 2032
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 = 2044
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 = "400490201"
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 = 177003002
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 = 60
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, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2046
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 = 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.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.AddExtraGroupSuite
L5_2 = A0_2
L6_2 = 177003002
L7_2 = 4
L4_2(L5_2, L6_2, L7_2)
L4_2 = ScriptLib
L4_2 = L4_2.AddQuestProgress
L5_2 = A0_2
L6_2 = "40049_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 = "400490401"
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 = 177003002
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 = 177003002
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 = 177003002
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 = 2041
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 = "400491001"
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 = 177003002
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 = 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 = "400491101"
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 = 177003002
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 = 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 = "400491201"
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.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.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.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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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.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)
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
end
end
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 177003002
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 = 177003002
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 == 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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 == 4 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 = 177003002
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 = 177003002
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 = 177003002
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 = 700300004
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 = 700300005
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 = 700300006
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
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_2033 = 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 = 1294.58
L2_2.y = 298.5
L2_2.z = -632.14
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_2033 = 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_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 = 1294.58
L2_2.y = 288.14
L2_2.z = -632.14
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 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_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 = 1294.58
L2_2.y = 280.31
L2_2.z = -632.14
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, 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 == 2 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 == 4 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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
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 = 177003002
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_2036 = 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 = 177003002
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 = "400491001"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177003002
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 = "400491101"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177003002
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 = "400491201"
L2_2(L3_2, L4_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_2037 = 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_2038 = 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 = "400490201"
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_2038 = 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 = 177003002
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_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 = "40049_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_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 = 177003002
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 = "40049_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, L6_2
L2_2 = A1_2.param1
if L2_2 ~= 2045 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 = 177003002
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
condition_EVENT_ENTER_REGION_2045 = 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 = 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
action_EVENT_ENTER_REGION_2045 = L1_1
L1_1 = "require"
L1_1 = _ENV[L1_1]
L2_1 = "V2_5/Watcher_Tower"
L1_1(L2_1)