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

1146 lines
22 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 = 133102009
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9002
L2_1.monster_id = 21010701
L3_1 = {}
L3_1.x = 1773.145
L3_1.y = 222.34
L3_1.z = 842.727
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 321.3
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.drop_id = 1000100
L3_1 = {}
L4_1 = 1008
L3_1[1] = L4_1
L2_1.affix = L3_1
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 9006
L3_1.monster_id = 21010601
L4_1 = {}
L4_1.x = 1754.719
L4_1.y = 220.312
L4_1.z = 870.547
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 17.077
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1008
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.pose_id = 9011
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 9007
L4_1.monster_id = 21010601
L5_1 = {}
L5_1.x = 1753.233
L5_1.y = 220.518
L5_1.z = 862.464
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 111.534
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1008
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.pose_id = 9011
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 9008
L5_1.monster_id = 21011001
L6_1 = {}
L6_1.x = 1769.701
L6_1.y = 218.811
L6_1.z = 861.592
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 161.348
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.drop_id = 1000100
L6_1 = {}
L7_1 = 1008
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.pose_id = 32
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 9009
L6_1.monster_id = 21020201
L7_1 = {}
L7_1.x = 1750.356
L7_1.y = 220.294
L7_1.z = 868.375
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 125.97
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L6_1.drop_id = 1000100
L7_1 = {}
L8_1 = 1008
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.pose_id = 401
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 9024
L7_1.monster_id = 21020301
L8_1 = {}
L8_1.x = 1740.524
L8_1.y = 214.108
L8_1.z = 835.559
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 21.43
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 18
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 1008
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.isElite = true
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 9025
L8_1.monster_id = 21011201
L9_1 = {}
L9_1.x = 1739.544
L9_1.y = 214.504
L9_1.z = 832.524
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 = 18
L8_1.drop_id = 1000100
L9_1 = {}
L10_1 = 1018
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 9026
L9_1.monster_id = 21011201
L10_1 = {}
L10_1.x = 1738.869
L10_1.y = 214.299
L10_1.z = 834.941
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 23.209
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 18
L9_1.drop_id = 1000100
L10_1 = {}
L11_1 = 1018
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.area_id = 5
L10_1 = {}
L10_1.config_id = 9027
L10_1.monster_id = 21010701
L11_1 = {}
L11_1.x = 1771.202
L11_1.y = 222.363
L11_1.z = 842.606
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 342.923
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 18
L10_1.drop_id = 1000100
L11_1 = {}
L12_1 = 1018
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.area_id = 5
L11_1 = {}
L11_1.config_id = 9028
L11_1.monster_id = 21010701
L12_1 = {}
L12_1.x = 1771.462
L12_1.y = 220.539
L12_1.z = 846.195
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 328.253
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 18
L11_1.drop_id = 1000100
L12_1 = {}
L13_1 = 1018
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.area_id = 5
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9001
L2_1.gadget_id = 70290017
L3_1 = {}
L3_1.x = 1755.093
L3_1.y = 220.589
L3_1.z = 873.456
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 282.114
L3_1.y = 254.124
L3_1.z = 60.727
L2_1.rot = L3_1
L2_1.level = 18
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 9004
L3_1.gadget_id = 70290017
L4_1 = {}
L4_1.x = 1753.064
L4_1.y = 220.588
L4_1.z = 861.656
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 274.01
L4_1.y = 30.032
L4_1.z = 262.15
L3_1.rot = L4_1
L3_1.level = 18
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 9005
L4_1.gadget_id = 70290017
L5_1 = {}
L5_1.x = 1737.922
L5_1.y = 221.431
L5_1.z = 873.958
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 273.85
L5_1.y = 74.389
L5_1.z = 274.151
L4_1.rot = L5_1
L4_1.level = 18
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 9011
L5_1.gadget_id = 70210104
L6_1 = {}
L6_1.x = 1755.113
L6_1.y = 220.609
L6_1.z = 873.445
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 = 16
L5_1.chest_drop_id = 1000100
L5_1.drop_count = 1
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 9012
L6_1.gadget_id = 70300118
L7_1 = {}
L7_1.x = 1755.075
L7_1.y = 220.484
L7_1.z = 873.433
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 = 18
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 9013
L7_1.gadget_id = 70210104
L8_1 = {}
L8_1.x = 1737.893
L8_1.y = 221.432
L8_1.z = 873.984
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 359.241
L8_1.y = 348.533
L8_1.z = 359.868
L7_1.rot = L8_1
L7_1.level = 16
L7_1.chest_drop_id = 1000100
L7_1.drop_count = 1
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 9014
L8_1.gadget_id = 70210104
L9_1 = {}
L9_1.x = 1753.033
L9_1.y = 220.549
L9_1.z = 861.652
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 = 16
L8_1.chest_drop_id = 1000100
L8_1.drop_count = 1
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 9017
L9_1.gadget_id = 70300118
L10_1 = {}
L10_1.x = 1753.069
L10_1.y = 220.549
L10_1.z = 861.669
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 = 18
L9_1.area_id = 5
L10_1 = {}
L10_1.config_id = 9022
L10_1.gadget_id = 70300118
L11_1 = {}
L11_1.x = 1737.913
L11_1.y = 221.667
L11_1.z = 873.948
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 359.241
L11_1.y = 348.533
L11_1.z = 359.868
L10_1.rot = L11_1
L10_1.level = 18
L10_1.area_id = 5
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 = {}
L2_1 = {}
L2_1.config_id = 9003
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 20.5
L3_1 = {}
L3_1.x = 1762.116
L3_1.y = 217.918
L3_1.z = 855.424
L2_1.pos = L3_1
L2_1.area_id = 5
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1009003
L2_1.name = "ENTER_REGION_9003"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_9003"
L2_1.action = "action_EVENT_ENTER_REGION_9003"
L3_1 = {}
L3_1.config_id = 1009010
L3_1.name = "ANY_MONSTER_DIE_9010"
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_9010"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_9010"
L4_1 = {}
L4_1.config_id = 1009015
L4_1.name = "GADGET_STATE_CHANGE_9015"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_9015"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_9015"
L5_1 = {}
L5_1.config_id = 1009016
L5_1.name = "GADGET_STATE_CHANGE_9016"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_9016"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_9016"
L6_1 = {}
L6_1.config_id = 1009018
L6_1.name = "GADGET_STATE_CHANGE_9018"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_9018"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_9018"
L7_1 = {}
L7_1.config_id = 1009019
L7_1.name = "VARIABLE_CHANGE_9019"
L8_1 = EventType
L8_1 = L8_1.EVENT_VARIABLE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_9019"
L7_1.action = "action_EVENT_VARIABLE_CHANGE_9019"
L8_1 = {}
L8_1.config_id = 1009020
L8_1.name = "VARIABLE_CHANGE_9020"
L9_1 = EventType
L9_1 = L9_1.EVENT_VARIABLE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_9020"
L8_1.action = "action_EVENT_VARIABLE_CHANGE_9020"
L9_1 = {}
L9_1.config_id = 1009021
L9_1.name = "VARIABLE_CHANGE_9021"
L10_1 = EventType
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_9021"
L9_1.action = "action_EVENT_VARIABLE_CHANGE_9021"
L10_1 = {}
L10_1.config_id = 1009023
L10_1.name = "ANY_MONSTER_DIE_9023"
L11_1 = EventType
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9023"
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_9023"
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 = "chestnum"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_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 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 9002
L6_1 = 9006
L7_1 = 9007
L8_1 = 9008
L9_1 = 9009
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.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 9003
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_9003"
L6_1 = "ANY_MONSTER_DIE_9010"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 9001
L7_1 = 9004
L8_1 = 9005
L9_1 = 9011
L10_1 = 9012
L11_1 = 9013
L12_1 = 9014
L13_1 = 9017
L14_1 = 9022
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
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_STATE_CHANGE_9015"
L7_1 = "GADGET_STATE_CHANGE_9016"
L8_1 = "GADGET_STATE_CHANGE_9018"
L9_1 = "VARIABLE_CHANGE_9019"
L10_1 = "VARIABLE_CHANGE_9020"
L11_1 = "VARIABLE_CHANGE_9021"
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
L5_1[6] = L11_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 9024
L8_1 = 9025
L9_1 = 9026
L10_1 = 9027
L11_1 = 9028
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_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_9023"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = 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 ~= 9003 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_9003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 1762
L2_2.y = 217
L2_2.z = 855
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021001
L6_2 = L2_2
L7_2 = 25
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_9003 = 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_9010 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133102009
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = 1754
L2_2.y = 220
L2_2.z = 864
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400004
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.x = 1754
L3_2.y = 220
L3_2.z = 864
L4_2 = ScriptLib
L4_2 = L4_2.ScenePlaySound
L5_2 = A0_2
L6_2 = {}
L6_2.play_pos = L3_2
L6_2.sound_name = "LevelHornSound001"
L6_2.play_type = 1
L6_2.is_broadcast = false
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_soundplay"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_9010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 9014 == 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_9015 = 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 = "chestnum"
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 = 133102009
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 9017
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 = 133102009
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 9004
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_9015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 9013 == 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_9016 = 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 = "chestnum"
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 = 133102009
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 9022
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 = 133102009
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 9005
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_9016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 9011 == 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_9018 = 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 = "chestnum"
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 = 133102009
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 9012
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 = 133102009
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 9001
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_9018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "chestnum"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_9019 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "1331020092"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = 1752
L2_2.y = 220
L2_2.z = 864
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021006
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_9019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "chestnum"
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_VARIABLE_CHANGE_9020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 1752
L2_2.y = 220
L2_2.z = 864
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021004
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_9020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "chestnum"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_9021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 1752
L2_2.y = 220
L2_2.z = 864
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021005
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_9021 = 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_9023 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "1331020091"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = 1754
L2_2.y = 220
L2_2.z = 864
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021003
L6_2 = L2_2
L7_2 = 60
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ANY_MONSTER_DIE_9023 = L1_1