mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1279 lines
26 KiB
Lua
1279 lines
26 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, L17_1, L18_1, L19_1, L20_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 220121007
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 7001
|
|
L2_1.monster_id = 21010701
|
|
L3_1 = {}
|
|
L3_1.x = -40.965
|
|
L3_1.y = -396.12
|
|
L3_1.z = -38.189
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.25
|
|
L3_1.y = 351.267
|
|
L3_1.z = 0.43
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L3_1 = {}
|
|
L3_1.config_id = 7002
|
|
L3_1.monster_id = 21020201
|
|
L4_1 = {}
|
|
L4_1.x = -34.684
|
|
L4_1.y = -396.12
|
|
L4_1.z = -40.307
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.25
|
|
L4_1.y = 351.267
|
|
L4_1.z = 0.43
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L4_1 = {}
|
|
L4_1.config_id = 7003
|
|
L4_1.monster_id = 21010701
|
|
L5_1 = {}
|
|
L5_1.x = -29.41
|
|
L5_1.y = -396.12
|
|
L5_1.z = -36.37
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.25
|
|
L5_1.y = 351.267
|
|
L5_1.z = 0.43
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_id = 1000100
|
|
L5_1 = {}
|
|
L5_1.config_id = 7005
|
|
L5_1.monster_id = 20011201
|
|
L6_1 = {}
|
|
L6_1.x = -42.402
|
|
L6_1.y = -396.12
|
|
L6_1.z = -24.706
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 144.765
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_id = 1000100
|
|
L6_1 = {}
|
|
L6_1.config_id = 7006
|
|
L6_1.monster_id = 20011301
|
|
L7_1 = {}
|
|
L7_1.x = -35.67
|
|
L7_1.y = -396.12
|
|
L7_1.z = -21.642
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 184.587
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_id = 1000100
|
|
L7_1 = {}
|
|
L7_1.config_id = 7009
|
|
L7_1.monster_id = 21020501
|
|
L8_1 = {}
|
|
L8_1.x = -45.073
|
|
L8_1.y = -396.12
|
|
L8_1.z = -30.928
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 90.072
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_id = 1000100
|
|
L8_1 = {}
|
|
L8_1.config_id = 7032
|
|
L8_1.monster_id = 20011201
|
|
L9_1 = {}
|
|
L9_1.x = -29.195
|
|
L9_1.y = -396.12
|
|
L9_1.z = -23.256
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 207.702
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_id = 1000100
|
|
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 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 7010
|
|
L2_1.gadget_id = 70290296
|
|
L3_1 = {}
|
|
L3_1.x = -35.849
|
|
L3_1.y = -395.987
|
|
L3_1.z = -30.705
|
|
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 = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 7011
|
|
L3_1.gadget_id = 70290255
|
|
L4_1 = {}
|
|
L4_1.x = -36.116
|
|
L4_1.y = -395.679
|
|
L4_1.z = -30.744
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 0.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 7012
|
|
L4_1.gadget_id = 70290256
|
|
L5_1 = {}
|
|
L5_1.x = -35.849
|
|
L5_1.y = -395.987
|
|
L5_1.z = -30.705
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 7027
|
|
L5_1.gadget_id = 70900201
|
|
L6_1 = {}
|
|
L6_1.x = -35.849
|
|
L6_1.y = -393.035
|
|
L6_1.z = -30.705
|
|
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 = 1
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 7013
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 10
|
|
L3_1 = {}
|
|
L3_1.x = -35.932
|
|
L3_1.y = -395.503
|
|
L3_1.z = -29.972
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 7026
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.CUBIC
|
|
L3_1.shape = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 130.0
|
|
L4_1.y = 135.0
|
|
L4_1.z = 130.0
|
|
L3_1.size = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = -35.164
|
|
L4_1.y = -335.41
|
|
L4_1.z = -31.06
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 7029
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.CUBIC
|
|
L4_1.shape = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 40.0
|
|
L5_1.y = 15.0
|
|
L5_1.z = 40.0
|
|
L4_1.size = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = -35.833
|
|
L5_1.y = -397.86
|
|
L5_1.z = -30.686
|
|
L4_1.pos = L5_1
|
|
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 = 1007004
|
|
L2_1.name = "GADGET_STATE_CHANGE_7004"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_7004"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_7004"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1007013
|
|
L3_1.name = "ENTER_REGION_7013"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ENTER_REGION
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ENTER_REGION_7013"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_7013"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1007014
|
|
L4_1.name = "ANY_MONSTER_DIE_7014"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_7014"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1007015
|
|
L5_1.name = "VARIABLE_CHANGE_7015"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_7015"
|
|
L5_1.action = "action_EVENT_VARIABLE_CHANGE_7015"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1007016
|
|
L6_1.name = "GADGET_STATE_CHANGE_7016"
|
|
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_7016"
|
|
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_7016"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1007017
|
|
L7_1.name = "GADGET_STATE_CHANGE_7017"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_7017"
|
|
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_7017"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1007018
|
|
L8_1.name = "GADGET_STATE_CHANGE_7018"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_7018"
|
|
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_7018"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1007019
|
|
L9_1.name = "GADGET_CREATE_7019"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_GADGET_CREATE
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_GADGET_CREATE_7019"
|
|
L9_1.action = "action_EVENT_GADGET_CREATE_7019"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1007020
|
|
L10_1.name = "ANY_MONSTER_DIE_7020"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = ""
|
|
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_7020"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1007021
|
|
L11_1.name = "VARIABLE_CHANGE_7021"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_VARIABLE_CHANGE
|
|
L11_1.event = L12_1
|
|
L11_1.source = ""
|
|
L11_1.condition = "condition_EVENT_VARIABLE_CHANGE_7021"
|
|
L11_1.action = "action_EVENT_VARIABLE_CHANGE_7021"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1007022
|
|
L12_1.name = "ANY_MONSTER_DIE_7022"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_ANY_MONSTER_DIE
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_ANY_MONSTER_DIE_7022"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1007023
|
|
L13_1.name = "VARIABLE_CHANGE_7023"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_7023"
|
|
L13_1.action = "action_EVENT_VARIABLE_CHANGE_7023"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1007024
|
|
L14_1.name = "TIME_AXIS_PASS_7024"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_TIME_AXIS_PASS
|
|
L14_1.event = L15_1
|
|
L14_1.source = "_wave_tick"
|
|
L14_1.condition = ""
|
|
L14_1.action = "action_EVENT_TIME_AXIS_PASS_7024"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1007025
|
|
L15_1.name = "TIME_AXIS_PASS_7025"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_TIME_AXIS_PASS
|
|
L15_1.event = L16_1
|
|
L15_1.source = "_wave_tick"
|
|
L15_1.condition = ""
|
|
L15_1.action = "action_EVENT_TIME_AXIS_PASS_7025"
|
|
L15_1.trigger_count = 0
|
|
L16_1 = {}
|
|
L16_1.config_id = 1007026
|
|
L16_1.name = "ENTER_REGION_7026"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_ENTER_REGION
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = "condition_EVENT_ENTER_REGION_7026"
|
|
L16_1.action = "action_EVENT_ENTER_REGION_7026"
|
|
L17_1 = {}
|
|
L17_1.config_id = 1007029
|
|
L17_1.name = "ENTER_REGION_7029"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_ENTER_REGION
|
|
L17_1.event = L18_1
|
|
L17_1.source = ""
|
|
L17_1.condition = "condition_EVENT_ENTER_REGION_7029"
|
|
L17_1.action = "action_EVENT_ENTER_REGION_7029"
|
|
L18_1 = {}
|
|
L18_1.config_id = 1007031
|
|
L18_1.name = "ANY_GADGET_DIE_7031"
|
|
L19_1 = EventType
|
|
L19_1 = L19_1.EVENT_ANY_GADGET_DIE
|
|
L18_1.event = L19_1
|
|
L18_1.source = ""
|
|
L18_1.condition = "condition_EVENT_ANY_GADGET_DIE_7031"
|
|
L18_1.action = "action_EVENT_ANY_GADGET_DIE_7031"
|
|
L19_1 = {}
|
|
L19_1.config_id = 1007034
|
|
L19_1.name = "QUEST_FINISH_7034"
|
|
L20_1 = EventType
|
|
L20_1 = L20_1.EVENT_QUEST_FINISH
|
|
L19_1.event = L20_1
|
|
L19_1.source = "1101313"
|
|
L19_1.condition = ""
|
|
L19_1.action = "action_EVENT_QUEST_FINISH_7034"
|
|
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
|
|
L1_1[15] = L16_1
|
|
L1_1[16] = L17_1
|
|
L1_1[17] = L18_1
|
|
L1_1[18] = L19_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "_stage1_monster"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "_stage2_monster"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
L4_1 = {}
|
|
L4_1.configId = 3
|
|
L4_1.name = "_stage3_monster"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = false
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 5
|
|
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 = 7010
|
|
L5_1 = 7027
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 7013
|
|
L5_1 = 7026
|
|
L6_1 = 7029
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_7004"
|
|
L5_1 = "ENTER_REGION_7013"
|
|
L6_1 = "GADGET_STATE_CHANGE_7016"
|
|
L7_1 = "GADGET_STATE_CHANGE_7017"
|
|
L8_1 = "GADGET_STATE_CHANGE_7018"
|
|
L9_1 = "GADGET_CREATE_7019"
|
|
L10_1 = "ENTER_REGION_7026"
|
|
L11_1 = "ENTER_REGION_7029"
|
|
L12_1 = "ANY_GADGET_DIE_7031"
|
|
L13_1 = "QUEST_FINISH_7034"
|
|
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
|
|
L3_1[7] = L10_1
|
|
L3_1[8] = L11_1
|
|
L3_1[9] = L12_1
|
|
L3_1[10] = L13_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 7001
|
|
L6_1 = 7002
|
|
L7_1 = 7003
|
|
L8_1 = 7005
|
|
L9_1 = 7006
|
|
L10_1 = 7032
|
|
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
|
|
L4_1[6] = L10_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 7011
|
|
L6_1 = 7012
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_7014"
|
|
L6_1 = "VARIABLE_CHANGE_7015"
|
|
L7_1 = "TIME_AXIS_PASS_7024"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 7009
|
|
L5_1[1] = L6_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 7012
|
|
L5_1[1] = L6_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ANY_MONSTER_DIE_7020"
|
|
L7_1 = "VARIABLE_CHANGE_7021"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 7011
|
|
L8_1 = 7012
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "ANY_MONSTER_DIE_7022"
|
|
L8_1 = "VARIABLE_CHANGE_7023"
|
|
L9_1 = "TIME_AXIS_PASS_7024"
|
|
L10_1 = "TIME_AXIS_PASS_7025"
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_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 = A1_2.param2
|
|
if 7010 == 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_7004 = 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 = -36
|
|
L2_2.y = -395
|
|
L2_2.z = -37
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 400122
|
|
L6_2 = L2_2
|
|
L7_2 = 100
|
|
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_GADGET_STATE_CHANGE_7004 = 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 ~= 7013 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_7013 = 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 = 7010
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestLocked
|
|
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 = {}
|
|
L2_2.x = -35
|
|
L2_2.y = -395
|
|
L2_2.z = -29
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 400121
|
|
L6_2 = L2_2
|
|
L7_2 = 100
|
|
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_7013 = 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 = "_stage1_monster"
|
|
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_7014 = 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 = "_stage1_monster"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 6 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_7015 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 7010
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestOpened
|
|
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_VARIABLE_CHANGE_7015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 7010 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestLocked
|
|
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_7016 = 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 = 220121007
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "_wave_tick"
|
|
L5_2 = {}
|
|
L6_2 = 4
|
|
L5_2[1] = L6_2
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_7016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 7010 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestTrap
|
|
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_7017 = 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 = 220121007
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = {}
|
|
L2_2.x = -36
|
|
L2_2.y = -395
|
|
L2_2.z = -33
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 400121
|
|
L6_2 = L2_2
|
|
L7_2 = 100
|
|
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_GADGET_STATE_CHANGE_7017 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 7010 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
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_7018 = 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 = 220121007
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "_wave_tick"
|
|
L5_2 = {}
|
|
L6_2 = 8
|
|
L5_2[1] = L6_2
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_7018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 7010 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_7019 = 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.SetEntityServerGlobalValueByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 7010
|
|
L5_2 = "SGV_Mechanic_Type"
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_7019 = 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 = "_stage2_monster"
|
|
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_7020 = 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 = "_stage2_monster"
|
|
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_7021 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 7010
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.ChestBramble
|
|
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_VARIABLE_CHANGE_7021 = 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 = "_stage3_monster"
|
|
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_7022 = 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 = "_stage3_monster"
|
|
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_7023 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 7010
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
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_VARIABLE_CHANGE_7023 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 7012
|
|
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_TIME_AXIS_PASS_7024 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 7012
|
|
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_TIME_AXIS_PASS_7025 = 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 ~= 7026 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_7026 = 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.SetWeatherAreaState
|
|
L3_2 = A0_2
|
|
L4_2 = 10068
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EnterWeatherArea
|
|
L3_2 = A0_2
|
|
L4_2 = 10068
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "2201210072"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_7026 = 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 ~= 7029 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_7029 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "2201210071"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_7029 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 7010 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_7031 = 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.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "2201210071"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 220121007
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 7012
|
|
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_ANY_GADGET_DIE_7031 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 220121007
|
|
L4_2.suite = 5
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 220121004
|
|
L4_2.suite = 3
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 220121012
|
|
L4_2.suite = 1
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_FINISH_7034 = L1_1
|