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

1060 lines
20 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
L0_1 = {}
L0_1.group_id = 133104418
L1_1 = {}
L2_1 = {}
L2_1.config_id = 418001
L2_1.monster_id = 21011201
L3_1 = {}
L3_1.x = 270.41
L3_1.y = 213.967
L3_1.z = 289.755
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 1.849
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 = 418002
L3_1.monster_id = 21010701
L4_1 = {}
L4_1.x = 245.334
L4_1.y = 208.359
L4_1.z = 361.927
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 352.195
L4_1.y = 143.321
L4_1.z = 352.565
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 = 418003
L4_1.monster_id = 21010701
L5_1 = {}
L5_1.x = 243.853
L5_1.y = 208.122
L5_1.z = 361.071
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 354.547
L5_1.y = 123.413
L5_1.z = 358.544
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 = 418004
L5_1.monster_id = 21010501
L6_1 = {}
L6_1.x = 262.901
L6_1.y = 215.917
L6_1.z = 333.587
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 152.505
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.area_id = 9
L6_1 = {}
L6_1.config_id = 418005
L6_1.monster_id = 21010501
L7_1 = {}
L7_1.x = 266.941
L7_1.y = 212.439
L7_1.z = 327.412
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 313.741
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.area_id = 9
L7_1 = {}
L7_1.config_id = 418006
L7_1.monster_id = 21020201
L8_1 = {}
L8_1.x = 270.951
L8_1.y = 214.003
L8_1.z = 289.619
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 348.897
L8_1.z = 0.0
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 = 418019
L8_1.monster_id = 21011201
L9_1 = {}
L9_1.x = 267.783
L9_1.y = 214.794
L9_1.z = 283.758
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 359.03
L9_1.y = 330.723
L9_1.z = 356.026
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 = 418020
L9_1.monster_id = 21011201
L10_1 = {}
L10_1.x = 266.405
L10_1.y = 215.035
L10_1.z = 287.897
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 343.115
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 = 418021
L10_1.monster_id = 21010201
L11_1 = {}
L11_1.x = 288.71
L11_1.y = 211.487
L11_1.z = 340.436
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 4.401
L11_1.y = 225.217
L11_1.z = 5.679
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 = 418022
L11_1.monster_id = 21010201
L12_1 = {}
L12_1.x = 287.856
L12_1.y = 211.726
L12_1.z = 341.91
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 5.597
L12_1.y = 211.815
L12_1.z = 4.506
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 = 418028
L12_1.monster_id = 21011201
L13_1 = {}
L13_1.x = 272.179
L13_1.y = 214.104
L13_1.z = 288.579
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 328.573
L13_1.z = 0.0
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 = 418007
L2_1.gadget_id = 70350036
L3_1 = {}
L3_1.x = 262.635
L3_1.y = 210.322
L3_1.z = 330.095
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 180.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 = 418008
L3_1.gadget_id = 70300118
L4_1 = {}
L4_1.x = 262.7
L4_1.y = 212.082
L4_1.z = 330.1
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 353.699
L4_1.y = 100.309
L4_1.z = 359.761
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 9
L4_1 = {}
L4_1.config_id = 418009
L4_1.gadget_id = 70350023
L5_1 = {}
L5_1.x = 262.651
L5_1.y = 210.322
L5_1.z = 330.103
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.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 = 418023
L5_1.gadget_id = 70220005
L6_1 = {}
L6_1.x = 266.153
L6_1.y = 211.104
L6_1.z = 310.459
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 352.967
L6_1.y = 180.597
L6_1.z = 351.113
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 9
L6_1 = {}
L6_1.config_id = 418024
L6_1.gadget_id = 70220005
L7_1 = {}
L7_1.x = 262.816
L7_1.y = 213.335
L7_1.z = 297.333
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 349.555
L7_1.y = 179.178
L7_1.z = 12.285
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 9
L7_1 = {}
L7_1.config_id = 418025
L7_1.gadget_id = 70220010
L8_1 = {}
L8_1.x = 268.654
L8_1.y = 210.322
L8_1.z = 332.89
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 223.883
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 9
L8_1 = {}
L8_1.config_id = 418026
L8_1.gadget_id = 70220005
L9_1 = {}
L9_1.x = 260.042
L9_1.y = 210.231
L9_1.z = 352.099
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 359.078
L9_1.y = 178.283
L9_1.z = 359.132
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 9
L9_1 = {}
L9_1.config_id = 418027
L9_1.gadget_id = 70220005
L10_1 = {}
L10_1.x = 275.709
L10_1.y = 210.232
L10_1.z = 337.816
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 16.708
L10_1.y = 176.41
L10_1.z = 348.801
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 9
L10_1 = {}
L10_1.config_id = 418029
L10_1.gadget_id = 70220010
L11_1 = {}
L11_1.x = 253.954
L11_1.y = 210.232
L11_1.z = 335.273
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 152.754
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1418010
L2_1.name = "ANY_MONSTER_DIE_418010"
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_418010"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_418010"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1418011
L3_1.name = "ANY_MONSTER_DIE_418011"
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_418011"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_418011"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1418012
L4_1.name = "GADGET_CREATE_418012"
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_418012"
L4_1.action = "action_EVENT_GADGET_CREATE_418012"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1418013
L5_1.name = "ANY_MONSTER_DIE_418013"
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_418013"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1418014
L6_1.name = "ANY_MONSTER_DIE_418014"
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_418014"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_418014"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1418015
L7_1.name = "SELECT_OPTION_418015"
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_418015"
L7_1.action = "action_EVENT_SELECT_OPTION_418015"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1418016
L8_1.name = "CHALLENGE_SUCCESS_418016"
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_418016"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1418017
L9_1.name = "CHALLENGE_FAIL_418017"
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_418017"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1418018
L10_1.name = "ANY_MONSTER_LIVE_418018"
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_418018"
L10_1.action = "action_EVENT_ANY_MONSTER_LIVE_418018"
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 = 418009
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_418012"
L5_1 = "ANY_MONSTER_DIE_418013"
L6_1 = "SELECT_OPTION_418015"
L7_1 = "CHALLENGE_SUCCESS_418016"
L8_1 = "CHALLENGE_FAIL_418017"
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 = 418001
L6_1 = 418019
L7_1 = 418020
L8_1 = 418028
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_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_418010"
L6_1 = "ANY_MONSTER_LIVE_418018"
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 = 418002
L7_1 = 418003
L8_1 = 418021
L9_1 = 418022
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_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_418011"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 418004
L8_1 = 418005
L9_1 = 418006
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_418014"
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 = 418007
L9_1 = 418023
L10_1 = 418024
L11_1 = 418025
L12_1 = 418026
L13_1 = 418027
L14_1 = 418029
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
L7_1[6] = L13_1
L7_1[7] = L14_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_418010 = 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 = 262
L2_2.y = 210
L2_2.z = 329
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 = 262
L3_2.y = 210
L3_2.z = 329
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 = 133104418
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 = 133104418
L7_2 = 3
L4_2(L5_2, L6_2, L7_2)
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_418010 = 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_418011 = 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 = 262
L2_2.y = 210
L2_2.z = 329
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 = 262
L3_2.y = 210
L3_2.z = 329
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 = 133104418
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 = 133104418
L7_2 = 4
L4_2(L5_2, L6_2, L7_2)
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_418011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 418009 ~= 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_418012 = 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 = 133104418
L5_2 = 418009
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_418012 = 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_418013 = 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_418014 = 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 = 133104418
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_418014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 418009 ~= 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_418015 = 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 = 418009
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 = 133104418
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 = 133104418
L5_2 = 418009
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_418015 = 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 = 133104418
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 = 133104418
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 = 133104418
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 = 133104418
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 = 418009
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_418016 = 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 = 418009
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 = 133104418
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 = 133104418
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 = 133104418
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 = 133104418
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 = 133104418
L5_2 = 418009
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_418017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 418019 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_418018 = 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 = 133104418
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 = 133104418
L7_2 = 11
L8_2 = 418007
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_418018 = L1_1