mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1004 lines
19 KiB
Lua
1004 lines
19 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133104420
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 420001
|
|
L2_1.monster_id = 21010201
|
|
L3_1 = {}
|
|
L3_1.x = 562.759
|
|
L3_1.y = 197.342
|
|
L3_1.z = 246.82
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 121.579
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 9
|
|
L3_1 = {}
|
|
L3_1.config_id = 420002
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = 617.915
|
|
L4_1.y = 199.268
|
|
L4_1.z = 224.186
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 306.573
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 420003
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 616.865
|
|
L5_1.y = 199.051
|
|
L5_1.z = 223.133
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 295.704
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_id = 1000100
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 420005
|
|
L5_1.monster_id = 21010401
|
|
L6_1 = {}
|
|
L6_1.x = 591.236
|
|
L6_1.y = 197.95
|
|
L6_1.z = 245.367
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 1.415
|
|
L6_1.y = 188.128
|
|
L6_1.z = 1.241
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_id = 1000100
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 420006
|
|
L6_1.monster_id = 21010401
|
|
L7_1 = {}
|
|
L7_1.x = 586.976
|
|
L7_1.y = 202.065
|
|
L7_1.z = 225.668
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 349.453
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_id = 1000100
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 420019
|
|
L7_1.monster_id = 21010201
|
|
L8_1 = {}
|
|
L8_1.x = 561.874
|
|
L8_1.y = 197.071
|
|
L8_1.z = 243.893
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 354.825
|
|
L8_1.y = 121.553
|
|
L8_1.z = 0.566
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_id = 1000100
|
|
L7_1.area_id = 9
|
|
L8_1 = {}
|
|
L8_1.config_id = 420020
|
|
L8_1.monster_id = 21010201
|
|
L9_1 = {}
|
|
L9_1.x = 563.089
|
|
L9_1.y = 197.163
|
|
L9_1.z = 245.25
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 358.378
|
|
L9_1.y = 121.609
|
|
L9_1.z = 357.861
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_id = 1000100
|
|
L8_1.area_id = 9
|
|
L9_1 = {}
|
|
L9_1.config_id = 420021
|
|
L9_1.monster_id = 21010201
|
|
L10_1 = {}
|
|
L10_1.x = 617.539
|
|
L10_1.y = 199.337
|
|
L10_1.z = 221.345
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 311.297
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.drop_id = 1000100
|
|
L9_1.area_id = 9
|
|
L10_1 = {}
|
|
L10_1.config_id = 420022
|
|
L10_1.monster_id = 21010701
|
|
L11_1 = {}
|
|
L11_1.x = 564.682
|
|
L11_1.y = 197.144
|
|
L11_1.z = 244.84
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 116.826
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.drop_id = 1000100
|
|
L10_1.area_id = 9
|
|
L11_1 = {}
|
|
L11_1.config_id = 420023
|
|
L11_1.monster_id = 21010701
|
|
L12_1 = {}
|
|
L12_1.x = 561.693
|
|
L12_1.y = 197.43
|
|
L12_1.z = 246.819
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 116.826
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.drop_id = 1000100
|
|
L11_1.area_id = 9
|
|
L12_1 = {}
|
|
L12_1.config_id = 420025
|
|
L12_1.monster_id = 21020101
|
|
L13_1 = {}
|
|
L13_1.x = 563.6
|
|
L13_1.y = 196.953
|
|
L13_1.z = 243.287
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 3.568
|
|
L13_1.y = 131.908
|
|
L13_1.z = 358.196
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.drop_id = 1000100
|
|
L12_1.area_id = 9
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 420007
|
|
L2_1.gadget_id = 70350036
|
|
L3_1 = {}
|
|
L3_1.x = 589.653
|
|
L3_1.y = 197.95
|
|
L3_1.z = 232.561
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 130.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 9
|
|
L3_1 = {}
|
|
L3_1.config_id = 420008
|
|
L3_1.gadget_id = 70300118
|
|
L4_1 = {}
|
|
L4_1.x = 589.6
|
|
L4_1.y = 199.86
|
|
L4_1.z = 232.6
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 100.296
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 420009
|
|
L4_1.gadget_id = 70350023
|
|
L5_1 = {}
|
|
L5_1.x = 589.619
|
|
L5_1.y = 197.917
|
|
L5_1.z = 232.571
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 130.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 420026
|
|
L5_1.gadget_id = 70220005
|
|
L6_1 = {}
|
|
L6_1.x = 598.405
|
|
L6_1.y = 198.269
|
|
L6_1.z = 230.944
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 355.427
|
|
L6_1.y = 129.782
|
|
L6_1.z = 5.47
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 420027
|
|
L6_1.gadget_id = 70220005
|
|
L7_1 = {}
|
|
L7_1.x = 587.651
|
|
L7_1.y = 198.137
|
|
L7_1.z = 225.691
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 128.989
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 420028
|
|
L7_1.gadget_id = 70220005
|
|
L8_1 = {}
|
|
L8_1.x = 580.627
|
|
L8_1.y = 197.95
|
|
L8_1.z = 236.913
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 128.989
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 9
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1420010
|
|
L2_1.name = "ANY_MONSTER_DIE_420010"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_420010"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_420010"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1420011
|
|
L3_1.name = "ANY_MONSTER_DIE_420011"
|
|
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_420011"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_420011"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1420012
|
|
L4_1.name = "GADGET_CREATE_420012"
|
|
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_420012"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_420012"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1420013
|
|
L5_1.name = "ANY_MONSTER_DIE_420013"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_420013"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1420014
|
|
L6_1.name = "ANY_MONSTER_DIE_420014"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_420014"
|
|
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_420014"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1420015
|
|
L7_1.name = "SELECT_OPTION_420015"
|
|
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_420015"
|
|
L7_1.action = "action_EVENT_SELECT_OPTION_420015"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1420016
|
|
L8_1.name = "CHALLENGE_SUCCESS_420016"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_CHALLENGE_SUCCESS
|
|
L8_1.event = L9_1
|
|
L8_1.source = "666"
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_CHALLENGE_SUCCESS_420016"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1420017
|
|
L9_1.name = "CHALLENGE_FAIL_420017"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_CHALLENGE_FAIL
|
|
L9_1.event = L10_1
|
|
L9_1.source = "666"
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_CHALLENGE_FAIL_420017"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1420018
|
|
L10_1.name = "ANY_MONSTER_LIVE_420018"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_ANY_MONSTER_LIVE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_420018"
|
|
L10_1.action = "action_EVENT_ANY_MONSTER_LIVE_420018"
|
|
L10_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "deadMonster"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "hasFinished"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_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 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 420009
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_CREATE_420012"
|
|
L5_1 = "ANY_MONSTER_DIE_420013"
|
|
L6_1 = "SELECT_OPTION_420015"
|
|
L7_1 = "CHALLENGE_SUCCESS_420016"
|
|
L8_1 = "CHALLENGE_FAIL_420017"
|
|
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.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 420001
|
|
L6_1 = 420019
|
|
L7_1 = 420020
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_420010"
|
|
L6_1 = "ANY_MONSTER_LIVE_420018"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 420002
|
|
L7_1 = 420003
|
|
L8_1 = 420021
|
|
L9_1 = 420022
|
|
L10_1 = 420023
|
|
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
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ANY_MONSTER_DIE_420011"
|
|
L5_1[1] = L6_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 420005
|
|
L8_1 = 420006
|
|
L9_1 = 420025
|
|
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_420014"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 420007
|
|
L9_1 = 420026
|
|
L10_1 = 420027
|
|
L11_1 = 420028
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
L7_1[4] = L11_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 100
|
|
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
|
|
suites = 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_420010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.x = 569
|
|
L2_2.y = 200
|
|
L2_2.z = 231
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ScenePlaySound
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.play_pos = L2_2
|
|
L5_2.sound_name = "LevelHornSound001"
|
|
L5_2.play_type = 1
|
|
L5_2.is_broadcast = false
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_soundplay"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = {}
|
|
L3_2.x = 569
|
|
L3_2.y = 200
|
|
L3_2.z = 231
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.ShowReminderRadius
|
|
L5_2 = A0_2
|
|
L6_2 = 400002
|
|
L7_2 = L3_2
|
|
L8_2 = 50
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.RemoveExtraGroupSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 133104420
|
|
L7_2 = 2
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.AddExtraGroupSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 133104420
|
|
L7_2 = 3
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_420010 = 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_420011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.x = 569
|
|
L2_2.y = 200
|
|
L2_2.z = 231
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ScenePlaySound
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.play_pos = L2_2
|
|
L5_2.sound_name = "LevelHornSound001"
|
|
L5_2.play_type = 1
|
|
L5_2.is_broadcast = false
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_soundplay"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = {}
|
|
L3_2.x = 569
|
|
L3_2.y = 200
|
|
L3_2.z = 231
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.ShowReminderRadius
|
|
L5_2 = A0_2
|
|
L6_2 = 400003
|
|
L7_2 = L3_2
|
|
L8_2 = 50
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.RemoveExtraGroupSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 133104420
|
|
L7_2 = 3
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.AddExtraGroupSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 133104420
|
|
L7_2 = 4
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_420011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 420009 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "hasFinished"
|
|
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_GADGET_CREATE_420012 = 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 = 133104420
|
|
L5_2 = 420009
|
|
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_420012 = 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 = "deadMonster"
|
|
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_MONSTER_DIE_420013 = 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_420014 = 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 = 133104420
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_420014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 420009 ~= 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_420015 = 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 = 420009
|
|
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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104420
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104420
|
|
L5_2 = 420009
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_420015 = 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 = 133104420
|
|
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 = 133104420
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104420
|
|
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 = 133104420
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 420009
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
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.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "hasFinished"
|
|
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_CHALLENGE_SUCCESS_420016 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 420009
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "deadMonster"
|
|
L5_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_groupVariable"
|
|
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 = 133104420
|
|
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 = 133104420
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104420
|
|
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 = 133104420
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104420
|
|
L5_2 = 420009
|
|
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_CHALLENGE_FAIL_420017 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 420001 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_LIVE_420018 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104420
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ActiveChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 666
|
|
L5_2 = 14
|
|
L6_2 = 133104420
|
|
L7_2 = 11
|
|
L8_2 = 420007
|
|
L9_2 = 0
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_LIVE_420018 = L1_1
|