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

1458 lines
28 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
L0_1 = {}
L0_1.group_id = 133217040
L1_1 = {}
L2_1 = {}
L2_1.config_id = 40002
L2_1.monster_id = 25030201
L3_1 = {}
L3_1.x = -4336.548
L3_1.y = 200.133
L3_1.z = -4028.057
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 76.225
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_id = 1000100
L2_1.disableWander = true
L3_1 = {}
L4_1 = 1031
L3_1[1] = L4_1
L2_1.affix = L3_1
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 40004
L3_1.monster_id = 25010601
L4_1 = {}
L4_1.x = -4331.802
L4_1.y = 200.217
L4_1.z = -4032.527
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 60.956
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1031
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 40005
L4_1.monster_id = 21020701
L5_1 = {}
L5_1.x = -4283.56
L5_1.y = 201.31
L5_1.z = -4115.651
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 326.426
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 401
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 40006
L5_1.monster_id = 21030303
L6_1 = {}
L6_1.x = -4276.295
L6_1.y = 202.836
L6_1.z = -4118.477
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 324.144
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.pose_id = 9012
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 40007
L6_1.monster_id = 21010701
L7_1 = {}
L7_1.x = -4278.731
L7_1.y = 202.987
L7_1.z = -4149.641
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 340.942
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.disableWander = true
L7_1 = {}
L8_1 = 1031
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 40008
L7_1.monster_id = 21010701
L8_1 = {}
L8_1.x = -4278.742
L8_1.y = 202.847
L8_1.z = -4159.027
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 340.091
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1031
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 40009
L8_1.monster_id = 21010601
L9_1 = {}
L9_1.x = -4288.048
L9_1.y = 203.654
L9_1.z = -4156.395
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 23.461
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 40010
L9_1.monster_id = 21011601
L10_1 = {}
L10_1.x = -4274.3
L10_1.y = 202.891
L10_1.z = -4158.591
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 288.043
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 40011
L10_1.monster_id = 25030301
L11_1 = {}
L11_1.x = -4320.886
L11_1.y = 200.001
L11_1.z = -4040.783
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 301.765
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L11_1 = {}
L12_1 = 1031
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 40012
L11_1.monster_id = 25010501
L12_1 = {}
L12_1.x = -4327.601
L12_1.y = 200.056
L12_1.z = -4037.898
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 5.969
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.disableWander = true
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 40013
L12_1.monster_id = 25010301
L13_1 = {}
L13_1.x = -4326.304
L13_1.y = 200.0
L13_1.z = -4029.266
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 177.652
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.disableWander = true
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 40014
L13_1.monster_id = 21010501
L14_1 = {}
L14_1.x = -4286.647
L14_1.y = 207.503
L14_1.z = -4122.713
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 350.17
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L13_1.disableWander = true
L14_1 = {}
L15_1 = 1018
L14_1[1] = L15_1
L13_1.affix = L14_1
L13_1.isElite = true
L13_1.pose_id = 32
L13_1.area_id = 14
L14_1 = {}
L14_1.config_id = 40019
L14_1.monster_id = 22010301
L15_1 = {}
L15_1.x = -4282.359
L15_1.y = 203.086
L15_1.z = -4154.745
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 336.251
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.drop_id = 1000100
L14_1.disableWander = true
L15_1 = {}
L16_1 = 1031
L15_1[1] = L16_1
L14_1.affix = L15_1
L14_1.area_id = 14
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 40016
L2_1.gadget_id = 70380019
L3_1 = {}
L3_1.x = -4358.323
L3_1.y = 200.593
L3_1.z = -3985.772
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 144.16
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 12
L2_1.route_id = 321700015
L2_1.start_route = false
L2_1.persistent = true
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 40017
L3_1.gadget_id = 70360001
L4_1 = {}
L4_1.x = -4358.203
L4_1.y = 200.563
L4_1.z = -3985.789
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 121.036
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 40018
L4_1.gadget_id = 70300083
L5_1 = {}
L5_1.x = -4281.783
L5_1.y = 201.458
L5_1.z = -4119.0
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.825
L5_1.y = 335.973
L5_1.z = 357.169
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 40020
L5_1.gadget_id = 70710126
L6_1 = {}
L6_1.x = -4232.831
L6_1.y = 199.971
L6_1.z = -4171.314
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 40022
L6_1.gadget_id = 70300090
L7_1 = {}
L7_1.x = -4286.415
L7_1.y = 201.955
L7_1.z = -4123.121
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 165.617
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 27
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 40026
L7_1.gadget_id = 70220004
L8_1 = {}
L8_1.x = -4317.063
L8_1.y = 200.059
L8_1.z = -4045.035
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 40027
L8_1.gadget_id = 70900388
L9_1 = {}
L9_1.x = -4314.146
L9_1.y = 200.323
L9_1.z = -4049.818
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 40028
L9_1.gadget_id = 70220004
L10_1 = {}
L10_1.x = -4311.569
L10_1.y = 200.081
L10_1.z = -4056.319
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 40029
L10_1.gadget_id = 70900388
L11_1 = {}
L11_1.x = -4329.599
L11_1.y = 200.029
L11_1.z = -4026.503
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 40030
L11_1.gadget_id = 70220004
L12_1 = {}
L12_1.x = -4327.482
L12_1.y = 200.052
L12_1.z = -4032.577
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 40031
L12_1.gadget_id = 70900388
L13_1 = {}
L13_1.x = -4323.747
L13_1.y = 200.139
L13_1.z = -4037.304
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 40033
L13_1.gadget_id = 70300091
L14_1 = {}
L14_1.x = -4281.84
L14_1.y = 202.923
L14_1.z = -4159.848
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 243.579
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 14
L14_1 = {}
L14_1.config_id = 40036
L14_1.gadget_id = 70300091
L15_1 = {}
L15_1.x = -4282.666
L15_1.y = 202.311
L15_1.z = -4150.112
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 261.007
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 14
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1040001
L2_1.name = "PLATFORM_REACH_POINT_40001"
L3_1 = EventType
L3_1 = L3_1.EVENT_PLATFORM_REACH_POINT
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_40001"
L2_1.action = "action_EVENT_PLATFORM_REACH_POINT_40001"
L3_1 = {}
L3_1.config_id = 1040021
L3_1.name = "ANY_GADGET_DIE_40021"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_40021"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_40021"
L4_1 = {}
L4_1.config_id = 1040037
L4_1.name = "GADGET_CREATE_40037"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_40037"
L4_1.action = "action_EVENT_GADGET_CREATE_40037"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1040038
L5_1.name = "SELECT_OPTION_40038"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_40038"
L5_1.action = "action_EVENT_SELECT_OPTION_40038"
L6_1 = {}
L6_1.config_id = 1040039
L6_1.name = "CHALLENGE_SUCCESS_40039"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "666"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_40039"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1040040
L7_1.name = "PLATFORM_REACH_POINT_40040"
L8_1 = EventType
L8_1 = L8_1.EVENT_PLATFORM_REACH_POINT
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_40040"
L7_1.action = "action_EVENT_PLATFORM_REACH_POINT_40040"
L7_1.trigger_count = 0
L7_1.tag = "888"
L8_1 = {}
L8_1.config_id = 1040041
L8_1.name = "CHALLENGE_FAIL_40041"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_FAIL
L8_1.event = L9_1
L8_1.source = "666"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_FAIL_40041"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1040042
L9_1.name = "ANY_GADGET_DIE_40042"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_GADGET_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_GADGET_DIE_40042"
L9_1.action = "action_EVENT_ANY_GADGET_DIE_40042"
L10_1 = {}
L10_1.config_id = 1040043
L10_1.name = "PLATFORM_REACH_POINT_40043"
L11_1 = EventType
L11_1 = L11_1.EVENT_PLATFORM_REACH_POINT
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_40043"
L10_1.action = "action_EVENT_PLATFORM_REACH_POINT_40043"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1040045
L11_1.name = "PLATFORM_REACH_POINT_40045"
L12_1 = EventType
L12_1 = L12_1.EVENT_PLATFORM_REACH_POINT
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_40045"
L11_1.action = "action_EVENT_PLATFORM_REACH_POINT_40045"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1040047
L12_1.name = "VARIABLE_CHANGE_40047"
L13_1 = EventType
L13_1 = L13_1.EVENT_VARIABLE_CHANGE
L12_1.event = L13_1
L12_1.source = "isObstacle2Available"
L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_40047"
L12_1.action = "action_EVENT_VARIABLE_CHANGE_40047"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1040048
L13_1.name = "PLATFORM_REACH_POINT_40048"
L14_1 = EventType
L14_1 = L14_1.EVENT_PLATFORM_REACH_POINT
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_40048"
L13_1.action = "action_EVENT_PLATFORM_REACH_POINT_40048"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1040049
L14_1.name = "VARIABLE_CHANGE_40049"
L15_1 = EventType
L15_1 = L15_1.EVENT_VARIABLE_CHANGE
L14_1.event = L15_1
L14_1.source = "isObstacle3Available"
L14_1.condition = "condition_EVENT_VARIABLE_CHANGE_40049"
L14_1.action = "action_EVENT_VARIABLE_CHANGE_40049"
L14_1.trigger_count = 0
L15_1 = {}
L16_1 = 1040050
L15_1.config_id = L16_1
L16_1 = "ANY_GADGET_DIE_40050"
L15_1.name = L16_1
L16_1 = EventType
L16_1 = L16_1.EVENT_ANY_GADGET_DIE
L15_1.event = L16_1
L15_1.source = ""
L16_1 = "condition_EVENT_ANY_GADGET_DIE_40050"
L15_1.condition = L16_1
L16_1 = "action_EVENT_ANY_GADGET_DIE_40050"
L15_1.action = L16_1
L16_1 = {}
L17_1 = 1040051
L16_1.config_id = L17_1
L17_1 = "ANY_GADGET_DIE_40051"
L16_1.name = L17_1
L17_1 = EventType
L17_1 = L17_1.EVENT_ANY_GADGET_DIE
L16_1.event = L17_1
L16_1.source = ""
L17_1 = "condition_EVENT_ANY_GADGET_DIE_40051"
L16_1.condition = L17_1
L17_1 = "action_EVENT_ANY_GADGET_DIE_40051"
L16_1.action = L17_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
triggers = L1_1
L1_1 = "variables"
L2_1 = {}
L3_1 = {}
L4_1 = "configId"
L3_1[L4_1] = 1
L3_1.name = "isObstacle2Available"
L4_1 = "value"
L3_1[L4_1] = 1
L4_1 = "no_refresh"
L3_1[L4_1] = false
L4_1 = {}
L5_1 = "configId"
L6_1 = 2
L4_1[L5_1] = L6_1
L4_1.name = "isObstacle3Available"
L5_1 = "value"
L6_1 = 2
L4_1[L5_1] = L6_1
L5_1 = "no_refresh"
L4_1[L5_1] = false
L2_1[1] = L3_1
L2_1[2] = L4_1
_ENV[L1_1] = L2_1
L1_1 = "init_config"
L2_1 = {}
L3_1 = "suite"
L2_1[L3_1] = 1
L3_1 = "end_suite"
L4_1 = 3
L2_1[L3_1] = L4_1
L3_1 = "rand_suite"
L2_1[L3_1] = false
_ENV[L1_1] = L2_1
L1_1 = "suites"
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 40016
L6_1 = 40017
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_40037"
L6_1 = "SELECT_OPTION_40038"
L7_1 = "CHALLENGE_SUCCESS_40039"
L8_1 = "PLATFORM_REACH_POINT_40040"
L9_1 = "CHALLENGE_FAIL_40041"
L10_1 = "ANY_GADGET_DIE_40042"
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
L3_1.triggers = L4_1
L4_1 = "rand_weight"
L5_1 = 100
L3_1[L4_1] = L5_1
L4_1 = {}
L5_1 = {}
L6_1 = 40005
L7_1 = 40006
L8_1 = 40014
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 40018
L7_1 = 40020
L8_1 = 40022
L9_1 = 40026
L10_1 = 40027
L11_1 = 40028
L12_1 = 40029
L13_1 = 40030
L14_1 = 40031
L15_1 = 40033
L16_1 = 40036
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "PLATFORM_REACH_POINT_40001"
L7_1 = "ANY_GADGET_DIE_40021"
L8_1 = "PLATFORM_REACH_POINT_40043"
L9_1 = "PLATFORM_REACH_POINT_40045"
L10_1 = "VARIABLE_CHANGE_40047"
L11_1 = "PLATFORM_REACH_POINT_40048"
L12_1 = "VARIABLE_CHANGE_40049"
L13_1 = "ANY_GADGET_DIE_40050"
L14_1 = "ANY_GADGET_DIE_40051"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_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 = {}
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 = {}
L8_1 = 40002
L9_1 = 40004
L10_1 = 40011
L11_1 = 40012
L12_1 = 40013
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L6_1.monsters = L7_1
L7_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
L7_1 = {}
L8_1 = {}
L9_1 = 40007
L10_1 = 40008
L11_1 = 40009
L12_1 = 40010
L13_1 = 40019
L8_1[1] = L9_1
L8_1[2] = L10_1
L8_1[3] = L11_1
L8_1[4] = L12_1
L8_1[5] = L13_1
L7_1.monsters = L8_1
L8_1 = {}
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L7_1.triggers = L8_1
L8_1 = "rand_weight"
L9_1 = 100
L7_1[L8_1] = L9_1
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
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 321700015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param3
if 32 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_PLATFORM_REACH_POINT_40001 = 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 = 133217040
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217040
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_40001 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40018 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_40021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "isObstacle2Available"
L5_2 = -1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_40021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40017 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_40037 = 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 = 133217040
L5_2 = 40017
L6_2 = {}
L7_2 = 7
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_40037 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40017 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_40038 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 15
L6_2 = 300
L7_2 = 26
L8_2 = 888
L9_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 40016
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 : start_platform"
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 = 40017
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217040
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_40038 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217040
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 = 133217040
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133217040
L5_2 = 3
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_40039 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 321700015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param3
if 52 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_PLATFORM_REACH_POINT_40040 = 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.StopChallenge
L3_2 = A0_2
L4_2 = 666
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 = 40016
L5_2 = GadgetState
L5_2 = L5_2.GearAction2
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_40040 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217040
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 = 133217040
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217040
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133217040
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_40041 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_40042 = 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.StopChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_40042 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 321700015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param3
if 5 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_PLATFORM_REACH_POINT_40043 = 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 = 133217040
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_40043 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 40016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 321700015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param3
if 28 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isObstacle2Available"
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_PLATFORM_REACH_POINT_40045 = 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.StopPlatform
L3_2 = A0_2
L4_2 = 40016
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 : stop_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217040
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_40045 = 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 = "isObstacle2Available"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_40047 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 40016
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_40047 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 40016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 321700015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param3
if 34 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isObstacle3Available"
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_PLATFORM_REACH_POINT_40048 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StopPlatform
L3_2 = A0_2
L4_2 = 40016
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 : stop_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_40048 = 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 = "isObstacle3Available"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_40049 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 40016
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_40049 = L1_1
L1_1 = "condition_EVENT_ANY_GADGET_DIE_40050"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40033 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_ANY_GADGET_DIE_40050"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "isObstacle3Available"
L5_2 = -1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_ANY_GADGET_DIE_40051"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 40036 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_ANY_GADGET_DIE_40051"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "isObstacle3Available"
L5_2 = -1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L1_1] = L2_1