mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1137 lines
22 KiB
Lua
1137 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, L15_1, L16_1, L17_1, L18_1, L19_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133220168
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 168005
|
|
L2_1.monster_id = 25080101
|
|
L3_1 = {}
|
|
L3_1.x = -2085.618
|
|
L3_1.y = 200.413
|
|
L3_1.z = -4256.392
|
|
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
|
|
L2_1.drop_id = 1000100
|
|
L2_1.pose_id = 1
|
|
L2_1.area_id = 11
|
|
L3_1 = {}
|
|
L3_1.config_id = 168014
|
|
L3_1.monster_id = 25100201
|
|
L4_1 = {}
|
|
L4_1.x = -2089.286
|
|
L4_1.y = 200.436
|
|
L4_1.z = -4252.621
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 11.64
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L3_1.pose_id = 1
|
|
L3_1.title_id = 10036
|
|
L3_1.special_name_id = 10056
|
|
L3_1.area_id = 11
|
|
L4_1 = {}
|
|
L4_1.config_id = 168020
|
|
L4_1.monster_id = 25080101
|
|
L5_1 = {}
|
|
L5_1.x = -2094.496
|
|
L5_1.y = 200.497
|
|
L5_1.z = -4254.038
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 45.225
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_id = 1000100
|
|
L4_1.pose_id = 1
|
|
L4_1.area_id = 11
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 168003
|
|
L2_1.gadget_id = 70360025
|
|
L3_1 = {}
|
|
L3_1.x = -2091.457
|
|
L3_1.y = 201.107
|
|
L3_1.z = -4259.408
|
|
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
|
|
L2_1.area_id = 11
|
|
L3_1 = {}
|
|
L3_1.config_id = 168008
|
|
L3_1.gadget_id = 70360025
|
|
L4_1 = {}
|
|
L4_1.x = -2097.615
|
|
L4_1.y = 200.275
|
|
L4_1.z = -4242.902
|
|
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
|
|
L3_1.area_id = 11
|
|
L4_1 = {}
|
|
L4_1.config_id = 168009
|
|
L4_1.gadget_id = 70360025
|
|
L5_1 = {}
|
|
L5_1.x = -2077.937
|
|
L5_1.y = 200.38
|
|
L5_1.z = -4252.906
|
|
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
|
|
L4_1.area_id = 11
|
|
L5_1 = {}
|
|
L5_1.config_id = 168010
|
|
L5_1.gadget_id = 70360001
|
|
L6_1 = {}
|
|
L6_1.x = -2088.101
|
|
L6_1.y = 200.392
|
|
L6_1.z = -4248.382
|
|
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
|
|
L5_1.area_id = 11
|
|
L6_1 = {}
|
|
L6_1.config_id = 168019
|
|
L6_1.gadget_id = 70950057
|
|
L7_1 = {}
|
|
L7_1.x = -2088.741
|
|
L7_1.y = 200.387
|
|
L7_1.z = -4249.413
|
|
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 = 11
|
|
L7_1 = {}
|
|
L7_1.config_id = 168024
|
|
L7_1.gadget_id = 70360290
|
|
L8_1 = {}
|
|
L8_1.x = -2088.742
|
|
L8_1.y = 200.325
|
|
L8_1.z = -4249.423
|
|
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 = 11
|
|
L8_1 = {}
|
|
L8_1.config_id = 168025
|
|
L8_1.gadget_id = 70360001
|
|
L9_1 = {}
|
|
L9_1.x = -2090.152
|
|
L9_1.y = 200.307
|
|
L9_1.z = -4248.277
|
|
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 = 11
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 168001
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 1
|
|
L3_1 = {}
|
|
L3_1.x = -2091.457
|
|
L3_1.y = 201.039
|
|
L3_1.z = -4259.408
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 11
|
|
L3_1 = {}
|
|
L3_1.config_id = 168002
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 1
|
|
L4_1 = {}
|
|
L4_1.x = -2097.615
|
|
L4_1.y = 200.275
|
|
L4_1.z = -4242.902
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 11
|
|
L4_1 = {}
|
|
L4_1.config_id = 168004
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 1
|
|
L5_1 = {}
|
|
L5_1.x = -2077.937
|
|
L5_1.y = 200.38
|
|
L5_1.z = -4252.906
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 11
|
|
L5_1 = {}
|
|
L5_1.config_id = 168007
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 13
|
|
L6_1 = {}
|
|
L6_1.x = -2088.741
|
|
L6_1.y = 200.387
|
|
L6_1.z = -4249.413
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 11
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1168001
|
|
L2_1.name = "ENTER_REGION_168001"
|
|
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_168001"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_168001"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1168002
|
|
L3_1.name = "ENTER_REGION_168002"
|
|
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_168002"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_168002"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1168004
|
|
L4_1.name = "ENTER_REGION_168004"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_168004"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_168004"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1168006
|
|
L5_1.name = "VARIABLE_CHANGE_168006"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = "pos_count"
|
|
L5_1.condition = ""
|
|
L5_1.action = ""
|
|
L5_1.trigger_count = 3
|
|
L5_1.tag = "666"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1168007
|
|
L6_1.name = "LEAVE_REGION_168007"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_LEAVE_REGION
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_LEAVE_REGION_168007"
|
|
L6_1.action = ""
|
|
L6_1.tag = "667"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1168011
|
|
L7_1.name = "GADGET_CREATE_168011"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGET_CREATE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_GADGET_CREATE_168011"
|
|
L7_1.action = "action_EVENT_GADGET_CREATE_168011"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1168012
|
|
L8_1.name = "CHALLENGE_SUCCESS_168012"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_CHALLENGE_SUCCESS
|
|
L8_1.event = L9_1
|
|
L8_1.source = "168"
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_CHALLENGE_SUCCESS_168012"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1168013
|
|
L9_1.name = "CHALLENGE_FAIL_168013"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_CHALLENGE_FAIL
|
|
L9_1.event = L10_1
|
|
L9_1.source = "168"
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_CHALLENGE_FAIL_168013"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1168015
|
|
L10_1.name = "ANY_MONSTER_DIE_168015"
|
|
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 = ""
|
|
L10_1.trigger_count = 3
|
|
L10_1.tag = "665"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1168016
|
|
L11_1.name = "CHALLENGE_FAIL_168016"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_CHALLENGE_FAIL
|
|
L11_1.event = L12_1
|
|
L11_1.source = "110201"
|
|
L11_1.condition = ""
|
|
L11_1.action = "action_EVENT_CHALLENGE_FAIL_168016"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1168017
|
|
L12_1.name = "CHALLENGE_FAIL_168017"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_CHALLENGE_FAIL
|
|
L12_1.event = L13_1
|
|
L12_1.source = "110202"
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_CHALLENGE_FAIL_168017"
|
|
L13_1 = {}
|
|
L13_1.config_id = 1168018
|
|
L13_1.name = "CHALLENGE_FAIL_168018"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_CHALLENGE_FAIL
|
|
L13_1.event = L14_1
|
|
L13_1.source = "110203"
|
|
L13_1.condition = ""
|
|
L13_1.action = "action_EVENT_CHALLENGE_FAIL_168018"
|
|
L14_1 = {}
|
|
L14_1.config_id = 1168021
|
|
L14_1.name = "ANY_MONSTER_LIVE_168021"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_ANY_MONSTER_LIVE
|
|
L14_1.event = L15_1
|
|
L14_1.source = ""
|
|
L14_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_168021"
|
|
L14_1.action = "action_EVENT_ANY_MONSTER_LIVE_168021"
|
|
L15_1 = {}
|
|
L15_1.config_id = 1168026
|
|
L15_1.name = "GADGET_CREATE_168026"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_GADGET_CREATE
|
|
L15_1.event = L16_1
|
|
L15_1.source = ""
|
|
L15_1.condition = "condition_EVENT_GADGET_CREATE_168026"
|
|
L15_1.action = "action_EVENT_GADGET_CREATE_168026"
|
|
L15_1.trigger_count = 0
|
|
L16_1 = {}
|
|
L16_1.config_id = 1168027
|
|
L16_1.name = "TIME_AXIS_PASS_168027"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_TIME_AXIS_PASS
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = "condition_EVENT_TIME_AXIS_PASS_168027"
|
|
L16_1.action = "action_EVENT_TIME_AXIS_PASS_168027"
|
|
L17_1 = {}
|
|
L17_1.config_id = 1168028
|
|
L17_1.name = "TIME_AXIS_PASS_168028"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_TIME_AXIS_PASS
|
|
L17_1.event = L18_1
|
|
L17_1.source = ""
|
|
L17_1.condition = "condition_EVENT_TIME_AXIS_PASS_168028"
|
|
L17_1.action = "action_EVENT_TIME_AXIS_PASS_168028"
|
|
L18_1 = {}
|
|
L18_1.config_id = 1168029
|
|
L18_1.name = "TIME_AXIS_PASS_168029"
|
|
L19_1 = EventType
|
|
L19_1 = L19_1.EVENT_TIME_AXIS_PASS
|
|
L18_1.event = L19_1
|
|
L18_1.source = ""
|
|
L18_1.condition = "condition_EVENT_TIME_AXIS_PASS_168029"
|
|
L18_1.action = "action_EVENT_TIME_AXIS_PASS_168029"
|
|
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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "pos_count"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L1_1[1] = L2_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 4
|
|
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 = 168003
|
|
L5_1 = 168008
|
|
L6_1 = 168009
|
|
L7_1 = 168010
|
|
L8_1 = 168019
|
|
L9_1 = 168024
|
|
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 = {}
|
|
L4_1 = 168001
|
|
L5_1 = 168002
|
|
L6_1 = 168004
|
|
L7_1 = 168007
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ENTER_REGION_168001"
|
|
L5_1 = "ENTER_REGION_168002"
|
|
L6_1 = "ENTER_REGION_168004"
|
|
L7_1 = "VARIABLE_CHANGE_168006"
|
|
L8_1 = "LEAVE_REGION_168007"
|
|
L9_1 = "GADGET_CREATE_168011"
|
|
L10_1 = "CHALLENGE_SUCCESS_168012"
|
|
L11_1 = "CHALLENGE_FAIL_168013"
|
|
L12_1 = "ANY_MONSTER_DIE_168015"
|
|
L13_1 = "CHALLENGE_FAIL_168016"
|
|
L14_1 = "CHALLENGE_FAIL_168017"
|
|
L15_1 = "CHALLENGE_FAIL_168018"
|
|
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
|
|
L3_1[11] = L14_1
|
|
L3_1[12] = L15_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 168005
|
|
L7_1 = 168014
|
|
L8_1 = 168020
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_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_LIVE_168021"
|
|
L7_1 = "TIME_AXIS_PASS_168028"
|
|
L8_1 = "TIME_AXIS_PASS_168029"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 168025
|
|
L6_1[1] = L7_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "GADGET_CREATE_168026"
|
|
L8_1 = "TIME_AXIS_PASS_168027"
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_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 ~= 168001 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_168001 = 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 = "pos_count"
|
|
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.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 168003
|
|
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 : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_168001 = 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 ~= 168002 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_168002 = 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 = "pos_count"
|
|
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.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 168008
|
|
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 : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_168002 = 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 ~= 168004 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_168004 = 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 = "pos_count"
|
|
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.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 168009
|
|
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 : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_168004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 168007 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_LEAVE_REGION_168007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 168010 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_168011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateFatherChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 168
|
|
L5_2 = 110200
|
|
L6_2 = 60
|
|
L7_2 = {}
|
|
L7_2.success = 2
|
|
L7_2.fail = 1
|
|
L7_2.fail_on_wipe = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AttachChildChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 168
|
|
L5_2 = 110201
|
|
L6_2 = 110201
|
|
L7_2 = {}
|
|
L8_2 = 60
|
|
L9_2 = 1
|
|
L10_2 = 665
|
|
L11_2 = 3
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 1
|
|
L9_2.fail = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AttachChildChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 168
|
|
L5_2 = 110202
|
|
L6_2 = 110202
|
|
L7_2 = {}
|
|
L8_2 = 60
|
|
L9_2 = 3
|
|
L10_2 = 666
|
|
L11_2 = 3
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 1
|
|
L9_2.fail = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AttachChildChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 168
|
|
L5_2 = 110203
|
|
L6_2 = 110203
|
|
L7_2 = {}
|
|
L8_2 = 60
|
|
L9_2 = 5
|
|
L10_2 = 667
|
|
L11_2 = 1
|
|
L12_2 = 0
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L7_2[5] = L12_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 0
|
|
L9_2.fail = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.StartFatherChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 168
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220168
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_168011 = 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 = "13322016801"
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133220168
|
|
L4_2.suite = 2
|
|
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.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = -1074245752
|
|
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_CHALLENGE_SUCCESS_168012 = 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 = "13322016802"
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133220168
|
|
L4_2.suite = 2
|
|
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_CHALLENGE_FAIL_168013 = 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 = -1074245755
|
|
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_CHALLENGE_FAIL_168016 = 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 = -1074245754
|
|
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_CHALLENGE_FAIL_168017 = 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 = -1074245753
|
|
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_CHALLENGE_FAIL_168018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 168014 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_LIVE_168021 = 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.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "reminder_delay"
|
|
L5_2 = {}
|
|
L6_2 = 2
|
|
L7_2 = 30
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L6_2 = false
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_LIVE_168021 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 168025 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_168026 = 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.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "delay"
|
|
L5_2 = {}
|
|
L6_2 = 1
|
|
L5_2[1] = L6_2
|
|
L6_2 = false
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_168026 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.source_name
|
|
if "delay" == L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 1 == L2_2 then
|
|
goto lbl_9
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_9::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_168027 = 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 = 133220168
|
|
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_TIME_AXIS_PASS_168027 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.source_name
|
|
if "reminder_delay" == L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 1 == L2_2 then
|
|
goto lbl_9
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_9::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_168028 = 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 = -1074245749
|
|
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_TIME_AXIS_PASS_168028 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.source_name
|
|
if "reminder_delay" == L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 2 == L2_2 then
|
|
goto lbl_9
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_9::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_168029 = 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 = -1074245746
|
|
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_TIME_AXIS_PASS_168029 = L1_1
|