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 L0_1 = {} L0_1.group_id = 220032003 L1_1 = {} L2_1 = {} L2_1.config_id = 3006 L2_1.monster_id = 21010501 L3_1 = {} L3_1.x = 492.63 L3_1.y = -23.089 L3_1.z = 110.763 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 3.679 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.disableWander = true L2_1.pose_id = 9003 L3_1 = {} L3_1.config_id = 3007 L3_1.monster_id = 21010901 L4_1 = {} L4_1.x = 494.418 L4_1.y = -23.083 L4_1.z = 111.889 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 283.216 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.disableWander = true L3_1.isElite = true L3_1.pose_id = 9003 L4_1 = {} L4_1.config_id = 3009 L4_1.monster_id = 21020201 L5_1 = {} L5_1.x = 493.778 L5_1.y = -23.074 L5_1.z = 131.968 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 349.691 L5_1.y = 215.397 L5_1.z = 356.318 L4_1.rot = L5_1 L4_1.level = 1 L4_1.disableWander = true L4_1.pose_id = 401 L5_1 = {} L5_1.config_id = 3010 L5_1.monster_id = 21010201 L6_1 = {} L6_1.x = 489.489 L6_1.y = -23.651 L6_1.z = 126.419 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 359.813 L6_1.y = 261.436 L6_1.z = 8.734 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 3017 L6_1.monster_id = 21010301 L7_1 = {} L7_1.x = 484.03 L7_1.y = -23.54 L7_1.z = 116.565 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 3001 L2_1.gadget_id = 70360002 L3_1 = {} L3_1.x = 448.237 L3_1.y = -9.218 L3_1.z = 130.429 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 357.529 L3_1.y = 225.356 L3_1.z = 2.602 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = GadgetState L3_1 = L3_1.GearStop L2_1.state = L3_1 L3_1 = {} L3_1.config_id = 3002 L3_1.gadget_id = 70350002 L4_1 = {} L4_1.x = 463.506 L4_1.y = -9.36 L4_1.z = 120.913 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 90.483 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 3003 L4_1.gadget_id = 70350002 L5_1 = {} L5_1.x = 500.247 L5_1.y = -23.29 L5_1.z = 121.57 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 359.514 L5_1.y = 91.399 L5_1.z = 0.255 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 3011 L5_1.gadget_id = 70310001 L6_1 = {} L6_1.x = 492.574 L6_1.y = -23.084 L6_1.z = 130.267 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 = 1 L6_1 = {} L6_1.config_id = 3012 L6_1.gadget_id = 70310004 L7_1 = {} L7_1.x = 492.813 L7_1.y = -23.084 L7_1.z = 112.4 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L7_1.config_id = 3013 L7_1.gadget_id = 70220026 L8_1 = {} L8_1.x = 400.275 L8_1.y = -23.434 L8_1.z = 144.666 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 L8_1 = {} L8_1.config_id = 3014 L8_1.gadget_id = 70900201 L9_1 = {} L9_1.x = 489.33 L9_1.y = -23.541 L9_1.z = 121.525 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 L9_1 = {} L9_1.config_id = 3015 L9_1.gadget_id = 70900201 L10_1 = {} L10_1.x = 533.073 L10_1.y = -2.15 L10_1.z = 218.112 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 L10_1 = {} L10_1.config_id = 3016 L10_1.gadget_id = 70220026 L11_1 = {} L11_1.x = 398.986 L11_1.y = -23.434 L11_1.z = 144.323 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 332.337 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = {} L11_1.config_id = 3018 L11_1.gadget_id = 70220013 L12_1 = {} L12_1.x = 459.467 L12_1.y = -9.272 L12_1.z = 133.332 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 263.622 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L12_1 = {} L12_1.config_id = 3019 L12_1.gadget_id = 70220013 L13_1 = {} L13_1.x = 458.874 L13_1.y = -9.195 L13_1.z = 131.091 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 235.071 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 L13_1 = {} L13_1.config_id = 3020 L13_1.gadget_id = 70220026 L14_1 = {} L14_1.x = 458.134 L14_1.y = -9.332 L14_1.z = 129.326 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 297.635 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 1 L14_1 = {} L14_1.config_id = 3021 L14_1.gadget_id = 70220026 L15_1 = {} L15_1.x = 457.763 L15_1.y = -9.294 L15_1.z = 134.329 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 240.278 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 1 L15_1 = {} L15_1.config_id = 3024 L15_1.gadget_id = 70220013 L16_1 = {} L16_1.x = 475.354 L16_1.y = -23.133 L16_1.z = 107.457 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 0.0 L16_1.y = 36.219 L16_1.z = 0.0 L15_1.rot = L16_1 L15_1.level = 1 L16_1 = {} L16_1.config_id = 3025 L16_1.gadget_id = 70220013 L17_1 = {} L17_1.x = 475.994 L17_1.y = -23.134 L17_1.z = 109.625 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 0.0 L17_1.y = 0.0 L17_1.z = 0.0 L16_1.rot = L17_1 L16_1.level = 1 L17_1 = {} L17_1.config_id = 3026 L17_1.gadget_id = 70220026 L18_1 = {} L18_1.x = 477.158 L18_1.y = -23.133 L18_1.z = 107.956 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 0.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 1 L18_1 = {} L18_1.config_id = 3027 L18_1.gadget_id = 70220026 L19_1 = {} L19_1.x = 496.945 L19_1.y = -23.084 L19_1.z = 110.382 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 344.72 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 1 L19_1 = {} L19_1.config_id = 3028 L19_1.gadget_id = 70220005 L20_1 = {} L20_1.x = 496.595 L20_1.y = -23.083 L20_1.z = 112.798 L19_1.pos = L20_1 L20_1 = {} L20_1.x = 0.0 L20_1.y = 0.0 L20_1.z = 0.0 L19_1.rot = L20_1 L19_1.level = 1 L20_1 = {} L20_1.config_id = 3029 L20_1.gadget_id = 70220026 L21_1 = {} L21_1.x = 494.506 L21_1.y = -23.133 L21_1.z = 107.712 L20_1.pos = L21_1 L21_1 = {} L21_1.x = 0.0 L21_1.y = 0.0 L21_1.z = 0.0 L20_1.rot = L21_1 L20_1.level = 1 L21_1 = {} L21_1.config_id = 3030 L21_1.gadget_id = 70220014 L22_1 = {} L22_1.x = 497.052 L22_1.y = -23.083 L22_1.z = 111.646 L21_1.pos = L22_1 L22_1 = {} L22_1.x = 0.0 L22_1.y = 0.0 L22_1.z = 0.0 L21_1.rot = L22_1 L21_1.level = 1 L22_1 = {} L22_1.config_id = 3031 L22_1.gadget_id = 70220013 L23_1 = {} L23_1.x = 495.998 L23_1.y = -23.084 L23_1.z = 108.911 L22_1.pos = L23_1 L23_1 = {} L23_1.x = 0.0 L23_1.y = 16.122 L23_1.z = 0.0 L22_1.rot = L23_1 L22_1.level = 1 L23_1 = {} L23_1.config_id = 3032 L23_1.gadget_id = 70220017 L24_1 = {} L24_1.x = 475.986 L24_1.y = -23.133 L24_1.z = 133.004 L23_1.pos = L24_1 L24_1 = {} L24_1.x = 0.0 L24_1.y = 347.059 L24_1.z = 0.0 L23_1.rot = L24_1 L23_1.level = 1 L24_1 = {} L24_1.config_id = 3034 L24_1.gadget_id = 70220014 L25_1 = {} L25_1.x = 475.558 L25_1.y = -23.134 L25_1.z = 135.223 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 = 1 L25_1 = {} L25_1.config_id = 3035 L25_1.gadget_id = 70220014 L26_1 = {} L26_1.x = 474.698 L26_1.y = -22.877 L26_1.z = 132.636 L25_1.pos = L26_1 L26_1 = {} L26_1.x = 273.65 L26_1.y = 0.11 L26_1.z = 345.391 L25_1.rot = L26_1 L25_1.level = 1 L26_1 = {} L26_1.config_id = 3036 L26_1.gadget_id = 70220025 L27_1 = {} L27_1.x = 457.76 L27_1.y = -9.27 L27_1.z = 134.321 L26_1.pos = L27_1 L27_1 = {} L27_1.x = 271.274 L27_1.y = 100.73 L27_1.z = 255.6 L26_1.rot = L27_1 L26_1.level = 1 L27_1 = {} L27_1.config_id = 3037 L27_1.gadget_id = 70220025 L28_1 = {} L28_1.x = 457.786 L28_1.y = -9.242 L28_1.z = 132.644 L27_1.pos = L28_1 L28_1 = {} L28_1.x = 271.275 L28_1.y = 188.026 L28_1.z = 255.6 L27_1.rot = L28_1 L27_1.level = 1 L28_1 = {} L28_1.config_id = 3038 L28_1.gadget_id = 70220025 L29_1 = {} L29_1.x = 493.31 L29_1.y = -23.016 L29_1.z = 132.535 L28_1.pos = L29_1 L29_1 = {} L29_1.x = 271.276 L29_1.y = 284.403 L29_1.z = 255.601 L28_1.rot = L29_1 L28_1.level = 1 L29_1 = {} L29_1.config_id = 3039 L29_1.gadget_id = 70220025 L30_1 = {} L30_1.x = 494.567 L30_1.y = -22.989 L30_1.z = 131.469 L29_1.pos = L30_1 L30_1 = {} L30_1.x = 271.276 L30_1.y = 284.403 L30_1.z = 255.601 L29_1.rot = L30_1 L29_1.level = 1 L30_1 = {} L30_1.config_id = 3040 L30_1.gadget_id = 70220025 L31_1 = {} L31_1.x = 494.731 L31_1.y = -23.003 L31_1.z = 111.893 L30_1.pos = L31_1 L31_1 = {} L31_1.x = 271.276 L31_1.y = 284.403 L31_1.z = 255.601 L30_1.rot = L31_1 L30_1.level = 1 L31_1 = {} L31_1.config_id = 3041 L31_1.gadget_id = 70220025 L32_1 = {} L32_1.x = 492.923 L32_1.y = -23.031 L32_1.z = 110.395 L31_1.pos = L32_1 L32_1 = {} L32_1.x = 271.276 L32_1.y = 284.403 L32_1.z = 255.601 L31_1.rot = L32_1 L31_1.level = 1 L32_1 = {} L32_1.config_id = 3042 L32_1.gadget_id = 70220025 L33_1 = {} L33_1.x = 494.496 L33_1.y = -22.994 L33_1.z = 110.09 L32_1.pos = L33_1 L33_1 = {} L33_1.x = 271.276 L33_1.y = 284.403 L33_1.z = 255.601 L32_1.rot = L33_1 L32_1.level = 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 L1_1[16] = L17_1 L1_1[17] = L18_1 L1_1[18] = L19_1 L1_1[19] = L20_1 L1_1[20] = L21_1 L1_1[21] = L22_1 L1_1[22] = L23_1 L1_1[23] = L24_1 L1_1[24] = L25_1 L1_1[25] = L26_1 L1_1[26] = L27_1 L1_1[27] = L28_1 L1_1[28] = L29_1 L1_1[29] = L30_1 L1_1[30] = L31_1 L1_1[31] = L32_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1003004 L2_1.name = "GADGET_STATE_CHANGE_3004" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_3004" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_3004" L3_1 = {} L3_1.config_id = 1003005 L3_1.name = "SELECT_OPTION_3005" L4_1 = EventType L4_1 = L4_1.EVENT_SELECT_OPTION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_SELECT_OPTION_3005" L3_1.action = "action_EVENT_SELECT_OPTION_3005" L4_1 = {} L4_1.config_id = 1003008 L4_1.name = "ANY_MONSTER_DIE_3008" L5_1 = EventType L5_1 = L5_1.EVENT_ANY_MONSTER_DIE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_3008" L4_1.action = "action_EVENT_ANY_MONSTER_DIE_3008" L5_1 = {} L5_1.config_id = 1003023 L5_1.name = "SELECT_OPTION_3023" 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_3023" L5_1.action = "action_EVENT_SELECT_OPTION_3023" L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 triggers = L1_1 L1_1 = {} variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 0 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L4_1 = 3006 L5_1 = 3007 L6_1 = 3009 L7_1 = 3010 L8_1 = 3017 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L2_1.monsters = L3_1 L3_1 = {} L4_1 = 3001 L5_1 = 3002 L6_1 = 3003 L7_1 = 3011 L8_1 = 3012 L9_1 = 3013 L10_1 = 3016 L11_1 = 3018 L12_1 = 3019 L13_1 = 3020 L14_1 = 3021 L15_1 = 3024 L16_1 = 3025 L17_1 = 3026 L18_1 = 3027 L19_1 = 3028 L20_1 = 3029 L21_1 = 3030 L22_1 = 3031 L23_1 = 3032 L24_1 = 3034 L25_1 = 3035 L26_1 = 3036 L27_1 = 3037 L28_1 = 3038 L29_1 = 3039 L30_1 = 3040 L31_1 = 3041 L32_1 = 3042 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L3_1[6] = L9_1 L3_1[7] = L10_1 L3_1[8] = L11_1 L3_1[9] = L12_1 L3_1[10] = L13_1 L3_1[11] = L14_1 L3_1[12] = L15_1 L3_1[13] = L16_1 L3_1[14] = L17_1 L3_1[15] = L18_1 L3_1[16] = L19_1 L3_1[17] = L20_1 L3_1[18] = L21_1 L3_1[19] = L22_1 L3_1[20] = L23_1 L3_1[21] = L24_1 L3_1[22] = L25_1 L3_1[23] = L26_1 L3_1[24] = L27_1 L3_1[25] = L28_1 L3_1[26] = L29_1 L3_1[27] = L30_1 L3_1[28] = L31_1 L3_1[29] = L32_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_STATE_CHANGE_3004" L5_1 = "SELECT_OPTION_3005" L6_1 = "ANY_MONSTER_DIE_3008" L7_1 = "SELECT_OPTION_3023" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L1_1[1] = L2_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 3001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened 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_3004 = 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.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_STATE_CHANGE_3004 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 3001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_3005 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 3001 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 = 3002 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 220032002 L5_2 = 2004 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 3014 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 : create_gadget" 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 = 3011 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_3005 = L1_1 function L1_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_3008 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 3003 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.KillGroupEntity L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220032003 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 3014 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 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 3015 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 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220032004 L5_2 = 1 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_3008 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 3001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_3023 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 3012 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 220032003 L5_2 = 3001 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 = ScriptLib L2_2 = L2_2.KillGroupEntity L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220032002 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 2006 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_SELECT_OPTION_3023 = L1_1