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

1377 lines
26 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1, L39_1
L0_1 = {}
L0_1.group_id = 220008003
L1_1 = {}
L1_1.gadget_id_1 = 193
L1_1.gadget_id_2 = 1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 50
L3_1.monster_id = 20011301
L4_1 = {}
L4_1.x = 455.642
L4_1.y = -28.484
L4_1.z = 260.679
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 22.659
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L2_1[1] = L3_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 193
L3_1.gadget_id = 70350003
L4_1 = {}
L4_1.x = 485.934
L4_1.y = -28.585
L4_1.z = 266.299
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 90.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 194
L4_1.gadget_id = 70350003
L5_1 = {}
L5_1.x = 440.258
L5_1.y = -25.618
L5_1.z = 246.296
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 195
L5_1.gadget_id = 70360002
L6_1 = {}
L6_1.x = 488.781
L6_1.y = -28.514
L6_1.z = 269.575
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 135.152
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 197
L6_1.gadget_id = 70220002
L7_1 = {}
L7_1.x = 470.541
L7_1.y = -28.41
L7_1.z = 267.466
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 339.627
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 247
L7_1.gadget_id = 70220010
L8_1 = {}
L8_1.x = 447.865
L8_1.y = -28.327
L8_1.z = 266.131
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 91.123
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 248
L8_1.gadget_id = 70220023
L9_1 = {}
L9_1.x = 458.129
L9_1.y = -28.433
L9_1.z = 265.689
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 52.075
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 365
L9_1.gadget_id = 70380001
L10_1 = {}
L10_1.x = 433.284
L10_1.y = -26.337
L10_1.z = 222.074
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.start_route = false
L10_1 = {}
L10_1.config_id = 366
L10_1.gadget_id = 70380001
L11_1 = {}
L11_1.x = 443.286
L11_1.y = -26.337
L11_1.z = 222.069
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.start_route = false
L11_1 = {}
L11_1.config_id = 389
L11_1.gadget_id = 70211022
L12_1 = {}
L12_1.x = 440.503
L12_1.y = -28.503
L12_1.z = 266.212
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 88.017
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.chest_drop_id = 11010100
L11_1.drop_count = 1
L12_1 = GadgetState
L12_1 = L12_1.ChestLocked
L11_1.state = L12_1
L11_1.isOneoff = true
L12_1 = {}
L12_1.config_id = 390
L12_1.gadget_id = 70220013
L13_1 = {}
L13_1.x = 444.555
L13_1.y = -28.284
L13_1.z = 248.684
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 349.243
L13_1.y = 186.27
L13_1.z = 355.368
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 391
L13_1.gadget_id = 70220013
L14_1 = {}
L14_1.x = 466.116
L14_1.y = -28.426
L14_1.z = 283.259
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.203
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 392
L14_1.gadget_id = 70220014
L15_1 = {}
L15_1.x = 464.676
L15_1.y = -28.637
L15_1.z = 283.869
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 216.038
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 393
L15_1.gadget_id = 70220014
L16_1 = {}
L16_1.x = 443.926
L16_1.y = -28.611
L16_1.z = 284.117
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 302.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 394
L16_1.gadget_id = 70220014
L17_1 = {}
L17_1.x = 438.315
L17_1.y = -28.489
L17_1.z = 278.548
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 229.73
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 395
L17_1.gadget_id = 70220014
L18_1 = {}
L18_1.x = 445.859
L18_1.y = -28.627
L18_1.z = 284.42
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 54.228
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 398
L18_1.gadget_id = 70220014
L19_1 = {}
L19_1.x = 464.315
L19_1.y = -28.57
L19_1.z = 248.638
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 175.453
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 401
L19_1.gadget_id = 70220023
L20_1 = {}
L20_1.x = 450.418
L20_1.y = -28.484
L20_1.z = 260.969
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 281.483
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 402
L20_1.gadget_id = 70220023
L21_1 = {}
L21_1.x = 452.718
L21_1.y = -28.433
L21_1.z = 265.714
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 317.004
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 403
L21_1.gadget_id = 70220023
L22_1 = {}
L22_1.x = 449.683
L22_1.y = -28.483
L22_1.z = 271.023
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 148.263
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 404
L22_1.gadget_id = 70220023
L23_1 = {}
L23_1.x = 454.572
L23_1.y = -28.433
L23_1.z = 270.638
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 133.318
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 405
L23_1.gadget_id = 70220023
L24_1 = {}
L24_1.x = 455.569
L24_1.y = -28.434
L24_1.z = 261.477
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 310.354
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 417
L24_1.gadget_id = 70211111
L25_1 = {}
L25_1.x = 431.462
L25_1.y = -25.418
L25_1.z = 222.165
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 90.044
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L24_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\232\146\153\229\190\183"
L24_1.isOneoff = true
L25_1 = {}
L25_1.config_id = 418
L25_1.gadget_id = 70380001
L26_1 = {}
L26_1.x = 433.105
L26_1.y = -26.319
L26_1.z = 211.58
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L25_1.route_id = 10
L25_1.persistent = true
L26_1 = {}
L26_1.config_id = 419
L26_1.gadget_id = 70380001
L27_1 = {}
L27_1.x = 438.281
L27_1.y = -26.337
L27_1.z = 222.071
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L26_1.start_route = false
L27_1 = {}
L27_1.config_id = 420
L27_1.gadget_id = 70900023
L28_1 = {}
L28_1.x = 438.064
L28_1.y = -27.521
L28_1.z = 226.302
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 421
L28_1.gadget_id = 70900023
L29_1 = {}
L29_1.x = 442.638
L29_1.y = -27.521
L29_1.z = 226.229
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 422
L29_1.gadget_id = 70900023
L30_1 = {}
L30_1.x = 442.89
L30_1.y = -27.521
L30_1.z = 217.18
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = {}
L30_1.config_id = 423
L30_1.gadget_id = 70900023
L31_1 = {}
L31_1.x = 438.119
L31_1.y = -27.521
L31_1.z = 217.194
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 0.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 424
L31_1.gadget_id = 70900023
L32_1 = {}
L32_1.x = 433.328
L32_1.y = -27.521
L32_1.z = 217.201
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L32_1 = {}
L32_1.config_id = 425
L32_1.gadget_id = 70900023
L33_1 = {}
L33_1.x = 442.754
L33_1.y = -27.521
L33_1.z = 212.325
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 0.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L33_1 = {}
L33_1.config_id = 426
L33_1.gadget_id = 70900023
L34_1 = {}
L34_1.x = 438.072
L34_1.y = -27.521
L34_1.z = 212.324
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 0.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L34_1 = {}
L34_1.config_id = 427
L34_1.gadget_id = 70900023
L35_1 = {}
L35_1.x = 433.26
L35_1.y = -27.521
L35_1.z = 212.048
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 0.0
L35_1.y = 0.0
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L35_1 = {}
L35_1.config_id = 428
L35_1.gadget_id = 70900023
L36_1 = {}
L36_1.x = 442.755
L36_1.y = -27.521
L36_1.z = 231.15
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 0.0
L36_1.y = 0.0
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L36_1 = {}
L36_1.config_id = 429
L36_1.gadget_id = 70900023
L37_1 = {}
L37_1.x = 438.111
L37_1.y = -27.521
L37_1.z = 231.071
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 0.0
L37_1.y = 0.0
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 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
L2_1[26] = L28_1
L2_1[27] = L29_1
L2_1[28] = L30_1
L2_1[29] = L31_1
L2_1[30] = L32_1
L2_1[31] = L33_1
L2_1[32] = L34_1
L2_1[33] = L35_1
L2_1[34] = L36_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 21
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 5
L4_1 = {}
L4_1.x = 475.99
L4_1.y = -28.483
L4_1.z = 266.281
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 59
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 5
L5_1 = {}
L5_1.x = 471.335
L5_1.y = -28.503
L5_1.z = 266.185
L4_1.pos = L5_1
L2_1[1] = L3_1
L2_1[2] = L4_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1000020
L3_1.name = "ANY_MONSTER_DIE_20"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_20"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_20"
L4_1 = {}
L4_1.config_id = 1000021
L4_1.name = "ENTER_REGION_21"
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_21"
L4_1.action = "action_EVENT_ENTER_REGION_21"
L4_1.trigger_count = 0
L4_1.forbid_guest = false
L5_1 = {}
L5_1.config_id = 1000023
L5_1.name = "GADGET_CREATE_23"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_23"
L5_1.action = "action_EVENT_GADGET_CREATE_23"
L6_1 = {}
L6_1.config_id = 1000024
L6_1.name = "SELECT_OPTION_24"
L7_1 = EventType
L7_1 = L7_1.EVENT_SELECT_OPTION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_SELECT_OPTION_24"
L6_1.action = "action_EVENT_SELECT_OPTION_24"
L6_1.trigger_count = 0
L6_1.forbid_guest = false
L7_1 = {}
L7_1.config_id = 1000025
L7_1.name = "SELECT_OPTION_25"
L8_1 = EventType
L8_1 = L8_1.EVENT_SELECT_OPTION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_SELECT_OPTION_25"
L7_1.action = "action_EVENT_SELECT_OPTION_25"
L7_1.trigger_count = 0
L7_1.forbid_guest = false
L8_1 = {}
L8_1.config_id = 1000033
L8_1.name = "DUNGEON_SETTLE_33"
L9_1 = EventType
L9_1 = L9_1.EVENT_DUNGEON_SETTLE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_DUNGEON_SETTLE_33"
L8_1.action = "action_EVENT_DUNGEON_SETTLE_33"
L9_1 = {}
L9_1.config_id = 1000036
L9_1.name = "SPECIFIC_MONSTER_HP_CHANGE_36"
L10_1 = EventType
L10_1 = L10_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L9_1.event = L10_1
L9_1.source = "50"
L9_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36"
L9_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36"
L10_1 = {}
L10_1.config_id = 1000038
L10_1.name = "ANY_GADGET_DIE_38"
L11_1 = EventType
L11_1 = L11_1.EVENT_ANY_GADGET_DIE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ANY_GADGET_DIE_38"
L11_1 = "action_EVENT_ANY_GADGET_DIE_38"
L10_1.action = L11_1
L10_1.trigger_count = 0
L11_1 = {}
L12_1 = 1000057
L11_1.config_id = L12_1
L12_1 = "ANY_MONSTER_DIE_57"
L11_1.name = L12_1
L12_1 = EventType
L12_1 = L12_1.EVENT_ANY_MONSTER_DIE
L11_1.event = L12_1
L11_1.source = ""
L12_1 = "condition_EVENT_ANY_MONSTER_DIE_57"
L11_1.condition = L12_1
L12_1 = "action_EVENT_ANY_MONSTER_DIE_57"
L11_1.action = L12_1
L12_1 = {}
L13_1 = 1000059
L12_1.config_id = L13_1
L13_1 = "ENTER_REGION_59"
L12_1.name = L13_1
L13_1 = EventType
L13_1 = L13_1.EVENT_ENTER_REGION
L12_1.event = L13_1
L12_1.source = ""
L13_1 = "condition_EVENT_ENTER_REGION_59"
L12_1.condition = L13_1
L13_1 = "action_EVENT_ENTER_REGION_59"
L12_1.action = L13_1
L12_1.forbid_guest = false
L13_1 = {}
L14_1 = 1000060
L13_1.config_id = L14_1
L14_1 = "TIMER_EVENT_60"
L13_1.name = L14_1
L14_1 = EventType
L15_1 = "EVENT_TIMER_EVENT"
L14_1 = L14_1[L15_1]
L13_1.event = L14_1
L14_1 = "creatself"
L13_1.source = L14_1
L13_1.condition = ""
L14_1 = "action_EVENT_TIMER_EVENT_60"
L13_1.action = L14_1
L13_1.trigger_count = 0
L14_1 = {}
L15_1 = 1000065
L14_1.config_id = L15_1
L15_1 = "ANY_GADGET_DIE_65"
L14_1.name = L15_1
L15_1 = EventType
L15_1 = L15_1.EVENT_ANY_GADGET_DIE
L14_1.event = L15_1
L14_1.source = ""
L15_1 = "condition_EVENT_ANY_GADGET_DIE_65"
L14_1.condition = L15_1
L15_1 = "action_EVENT_ANY_GADGET_DIE_65"
L14_1.action = L15_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
triggers = L2_1
L2_1 = "variables"
L3_1 = {}
_ENV[L2_1] = L3_1
L2_1 = "init_config"
L3_1 = {}
L4_1 = "suite"
L3_1[L4_1] = 1
L4_1 = "end_suite"
L3_1[L4_1] = 0
L4_1 = "rand_suite"
L3_1[L4_1] = true
_ENV[L2_1] = L3_1
L2_1 = "suites"
L3_1 = {}
L4_1 = {}
L5_1 = {}
L6_1 = 50
L5_1[1] = L6_1
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 193
L7_1 = 194
L8_1 = 195
L9_1 = 197
L10_1 = 247
L11_1 = 248
L12_1 = 365
L13_1 = 366
L14_1 = 389
L15_1 = 390
L16_1 = 391
L17_1 = 392
L18_1 = 393
L19_1 = 394
L20_1 = 395
L21_1 = 398
L22_1 = 401
L23_1 = 402
L24_1 = 403
L25_1 = 404
L26_1 = 405
L27_1 = 417
L28_1 = 418
L29_1 = 419
L30_1 = 420
L31_1 = 421
L32_1 = 422
L33_1 = 423
L34_1 = 424
L35_1 = 425
L36_1 = 426
L37_1 = 427
L38_1 = 428
L39_1 = 429
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
L5_1[12] = L17_1
L5_1[13] = L18_1
L5_1[14] = L19_1
L5_1[15] = L20_1
L5_1[16] = L21_1
L5_1[17] = L22_1
L5_1[18] = L23_1
L5_1[19] = L24_1
L5_1[20] = L25_1
L5_1[21] = L26_1
L5_1[22] = L27_1
L5_1[23] = L28_1
L5_1[24] = L29_1
L5_1[25] = L30_1
L5_1[26] = L31_1
L5_1[27] = L32_1
L5_1[28] = L33_1
L5_1[29] = L34_1
L5_1[30] = L35_1
L5_1[31] = L36_1
L5_1[32] = L37_1
L5_1[33] = L38_1
L5_1[34] = L39_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 21
L7_1 = 59
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_20"
L7_1 = "ENTER_REGION_21"
L8_1 = "GADGET_CREATE_23"
L9_1 = "SELECT_OPTION_24"
L10_1 = "SELECT_OPTION_25"
L11_1 = "DUNGEON_SETTLE_33"
L12_1 = "SPECIFIC_MONSTER_HP_CHANGE_36"
L13_1 = "ANY_GADGET_DIE_38"
L14_1 = "ANY_MONSTER_DIE_57"
L15_1 = "ENTER_REGION_59"
L16_1 = "TIMER_EVENT_60"
L17_1 = "ANY_GADGET_DIE_65"
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
L5_1[12] = L17_1
L4_1.triggers = L5_1
L5_1 = "rand_weight"
L6_1 = 100
L4_1[L5_1] = L6_1
L3_1[1] = L4_1
_ENV[L2_1] = L3_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_20 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 194
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.ChangeGroupGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 389
L5_2 = GadgetState
L5_2 = L5_2.Default
L4_2.state = L5_2
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 : unlock_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_20 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 21 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_21 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 195
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_21 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 195 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_23 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 1
L4_2[1] = L5_2
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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_23 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 195 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_24 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = L1_1.gadget_id_2
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220008001
L5_2 = {}
L4_2.monsters = L5_2
L5_2 = {}
L6_2 = 370
L5_2[1] = L6_2
L4_2.gadgets = L5_2
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = L1_1.gadget_id_1
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 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 220008003
L5_2 = 195
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 : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_24 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 195 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_25 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param2
if 1 == L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 195
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_option"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_25 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_DUNGEON_SETTLE_33 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220008001
L5_2 = {}
L4_2.monsters = L5_2
L5_2 = {}
L6_2 = 367
L5_2[1] = L6_2
L4_2.gadgets = L5_2
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_monsters_and_gadgets_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_DUNGEON_SETTLE_33 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.type
L3_2 = EventType
L3_2 = L3_2.EVENT_SPECIFIC_MONSTER_HP_CHANGE
if L2_2 == L3_2 then
L2_2 = A1_2.param3
if not (80 < L2_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_SPECIFIC_MONSTER_HP_CHANGE_36 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220008012
L4_2.suite = 2
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_SPECIFIC_MONSTER_HP_CHANGE_36 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 247 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_38 = L2_1
L2_1 = "action_EVENT_ANY_GADGET_DIE_38"
function L3_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 220008003
L5_2 = "creatself"
L6_2 = 24
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 = 0
return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_ANY_MONSTER_DIE_57"
function L3_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 50 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_ANY_MONSTER_DIE_57"
function L3_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220008012
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 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 365
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 : dungeon_settle"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_ENTER_REGION_59"
function L3_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 59 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_ENTER_REGION_59"
function L3_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = 447
L2_2.y = -28
L2_2.z = 266
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
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_TIMER_EVENT_60"
function L3_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 247
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 : dungeon_settle"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_ANY_GADGET_DIE_65"
function L3_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 247 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_ANY_GADGET_DIE_65"
function L3_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 = 1010001
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
_ENV[L2_1] = L3_1