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

1332 lines
25 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 = 243013004
L1_1 = {}
L1_1.gadget_1 = 4001
L1_1.group_1 = 243013004
L1_1.group_core = 243013005
L1_1.challenge_father = 999
L1_1.challenge1 = 120
L1_1.PoolList = 21009
L1_1.MonsterCount = 25
L1_1.challenge_kill = 233
L1_1.total_count = 5
L1_1.min_count = 3
L1_1.max_count = 3
L1_1.tag = 0
L1_1.Region1 = 4042
L2_1 = {}
L3_1 = {}
L3_1.config_id = 4009
L3_1.monster_id = 21010301
L4_1 = {}
L4_1.x = 25.986
L4_1.y = -19.559
L4_1.z = -48.107
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 154.975
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 11
L3_1.disableWander = true
L4_1 = {}
L5_1 = 4155
L4_1[1] = L5_1
L3_1.affix = L4_1
L4_1 = {}
L4_1.config_id = 4016
L4_1.monster_id = 21010301
L5_1 = {}
L5_1.x = 32.397
L5_1.y = -19.559
L5_1.z = -46.539
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 177.984
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 11
L4_1.disableWander = true
L5_1 = {}
L6_1 = 4155
L5_1[1] = L6_1
L4_1.affix = L5_1
L5_1 = {}
L5_1.config_id = 4017
L5_1.monster_id = 21010301
L6_1 = {}
L6_1.x = 38.816
L6_1.y = -19.557
L6_1.z = -48.353
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 234.713
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 11
L5_1.disableWander = true
L6_1 = {}
L7_1 = 4155
L6_1[1] = L7_1
L5_1.affix = L6_1
L6_1 = {}
L6_1.config_id = 4018
L6_1.monster_id = 20011201
L7_1 = {}
L7_1.x = 27.622
L7_1.y = -19.498
L7_1.z = -44.391
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 165.135
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 11
L6_1.disableWander = true
L7_1 = {}
L8_1 = 4155
L7_1[1] = L8_1
L6_1.affix = L7_1
L7_1 = {}
L7_1.config_id = 4019
L7_1.monster_id = 20011201
L8_1 = {}
L8_1.x = 37.412
L8_1.y = -19.498
L8_1.z = -44.409
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 204.028
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 11
L7_1.disableWander = true
L8_1 = {}
L9_1 = 4155
L8_1[1] = L9_1
L7_1.affix = L8_1
L8_1 = {}
L8_1.config_id = 4020
L8_1.monster_id = 21010201
L9_1 = {}
L9_1.x = 33.428
L9_1.y = -19.498
L9_1.z = -62.016
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 = 11
L8_1.disableWander = true
L9_1 = {}
L10_1 = 4155
L9_1[1] = L10_1
L8_1.affix = L9_1
L9_1 = {}
L9_1.config_id = 4021
L9_1.monster_id = 21010201
L10_1 = {}
L10_1.x = 26.727
L10_1.y = -19.498
L10_1.z = -59.669
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 33.495
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 11
L9_1.disableWander = true
L10_1 = {}
L11_1 = 4155
L10_1[1] = L11_1
L9_1.affix = L10_1
L10_1 = {}
L10_1.config_id = 4022
L10_1.monster_id = 21010201
L11_1 = {}
L11_1.x = 22.959
L11_1.y = -19.498
L11_1.z = -52.735
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 84.871
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 11
L10_1.disableWander = true
L11_1 = {}
L12_1 = 4155
L11_1[1] = L12_1
L10_1.affix = L11_1
L11_1 = {}
L11_1.config_id = 4023
L11_1.monster_id = 20010601
L12_1 = {}
L12_1.x = 30.024
L12_1.y = -19.554
L12_1.z = -63.619
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 4.355
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 11
L11_1.disableWander = true
L12_1 = {}
L13_1 = 4155
L12_1[1] = L13_1
L11_1.affix = L12_1
L12_1 = {}
L12_1.config_id = 4024
L12_1.monster_id = 20010701
L13_1 = {}
L13_1.x = 23.206
L13_1.y = -19.498
L13_1.z = -57.131
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 68.598
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 11
L12_1.disableWander = true
L13_1 = {}
L14_1 = 4155
L13_1[1] = L14_1
L12_1.affix = L13_1
L13_1 = {}
L13_1.config_id = 4025
L13_1.monster_id = 21010701
L14_1 = {}
L14_1.x = 39.416
L14_1.y = -19.498
L14_1.z = -58.002
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 302.374
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 11
L13_1.disableWander = true
L14_1 = {}
L15_1 = 4155
L14_1[1] = L15_1
L13_1.affix = L14_1
L14_1 = {}
L14_1.config_id = 4026
L14_1.monster_id = 21010701
L15_1 = {}
L15_1.x = 41.9
L15_1.y = -19.498
L15_1.z = -45.046
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 228.608
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 11
L14_1.disableWander = true
L15_1 = {}
L16_1 = 4155
L15_1[1] = L16_1
L14_1.affix = L15_1
L15_1 = {}
L15_1.config_id = 4027
L15_1.monster_id = 21010701
L16_1 = {}
L16_1.x = 24.165
L16_1.y = -19.498
L16_1.z = -60.724
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 47.284
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 11
L15_1.disableWander = true
L16_1 = {}
L17_1 = 4155
L16_1[1] = L17_1
L15_1.affix = L16_1
L16_1 = {}
L16_1.config_id = 4028
L16_1.monster_id = 21010901
L17_1 = {}
L17_1.x = 38.196
L17_1.y = -19.543
L17_1.z = -62.599
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 327.905
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 11
L16_1.disableWander = true
L17_1 = {}
L18_1 = 4155
L17_1[1] = L18_1
L16_1.affix = L17_1
L17_1 = {}
L17_1.config_id = 4029
L17_1.monster_id = 21010901
L18_1 = {}
L18_1.x = 42.905
L18_1.y = -19.559
L18_1.z = -52.821
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 267.277
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 11
L17_1.disableWander = true
L18_1 = {}
L19_1 = 4155
L18_1[1] = L19_1
L17_1.affix = L18_1
L18_1 = {}
L18_1.config_id = 4030
L18_1.monster_id = 21010501
L19_1 = {}
L19_1.x = 32.406
L19_1.y = -19.498
L19_1.z = -43.523
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 190.611
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 11
L18_1.disableWander = true
L19_1 = {}
L20_1 = 4155
L19_1[1] = L20_1
L18_1.affix = L19_1
L19_1 = {}
L19_1.config_id = 4031
L19_1.monster_id = 21010501
L20_1 = {}
L20_1.x = 22.653
L20_1.y = -19.498
L20_1.z = -47.708
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 107.204
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 11
L19_1.disableWander = true
L20_1 = {}
L21_1 = 4155
L20_1[1] = L21_1
L19_1.affix = L20_1
L20_1 = {}
L20_1.config_id = 4032
L20_1.monster_id = 22010101
L21_1 = {}
L21_1.x = 27.878
L21_1.y = -19.498
L21_1.z = -42.025
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 149.374
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 11
L20_1.disableWander = true
L21_1 = {}
L22_1 = 4155
L21_1[1] = L22_1
L20_1.affix = L21_1
L21_1 = {}
L21_1.config_id = 4033
L21_1.monster_id = 22010301
L22_1 = {}
L22_1.x = 35.916
L22_1.y = -19.498
L22_1.z = -42.422
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 223.409
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 11
L21_1.disableWander = true
L22_1 = {}
L23_1 = 4155
L22_1[1] = L23_1
L21_1.affix = L22_1
L22_1 = {}
L22_1.config_id = 4035
L22_1.monster_id = 21020701
L23_1 = {}
L23_1.x = 39.949
L23_1.y = -19.498
L23_1.z = -60.086
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 = 11
L22_1.disableWander = true
L23_1 = {}
L24_1 = 4155
L23_1[1] = L24_1
L22_1.affix = L23_1
L23_1 = {}
L23_1.config_id = 4036
L23_1.monster_id = 21020201
L24_1 = {}
L24_1.x = 32.714
L24_1.y = -19.557
L24_1.z = -63.034
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 = 11
L23_1.disableWander = true
L24_1 = {}
L25_1 = 4155
L24_1[1] = L25_1
L23_1.affix = L24_1
L24_1 = {}
L24_1.config_id = 4037
L24_1.monster_id = 21020701
L25_1 = {}
L25_1.x = 26.448
L25_1.y = -19.498
L25_1.z = -60.78
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 11
L24_1.disableWander = true
L25_1 = {}
L26_1 = 4155
L25_1[1] = L26_1
L24_1.affix = L25_1
L25_1 = {}
L25_1.config_id = 4038
L25_1.monster_id = 21030501
L26_1 = {}
L26_1.x = 40.879
L26_1.y = -19.559
L26_1.z = -40.384
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 180.064
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 11
L25_1.disableWander = true
L26_1 = {}
L27_1 = 4155
L26_1[1] = L27_1
L25_1.affix = L26_1
L26_1 = {}
L26_1.config_id = 4039
L26_1.monster_id = 21030501
L27_1 = {}
L27_1.x = 23.418
L27_1.y = -19.559
L27_1.z = -40.558
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 180.064
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 11
L26_1.disableWander = true
L27_1 = {}
L28_1 = 4155
L27_1[1] = L28_1
L26_1.affix = L27_1
L27_1 = {}
L27_1.config_id = 4040
L27_1.monster_id = 21020801
L28_1 = {}
L28_1.x = 32.578
L28_1.y = -19.498
L28_1.z = -42.851
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 180.064
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 11
L27_1.disableWander = true
L28_1 = {}
L29_1 = 4155
L28_1[1] = L29_1
L27_1.affix = L28_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
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
L2_1[18] = L20_1
L2_1[19] = L21_1
L2_1[20] = L22_1
L2_1[21] = L23_1
L2_1[22] = L24_1
L2_1[23] = L25_1
L2_1[24] = L26_1
L2_1[25] = L27_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 4001
L3_1.gadget_id = 70360010
L4_1 = {}
L4_1.x = 31.059
L4_1.y = -19.662
L4_1.z = -52.312
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L2_1[1] = L3_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 4042
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 80.0
L4_1.y = 50.0
L4_1.z = 80.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = 31.059
L4_1.y = -19.662
L4_1.z = -52.312
L3_1.pos = L4_1
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1004002
L3_1.name = "GADGET_CREATE_4002"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_4002"
L3_1.action = "action_EVENT_GADGET_CREATE_4002"
L4_1 = {}
L4_1.config_id = 1004003
L4_1.name = "SELECT_OPTION_4003"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_4003"
L4_1.action = "action_EVENT_SELECT_OPTION_4003"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1004004
L5_1.name = "VARIABLE_CHANGE_4004"
L6_1 = EventType
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
L5_1.event = L6_1
L5_1.source = "success"
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_4004"
L5_1.action = "action_EVENT_VARIABLE_CHANGE_4004"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1004005
L6_1.name = "CHALLENGE_SUCCESS_4005"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "120"
L6_1.condition = ""
L6_1.action = ""
L7_1 = {}
L7_1.config_id = 1004006
L7_1.name = "CHALLENGE_FAIL_4006"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
L7_1.event = L8_1
L7_1.source = "120"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_FAIL_4006"
L8_1 = {}
L8_1.config_id = 1004008
L8_1.name = "ANY_MONSTER_DIE_4008"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_4008"
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_4008"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1004014
L9_1.name = "ANY_MONSTER_LIVE_4014"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_LIVE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_4014"
L9_1.action = "action_EVENT_ANY_MONSTER_LIVE_4014"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1004015
L10_1.name = "ANY_MONSTER_DIE_4015"
L11_1 = EventType
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_4015"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1004034
L11_1.name = "MONSTER_TIDE_DIE_4034"
L12_1 = EventType
L12_1 = L12_1.EVENT_MONSTER_TIDE_DIE
L11_1.event = L12_1
L11_1.source = "1"
L11_1.condition = "condition_EVENT_MONSTER_TIDE_DIE_4034"
L11_1.action = "action_EVENT_MONSTER_TIDE_DIE_4034"
L12_1 = {}
L12_1.config_id = 1004041
L12_1.name = "ANY_MONSTER_DIE_4041"
L13_1 = EventType
L13_1 = L13_1.EVENT_ANY_MONSTER_DIE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_ANY_MONSTER_DIE_4041"
L12_1.action = "action_EVENT_ANY_MONSTER_DIE_4041"
L13_1 = {}
L13_1.config_id = 1004042
L13_1.name = "LEAVE_REGION_4042"
L14_1 = EventType
L14_1 = L14_1.EVENT_LEAVE_REGION
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_LEAVE_REGION_4042"
L13_1.action = "action_EVENT_LEAVE_REGION_4042"
L13_1.trigger_count = 0
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
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 4007
L4_1 = {}
L4_1.x = 22.265
L4_1.y = -19.498
L4_1.z = -49.994
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 184.777
L4_1.z = 0.0
L3_1.rot = L4_1
L4_1 = {}
L4_1.config_id = 4010
L5_1 = {}
L5_1.x = 25.594
L5_1.y = -19.498
L5_1.z = -43.814
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 184.777
L5_1.z = 0.0
L4_1.rot = L5_1
L5_1 = {}
L5_1.config_id = 4011
L6_1 = {}
L6_1.x = 32.178
L6_1.y = -19.559
L6_1.z = -40.248
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 184.777
L6_1.z = 0.0
L5_1.rot = L6_1
L6_1 = {}
L6_1.config_id = 4012
L7_1 = {}
L7_1.x = 40.846
L7_1.y = -19.498
L7_1.z = -43.5
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 184.777
L7_1.z = 0.0
L6_1.rot = L7_1
L7_1 = {}
L7_1.config_id = 4013
L8_1 = {}
L8_1.x = 43.309
L8_1.y = -19.558
L8_1.z = -49.692
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 184.777
L8_1.z = 0.0
L7_1.rot = L8_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
points = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "success"
L3_1.value = 0
L3_1.no_refresh = false
L2_1[1] = L3_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L3_1 = "rand_suite"
L2_1[L3_1] = false
init_config = L2_1
L2_1 = "suites"
L3_1 = {}
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 4001
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 4042
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_CREATE_4002"
L7_1 = "SELECT_OPTION_4003"
L8_1 = "VARIABLE_CHANGE_4004"
L9_1 = "CHALLENGE_SUCCESS_4005"
L10_1 = "CHALLENGE_FAIL_4006"
L11_1 = "ANY_MONSTER_DIE_4015"
L12_1 = "MONSTER_TIDE_DIE_4034"
L13_1 = "LEAVE_REGION_4042"
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
L4_1.triggers = L5_1
L5_1 = "rand_weight"
L6_1 = 100
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = {}
L7_1 = 4035
L8_1 = 4036
L9_1 = 4037
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ANY_MONSTER_DIE_4041"
L6_1[1] = L7_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 = 4038
L9_1 = 4039
L10_1 = 4040
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_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
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
_ENV[L2_1] = L3_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_1
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_4002 = L2_1
function L2_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 = L1_1.group_1
L5_2 = L1_1.gadget_1
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_4002 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 4001 ~= 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_4003 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2, L25_2
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "SetKillMonsterTarget"
L6_2 = {}
L7_2 = L1_1.group_1
L8_2 = L1_1.MonsterCount
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "StartSubChallengeKillMonster"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = L1_1.challenge_kill
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = L1_1.group_1
L6_2 = {}
L7_2 = 4009
L8_2 = 4016
L9_2 = 4017
L10_2 = 4018
L11_2 = 4019
L12_2 = 4020
L13_2 = 4021
L14_2 = 4022
L15_2 = 4023
L16_2 = 4024
L17_2 = 4025
L18_2 = 4026
L19_2 = 4027
L20_2 = 4028
L21_2 = 4029
L22_2 = 4030
L23_2 = 4031
L24_2 = 4032
L25_2 = 4033
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L6_2[4] = L10_2
L6_2[5] = L11_2
L6_2[6] = L12_2
L6_2[7] = L13_2
L6_2[8] = L14_2
L6_2[9] = L15_2
L6_2[10] = L16_2
L6_2[11] = L17_2
L6_2[12] = L18_2
L6_2[13] = L19_2
L6_2[14] = L20_2
L6_2[15] = L21_2
L6_2[16] = L22_2
L6_2[17] = L23_2
L6_2[18] = L24_2
L6_2[19] = L25_2
L7_2 = 19
L8_2 = 5
L9_2 = 5
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 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = L1_1.gadget_1
L6_2 = 7
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 : del_work_options_by_group_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 = L1_1.gadget_1
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 5009
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_4003 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_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 = "success"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "success"
L5_2 = 243013005
L2_2 = L2_2(L3_2, L4_2, L5_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_4004 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "success"
L5_2 = 1
L6_2 = L1_1.group_core
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 : change_GroupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_4004 = L2_1
function L2_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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = L1_1.gadget_1
L6_2 = GadgetState
L6_2 = L6_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = L1_1.gadget_1
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 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_1
L4_2.group_id = L5_2
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_4006 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 <= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_4008 = L2_1
function L2_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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "key1"
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.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AddChildChallengeScore"
L6_2 = {}
L7_2 = 1
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_4008 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.monster_1
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_4014 = L2_1
function L2_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.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "DefineFatherIndex"
L6_2 = {}
L7_2 = L1_1.challenge_father
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "DefineChildChallengeScore"
L6_2 = {}
L7_2 = 1
L8_2 = 1
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AttachChildChallengeFromDiffGroup"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = 233
L9_2 = 2
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_4014 = L2_1
function L2_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.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AddMistTrialChildChallengeScore"
L6_2 = {}
L7_2 = 1
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_4015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 19 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_MONSTER_TIDE_DIE_4034 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 243013004
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_MONSTER_TIDE_DIE_4034 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_4041 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 243013004
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_4041 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L2_2 = L2_2(L3_2, L4_2)
L3_2 = L1_1.Region1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_4042 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "StopMistTrialChildChallenge"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = 0
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_1
L4_2.group_id = L5_2
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_LEAVE_REGION_4042 = L2_1