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

1186 lines
23 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
L0_1 = {}
L0_1.group_id = 133217038
L1_1 = {}
L1_1.inner_region = 38028
L1_1.outer_region = 38028
L1_1.related_region = 38028
L1_1.group_id = 133217038
L2_1 = {}
L3_1 = {}
L3_1.config_id = 38001
L3_1.monster_id = 25080101
L4_1 = {}
L4_1.x = -4310.305
L4_1.y = 200.244
L4_1.z = -3772.68
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 352.762
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1031
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.pose_id = 1
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 38002
L4_1.monster_id = 25010301
L5_1 = {}
L5_1.x = -4310.22
L5_1.y = 200.235
L5_1.z = -3772.729
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 352.762
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 38003
L5_1.monster_id = 25010501
L6_1 = {}
L6_1.x = -4272.85
L6_1.y = 200.066
L6_1.z = -3730.567
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 236.851
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 = 14
L6_1 = {}
L6_1.config_id = 38004
L6_1.monster_id = 25070101
L7_1 = {}
L7_1.x = -4310.126
L7_1.y = 200.233
L7_1.z = -3772.622
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 352.762
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 = 14
L7_1 = {}
L7_1.config_id = 38005
L7_1.monster_id = 25030301
L8_1 = {}
L8_1.x = -4272.85
L8_1.y = 200.066
L8_1.z = -3730.567
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 236.851
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1031
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 38006
L8_1.monster_id = 25080301
L9_1 = {}
L9_1.x = -4294.375
L9_1.y = 200.962
L9_1.z = -3712.569
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 185.755
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L8_1.pose_id = 1
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 38022
L9_1.monster_id = 25080101
L10_1 = {}
L10_1.x = -4272.85
L10_1.y = 200.066
L10_1.z = -3730.567
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 236.851
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.pose_id = 1
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 38023
L10_1.monster_id = 25010301
L11_1 = {}
L11_1.x = -4294.375
L11_1.y = 200.962
L11_1.z = -3712.569
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 185.755
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 38024
L11_1.monster_id = 25010601
L12_1 = {}
L12_1.x = -4291.147
L12_1.y = 200.603
L12_1.z = -3712.684
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 178.627
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.disableWander = true
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 38025
L12_1.monster_id = 25080201
L13_1 = {}
L13_1.x = -4294.375
L13_1.y = 200.962
L13_1.z = -3712.569
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 185.755
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.disableWander = true
L13_1 = {}
L14_1 = 1031
L13_1[1] = L14_1
L12_1.affix = L13_1
L12_1.pose_id = 1
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 38026
L13_1.monster_id = 25080201
L14_1 = {}
L14_1.x = -4291.147
L14_1.y = 200.603
L14_1.z = -3712.684
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 178.627
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L13_1.disableWander = true
L13_1.pose_id = 1
L13_1.area_id = 14
L14_1 = {}
L14_1.config_id = 38027
L14_1.monster_id = 25080301
L15_1 = {}
L15_1.x = -4291.147
L15_1.y = 200.603
L15_1.z = -3712.684
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 178.627
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.drop_id = 1000100
L14_1.disableWander = true
L14_1.pose_id = 1
L14_1.area_id = 14
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 38007
L3_1.gadget_id = 70350036
L4_1 = {}
L4_1.x = -4300.464
L4_1.y = 200.13
L4_1.z = -3744.632
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 = 14
L4_1 = {}
L4_1.config_id = 38008
L4_1.gadget_id = 70350023
L5_1 = {}
L5_1.x = -4300.464
L5_1.y = 200.13
L5_1.z = -3744.632
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 100.296
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.persistent = true
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 38018
L5_1.gadget_id = 70330064
L6_1 = {}
L6_1.x = -4296.181
L6_1.y = 200.137
L6_1.z = -3750.559
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 34.75
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.interact_id = 35
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 38019
L6_1.gadget_id = 70330062
L7_1 = {}
L7_1.x = -4294.38
L7_1.y = 200.135
L7_1.z = -3744.586
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
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 38020
L7_1.gadget_id = 70330062
L8_1 = {}
L8_1.x = -4300.329
L8_1.y = 200.142
L8_1.z = -3739.698
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
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 38021
L8_1.gadget_id = 70330062
L9_1 = {}
L9_1.x = -4306.937
L9_1.y = 200.135
L9_1.z = -3744.387
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
L8_1.area_id = 14
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
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 38028
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 35
L4_1 = {}
L4_1.x = -4300.418
L4_1.y = 200.131
L4_1.z = -3744.673
L3_1.pos = L4_1
L3_1.area_id = 14
L4_1 = {}
L5_1 = "RoleElectricPowerSourceBigWorld_Play_TeamBuff"
L4_1[1] = L5_1
L3_1.team_ability_group_list = L4_1
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1038009
L3_1.name = "ANY_MONSTER_DIE_38009"
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_38009"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_38009"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1038010
L4_1.name = "ANY_MONSTER_DIE_38010"
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_38010"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_38010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1038011
L5_1.name = "GADGET_CREATE_38011"
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_38011"
L5_1.action = "action_EVENT_GADGET_CREATE_38011"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1038012
L6_1.name = "ANY_MONSTER_DIE_38012"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = ""
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_38012"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1038013
L7_1.name = "ANY_MONSTER_DIE_38013"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_38013"
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_38013"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1038014
L8_1.name = "SELECT_OPTION_38014"
L9_1 = EventType
L9_1 = L9_1.EVENT_SELECT_OPTION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_SELECT_OPTION_38014"
L8_1.action = "action_EVENT_SELECT_OPTION_38014"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1038015
L9_1.name = "CHALLENGE_SUCCESS_38015"
L10_1 = EventType
L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS
L9_1.event = L10_1
L9_1.source = "666"
L9_1.condition = ""
L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_38015"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1038016
L10_1.name = "CHALLENGE_FAIL_38016"
L11_1 = EventType
L11_1 = L11_1.EVENT_CHALLENGE_FAIL
L10_1.event = L11_1
L10_1.source = "666"
L10_1.condition = ""
L10_1.action = "action_EVENT_CHALLENGE_FAIL_38016"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1038017
L11_1.name = "ANY_MONSTER_LIVE_38017"
L12_1 = EventType
L12_1 = L12_1.EVENT_ANY_MONSTER_LIVE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_38017"
L11_1.action = "action_EVENT_ANY_MONSTER_LIVE_38017"
L11_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
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "deadMonster"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "hasFinished"
L4_1.value = 0
L4_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 38008
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_38011"
L6_1 = "ANY_MONSTER_DIE_38012"
L7_1 = "SELECT_OPTION_38014"
L8_1 = "CHALLENGE_SUCCESS_38015"
L9_1 = "CHALLENGE_FAIL_38016"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 38001
L7_1 = 38022
L8_1 = 38023
L9_1 = 38024
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_38009"
L7_1 = "ANY_MONSTER_LIVE_38017"
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 38002
L8_1 = 38003
L9_1 = 38025
L10_1 = 38026
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_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_38010"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L8_1 = 38004
L9_1 = 38005
L10_1 = 38006
L11_1 = 38027
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L6_1.monsters = L7_1
L7_1 = {}
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "ANY_MONSTER_DIE_38013"
L7_1[1] = L8_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L9_1 = 38007
L8_1[1] = L9_1
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L7_1.triggers = L8_1
L7_1.rand_weight = 100
L8_1 = {}
L9_1 = {}
L8_1.monsters = L9_1
L9_1 = {}
L10_1 = 38018
L11_1 = 38019
L12_1 = 38020
L13_1 = 38021
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L8_1.gadgets = L9_1
L9_1 = {}
L8_1.regions = L9_1
L9_1 = {}
L8_1.triggers = L9_1
L8_1.rand_weight = 100
L9_1 = {}
L10_1 = {}
L9_1.monsters = L10_1
L10_1 = {}
L9_1.gadgets = L10_1
L10_1 = {}
L11_1 = 38028
L10_1[1] = L11_1
L9_1.regions = L10_1
L10_1 = {}
L9_1.triggers = L10_1
L9_1.rand_weight = 100
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
suites = 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_38009 = 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 = {}
L2_2.x = 0
L2_2.y = 0
L2_2.z = 0
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 = 0
L3_2.y = 0
L3_2.z = 0
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 = 133217038
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 = 133217038
L7_2 = 3
L4_2(L5_2, L6_2, L7_2)
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_38009 = 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_38010 = 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 = {}
L2_2.x = 0
L2_2.y = 0
L2_2.z = 0
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 = 0
L3_2.y = 0
L3_2.z = 0
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 = 133217038
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 = 133217038
L7_2 = 4
L4_2(L5_2, L6_2, L7_2)
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_38010 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 38008 ~= 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_38011 = 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 = 133217038
L5_2 = 38008
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_38011 = 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.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_38012 = 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_38013 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_38013 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 38008 ~= 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_38014 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 38008
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 = 133217038
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 7
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 38008
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_38014 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
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 = 133217038
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 = 133217038
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 = 133217038
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 7
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 38008
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_38015 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 38008
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 = 133217038
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 = 133217038
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 = 133217038
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 = 133217038
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 7
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133217038
L5_2 = 38008
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_38016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 38001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_38017 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133217038
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 = 81
L6_2 = 133217038
L7_2 = 12
L8_2 = 38007
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 38019
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 = 38020
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 = 38021
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_ANY_MONSTER_LIVE_38017 = L2_1