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

1377 lines
27 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
L0_1 = {}
L0_1.group_id = 133106437
L1_1 = {}
L2_1 = {}
L2_1.config_id = 437010
L2_1.monster_id = 28050221
L3_1 = {}
L3_1.x = -878.931
L3_1.y = 184.275
L3_1.z = 1645.634
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 36
L2_1.drop_id = 1050181
L2_1.pose_id = 921
L2_1.area_id = 19
L2_1.guest_ban_drop = 63
L3_1 = {}
L3_1.config_id = 437011
L3_1.monster_id = 28050222
L4_1 = {}
L4_1.x = -884.606
L4_1.y = 182.724
L4_1.z = 1656.779
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 192.878
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 36
L3_1.drop_id = 1050182
L3_1.pose_id = 921
L3_1.area_id = 19
L3_1.guest_ban_drop = 63
L4_1 = {}
L4_1.config_id = 437012
L4_1.monster_id = 28050223
L5_1 = {}
L5_1.x = -883.961
L5_1.y = 184.857
L5_1.z = 1642.806
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 223.538
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 36
L4_1.drop_id = 1050180
L4_1.pose_id = 921
L4_1.area_id = 19
L4_1.guest_ban_drop = 63
L5_1 = {}
L5_1.config_id = 437013
L5_1.monster_id = 28050221
L6_1 = {}
L6_1.x = -878.931
L6_1.y = 184.275
L6_1.z = 1645.634
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 = 36
L5_1.drop_id = 1000100
L5_1.pose_id = 102
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 437015
L6_1.monster_id = 28050221
L7_1 = {}
L7_1.x = -882.72
L7_1.y = 182.694
L7_1.z = 1655.049
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 = 36
L6_1.drop_id = 1000100
L6_1.pose_id = 102
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 437016
L7_1.monster_id = 28050221
L8_1 = {}
L8_1.x = -877.475
L8_1.y = 182.196
L8_1.z = 1661.332
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 245.353
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 36
L7_1.drop_id = 1000100
L7_1.pose_id = 102
L7_1.area_id = 19
L8_1 = {}
L8_1.config_id = 437017
L8_1.monster_id = 28050221
L9_1 = {}
L9_1.x = -873.481
L9_1.y = 183.841
L9_1.z = 1646.705
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 = 36
L8_1.drop_id = 1000100
L8_1.pose_id = 102
L8_1.area_id = 19
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
monsters = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 437014
L2_1.npc_id = 20220
L3_1 = {}
L3_1.x = -894.612
L3_1.y = 183.491
L3_1.z = 1655.612
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.area_id = 19
L1_1[1] = L2_1
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 437002
L2_1.gadget_id = 70290028
L3_1 = {}
L3_1.x = -879.058
L3_1.y = 184.115
L3_1.z = 1645.378
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 9.863
L3_1.y = 359.829
L3_1.z = 358.012
L2_1.rot = L3_1
L2_1.level = 36
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 437003
L3_1.gadget_id = 70290028
L4_1 = {}
L4_1.x = -868.955
L4_1.y = 183.816
L4_1.z = 1644.666
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 12.594
L4_1.y = 359.978
L4_1.z = 357.209
L3_1.rot = L4_1
L3_1.level = 36
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 437004
L4_1.gadget_id = 70290028
L5_1 = {}
L5_1.x = -884.071
L5_1.y = 184.694
L5_1.z = 1642.776
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 9.509
L5_1.y = 359.762
L5_1.z = 358.352
L4_1.rot = L5_1
L4_1.level = 36
L4_1.area_id = 19
L5_1 = {}
L5_1.config_id = 437005
L5_1.gadget_id = 70290028
L6_1 = {}
L6_1.x = -884.637
L6_1.y = 182.502
L6_1.z = 1656.826
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 5.846
L6_1.y = 359.901
L6_1.z = 358.534
L5_1.rot = L6_1
L5_1.level = 36
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 437006
L6_1.gadget_id = 70290028
L7_1 = {}
L7_1.x = -874.591
L7_1.y = 182.414
L7_1.z = 1663.1
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 5.298
L7_1.y = 359.247
L7_1.z = 7.464
L6_1.rot = L7_1
L6_1.level = 36
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 437008
L7_1.gadget_id = 70360001
L8_1 = {}
L8_1.x = -889.106
L8_1.y = 188.271
L8_1.z = 1641.951
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 3.818
L8_1.y = 359.934
L8_1.z = 3.485
L7_1.rot = L8_1
L7_1.level = 36
L7_1.persistent = true
L7_1.area_id = 19
L8_1 = {}
L8_1.config_id = 437027
L8_1.gadget_id = 70360040
L9_1 = {}
L9_1.x = -894.973
L9_1.y = 183.463
L9_1.z = 1655.327
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 = 36
L8_1.isOneoff = true
L8_1.persistent = true
L8_1.area_id = 19
L9_1 = {}
L9_1.config_id = 437028
L9_1.gadget_id = 70300203
L10_1 = {}
L10_1.x = -889.081
L10_1.y = 187.826
L10_1.z = 1641.702
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 = 36
L9_1.persistent = true
L9_1.area_id = 19
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 437018
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 15
L3_1 = {}
L3_1.x = -890.215
L3_1.y = 184.334
L3_1.z = 1648.071
L2_1.pos = L3_1
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 437019
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 15
L4_1 = {}
L4_1.x = -890.215
L4_1.y = 184.334
L4_1.z = 1648.071
L3_1.pos = L4_1
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 437020
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 15
L5_1 = {}
L5_1.x = -890.215
L5_1.y = 184.334
L5_1.z = 1648.071
L4_1.pos = L5_1
L4_1.area_id = 19
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1437001
L2_1.name = "GADGET_CREATE_437001"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_437001"
L2_1.action = "action_EVENT_GADGET_CREATE_437001"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1437007
L3_1.name = "SELECT_OPTION_437007"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = ""
L3_1.action = "action_EVENT_SELECT_OPTION_437007"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1437009
L4_1.name = "TIMER_EVENT_437009"
L5_1 = EventType
L5_1 = L5_1.EVENT_TIMER_EVENT
L4_1.event = L5_1
L4_1.source = "cooldown"
L4_1.condition = ""
L4_1.action = "action_EVENT_TIMER_EVENT_437009"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1437018
L5_1.name = "ENTER_REGION_437018"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_437018"
L5_1.action = "action_EVENT_ENTER_REGION_437018"
L6_1 = {}
L6_1.config_id = 1437019
L6_1.name = "ENTER_REGION_437019"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_437019"
L6_1.action = "action_EVENT_ENTER_REGION_437019"
L7_1 = {}
L7_1.config_id = 1437020
L7_1.name = "ENTER_REGION_437020"
L8_1 = EventType
L8_1 = L8_1.EVENT_ENTER_REGION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ENTER_REGION_437020"
L7_1.action = "action_EVENT_ENTER_REGION_437020"
L8_1 = {}
L8_1.config_id = 1437021
L8_1.name = "ANY_MONSTER_DIE_437021"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_437021"
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_437021"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1437022
L9_1.name = "ANY_MONSTER_DIE_437022"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_DIE_437022"
L9_1.action = "action_EVENT_ANY_MONSTER_DIE_437022"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1437023
L10_1.name = "QUEST_FINISH_437023"
L11_1 = EventType
L11_1 = L11_1.EVENT_QUEST_FINISH
L10_1.event = L11_1
L10_1.source = "7106605"
L10_1.condition = ""
L10_1.action = "action_EVENT_QUEST_FINISH_437023"
L11_1 = {}
L11_1.config_id = 1437024
L11_1.name = "ANY_MONSTER_DIE_437024"
L12_1 = EventType
L12_1 = L12_1.EVENT_ANY_MONSTER_DIE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ANY_MONSTER_DIE_437024"
L11_1.action = "action_EVENT_ANY_MONSTER_DIE_437024"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1437025
L12_1.name = "ANY_MONSTER_DIE_437025"
L13_1 = EventType
L13_1 = L13_1.EVENT_ANY_MONSTER_DIE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_ANY_MONSTER_DIE_437025"
L12_1.action = "action_EVENT_ANY_MONSTER_DIE_437025"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1437026
L13_1.name = "ANY_MONSTER_DIE_437026"
L14_1 = EventType
L14_1 = L14_1.EVENT_ANY_MONSTER_DIE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_ANY_MONSTER_DIE_437026"
L13_1.action = "action_EVENT_ANY_MONSTER_DIE_437026"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1437029
L14_1.name = "SELECT_OPTION_437029"
L15_1 = EventType
L15_1 = L15_1.EVENT_SELECT_OPTION
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_SELECT_OPTION_437029"
L14_1.action = "action_EVENT_SELECT_OPTION_437029"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1437030
L15_1.name = "TIMER_EVENT_437030"
L16_1 = EventType
L16_1 = L16_1.EVENT_TIMER_EVENT
L15_1.event = L16_1
L15_1.source = "cameralook"
L15_1.condition = ""
L15_1.action = "action_EVENT_TIMER_EVENT_437030"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "xinshou"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "cangjin"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 3
L4_1.name = "dahuangjin"
L4_1.value = 0
L4_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_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 = 437013
L5_1 = 437015
L6_1 = 437016
L7_1 = 437017
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 437002
L5_1 = 437003
L6_1 = 437004
L7_1 = 437005
L8_1 = 437006
L9_1 = 437027
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_437001"
L5_1 = "SELECT_OPTION_437007"
L6_1 = "TIMER_EVENT_437009"
L7_1 = "QUEST_FINISH_437023"
L8_1 = "SELECT_OPTION_437029"
L9_1 = "TIMER_EVENT_437030"
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
L2_1.triggers = L3_1
L3_1 = {}
L4_1 = 437014
L3_1[1] = L4_1
L2_1.npcs = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 437012
L4_1[1] = L5_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 437018
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_437018"
L6_1 = "ANY_MONSTER_DIE_437021"
L7_1 = "ANY_MONSTER_DIE_437022"
L8_1 = "ANY_MONSTER_DIE_437024"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 437011
L5_1[1] = L6_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 437019
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_437019"
L7_1 = "ANY_MONSTER_DIE_437025"
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 = 437010
L6_1[1] = L7_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 437020
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_437020"
L8_1 = "ANY_MONSTER_DIE_437026"
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 437008
L9_1 = 437028
L7_1[1] = L8_1
L7_1[2] = L9_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
L2_2 = A1_2.param1
if 437008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_437001 = 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 = 133106437
L5_2 = 437008
L6_2 = {}
L7_2 = 750
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_437001 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133106437
L5_2 = 437008
L6_2 = 750
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133106437
L5_2 = "cooldown"
L6_2 = 5
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGameHour
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 0 <= L2_2 and L2_2 < 2 then
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "dahuangjin"
L3_2 = L3_2(L4_2, L5_2)
if L3_2 < 1 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = 133106437
L6_2 = 2
L3_2(L4_2, L5_2, L6_2)
end
else
if 2 <= L2_2 and L2_2 < 12 then
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "cangjin"
L3_2 = L3_2(L4_2, L5_2)
if L3_2 < 4 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = 133106437
L6_2 = 3
L3_2(L4_2, L5_2, L6_2)
end
elseif 12 <= L2_2 and L2_2 < 24 then
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "xinshou"
L3_2 = L3_2(L4_2, L5_2)
if L3_2 < 8 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = 133106437
L6_2 = 4
L3_2(L4_2, L5_2, L6_2)
end
end
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_437007 = 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 = 133106437
L5_2 = 437008
L6_2 = {}
L7_2 = 750
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_TIMER_EVENT_437009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 437018 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_437018 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 310643731
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 = {}
L2_2.x = -883.9609
L2_2.y = 184.8571
L2_2.z = 1642.806
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 = true
L6_2.duration = 1
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
action_EVENT_ENTER_REGION_437018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 437019 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_437019 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 310643721
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 = {}
L2_2.x = -884.6059
L2_2.y = 182.7242
L2_2.z = 1656.779
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 = true
L6_2.duration = 1
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
action_EVENT_ENTER_REGION_437019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 437020 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_437020 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 310643711
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 = {}
L2_2.x = -878.9308
L2_2.y = 184.2747
L2_2.z = 1645.634
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 = true
L6_2.duration = 1
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
action_EVENT_ENTER_REGION_437020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 437012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetHostQuestState
L3_2 = A0_2
L4_2 = 7106601
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = true
return L2_2
end
L2_2 = false
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_437021 = L1_1
function L1_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 = 310643741
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
action_EVENT_ANY_MONSTER_DIE_437021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 437012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetHostQuestState
L3_2 = A0_2
L4_2 = 7106601
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = true
return L2_2
end
L2_2 = false
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_437022 = L1_1
function L1_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 = 310643751
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
action_EVENT_ANY_MONSTER_DIE_437022 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133106437
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 310643701
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 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133106437
L5_2 = "cameralook"
L6_2 = 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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_437023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 437012 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_437024 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "dahuangjin"
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 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133106437
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 437008
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133106437
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 437028
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CancelGroupTimerEvent
L3_2 = A0_2
L4_2 = 133106437
L5_2 = "cooldown"
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 : cancel_timerevent_by_group"
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_437024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 437011 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_437025 = 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 = "cangjin"
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_437025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 437010 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_437026 = 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 = "xinshou"
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_437026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 437008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 750 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_437029 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = {}
L2_2.x = -889
L2_2.y = 188
L2_2.z = 1642
L3_2 = ScriptLib
L3_2 = L3_2.ScenePlaySound
L4_2 = A0_2
L5_2 = {}
L5_2.play_pos = L2_2
L5_2.sound_name = "Audio_lua_quest_WQ_cengYanJuYuan_whistle"
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 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_437029 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = -889
L2_2.y = 188
L2_2.z = 1641.7
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 = true
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
action_EVENT_TIMER_EVENT_437030 = L1_1