mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
871 lines
16 KiB
Lua
871 lines
16 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 220104005
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 5001
|
|
L2_1.gadget_id = 70350170
|
|
L3_1 = {}
|
|
L3_1.x = -125.699
|
|
L3_1.y = 31.271
|
|
L3_1.z = 23.0
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 351.32
|
|
L3_1.y = 270.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 90
|
|
L2_1.route_id = 4
|
|
L3_1 = {}
|
|
L3_1.config_id = 5002
|
|
L3_1.gadget_id = 70350170
|
|
L4_1 = {}
|
|
L4_1.x = -125.699
|
|
L4_1.y = 31.271
|
|
L4_1.z = 23.0
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 351.32
|
|
L4_1.y = 270.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 90
|
|
L3_1.route_id = 4
|
|
L4_1 = {}
|
|
L4_1.config_id = 5003
|
|
L4_1.gadget_id = 70350171
|
|
L5_1 = {}
|
|
L5_1.x = -127.519
|
|
L5_1.y = 31.549
|
|
L5_1.z = 23.0
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 351.32
|
|
L5_1.y = 270.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 5004
|
|
L5_1.gadget_id = 70350170
|
|
L6_1 = {}
|
|
L6_1.x = -125.699
|
|
L6_1.y = 31.271
|
|
L6_1.z = 23.0
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 351.32
|
|
L6_1.y = 270.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 90
|
|
L5_1.route_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 5005
|
|
L6_1.gadget_id = 70350170
|
|
L7_1 = {}
|
|
L7_1.x = -125.699
|
|
L7_1.y = 31.271
|
|
L7_1.z = 23.0
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 351.32
|
|
L7_1.y = 270.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 90
|
|
L6_1.route_id = 5
|
|
L7_1 = {}
|
|
L7_1.config_id = 5006
|
|
L7_1.gadget_id = 70350170
|
|
L8_1 = {}
|
|
L8_1.x = -125.699
|
|
L8_1.y = 31.271
|
|
L8_1.z = 23.0
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 351.32
|
|
L8_1.y = 270.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 90
|
|
L7_1.route_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 5007
|
|
L8_1.gadget_id = 70350170
|
|
L9_1 = {}
|
|
L9_1.x = -125.699
|
|
L9_1.y = 31.271
|
|
L9_1.z = 23.0
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 351.32
|
|
L9_1.y = 270.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 90
|
|
L8_1.route_id = 4
|
|
L9_1 = {}
|
|
L9_1.config_id = 5008
|
|
L9_1.gadget_id = 70350170
|
|
L10_1 = {}
|
|
L10_1.x = -125.699
|
|
L10_1.y = 31.271
|
|
L10_1.z = 23.0
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 351.32
|
|
L10_1.y = 270.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 90
|
|
L9_1.route_id = 5
|
|
L10_1 = {}
|
|
L10_1.config_id = 5009
|
|
L10_1.gadget_id = 70350170
|
|
L11_1 = {}
|
|
L11_1.x = -125.699
|
|
L11_1.y = 31.271
|
|
L11_1.z = 23.0
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 351.32
|
|
L11_1.y = 270.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 90
|
|
L10_1.route_id = 6
|
|
L11_1 = {}
|
|
L11_1.config_id = 5010
|
|
L11_1.gadget_id = 70350170
|
|
L12_1 = {}
|
|
L12_1.x = -125.699
|
|
L12_1.y = 31.271
|
|
L12_1.z = 23.0
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 351.32
|
|
L12_1.y = 270.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 90
|
|
L11_1.route_id = 4
|
|
L12_1 = {}
|
|
L12_1.config_id = 5012
|
|
L12_1.gadget_id = 70350170
|
|
L13_1 = {}
|
|
L13_1.x = -125.699
|
|
L13_1.y = 31.271
|
|
L13_1.z = 23.0
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 351.32
|
|
L13_1.y = 270.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 90
|
|
L12_1.route_id = 6
|
|
L13_1 = {}
|
|
L13_1.config_id = 5013
|
|
L13_1.gadget_id = 70350170
|
|
L14_1 = {}
|
|
L14_1.x = -125.699
|
|
L14_1.y = 31.271
|
|
L14_1.z = 23.0
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 351.32
|
|
L14_1.y = 270.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 90
|
|
L13_1.route_id = 4
|
|
L14_1 = {}
|
|
L14_1.config_id = 5014
|
|
L14_1.gadget_id = 70350170
|
|
L15_1 = {}
|
|
L15_1.x = -125.699
|
|
L15_1.y = 31.271
|
|
L15_1.z = 23.0
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 351.32
|
|
L15_1.y = 270.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 90
|
|
L14_1.route_id = 5
|
|
L15_1 = {}
|
|
L15_1.config_id = 5022
|
|
L15_1.gadget_id = 70350170
|
|
L16_1 = {}
|
|
L16_1.x = -125.699
|
|
L16_1.y = 31.271
|
|
L16_1.z = 23.0
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 351.32
|
|
L16_1.y = 270.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 90
|
|
L15_1.route_id = 6
|
|
L16_1 = {}
|
|
L16_1.config_id = 5024
|
|
L16_1.gadget_id = 70350170
|
|
L17_1 = {}
|
|
L17_1.x = -125.699
|
|
L17_1.y = 31.271
|
|
L17_1.z = 23.0
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 351.32
|
|
L17_1.y = 270.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 90
|
|
L16_1.route_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
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 5021
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.CUBIC
|
|
L2_1.shape = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 15.0
|
|
L3_1.y = 15.0
|
|
L3_1.z = 15.0
|
|
L2_1.size = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = -120.706
|
|
L3_1.y = 15.793
|
|
L3_1.z = 23.086
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 5030
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 10
|
|
L4_1 = {}
|
|
L4_1.x = -57.955
|
|
L4_1.y = 28.471
|
|
L4_1.z = 11.002
|
|
L3_1.pos = L4_1
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1005011
|
|
L2_1.name = "TIMER_EVENT_5011"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_TIMER_EVENT
|
|
L2_1.event = L3_1
|
|
L2_1.source = "SSS1"
|
|
L2_1.condition = ""
|
|
L2_1.action = ""
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1005015
|
|
L3_1.name = "TIMER_EVENT_5015"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_TIMER_EVENT
|
|
L3_1.event = L4_1
|
|
L3_1.source = "SSS2"
|
|
L3_1.condition = ""
|
|
L3_1.action = ""
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1005016
|
|
L4_1.name = "TIMER_EVENT_5016"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_TIMER_EVENT
|
|
L4_1.event = L5_1
|
|
L4_1.source = "S1"
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_TIMER_EVENT_5016"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1005017
|
|
L5_1.name = "TIMER_EVENT_5017"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_TIMER_EVENT
|
|
L5_1.event = L6_1
|
|
L5_1.source = "S2"
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_TIMER_EVENT_5017"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1005018
|
|
L6_1.name = "TIMER_EVENT_5018"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_TIMER_EVENT
|
|
L6_1.event = L7_1
|
|
L6_1.source = "S3"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_TIMER_EVENT_5018"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1005019
|
|
L7_1.name = "TIMER_EVENT_5019"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_TIMER_EVENT
|
|
L7_1.event = L8_1
|
|
L7_1.source = "S4"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_TIMER_EVENT_5019"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1005020
|
|
L8_1.name = "TIMER_EVENT_5020"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_TIMER_EVENT
|
|
L8_1.event = L9_1
|
|
L8_1.source = "S5"
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_TIMER_EVENT_5020"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1005021
|
|
L9_1.name = "ENTER_REGION_5021"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_ENTER_REGION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_ENTER_REGION_5021"
|
|
L9_1.action = "action_EVENT_ENTER_REGION_5021"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1005030
|
|
L10_1.name = "ENTER_REGION_5030"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_ENTER_REGION
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_ENTER_REGION_5030"
|
|
L10_1.action = "action_EVENT_ENTER_REGION_5030"
|
|
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 = {}
|
|
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 = {}
|
|
L4_1 = 5003
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 5021
|
|
L5_1 = 5030
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "TIMER_EVENT_5011"
|
|
L5_1 = "TIMER_EVENT_5015"
|
|
L6_1 = "TIMER_EVENT_5016"
|
|
L7_1 = "TIMER_EVENT_5017"
|
|
L8_1 = "TIMER_EVENT_5018"
|
|
L9_1 = "TIMER_EVENT_5019"
|
|
L10_1 = "TIMER_EVENT_5020"
|
|
L11_1 = "ENTER_REGION_5021"
|
|
L12_1 = "ENTER_REGION_5030"
|
|
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
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 5002
|
|
L6_1 = 5004
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_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 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 5006
|
|
L7_1 = 5007
|
|
L8_1 = 5008
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 5009
|
|
L8_1 = 5010
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 5012
|
|
L9_1 = 5013
|
|
L10_1 = 5014
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_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
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 5001
|
|
L10_1 = 5005
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L7_1.triggers = L8_1
|
|
L7_1.rand_weight = 100
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L8_1.monsters = L9_1
|
|
L9_1 = {}
|
|
L10_1 = 5022
|
|
L11_1 = 5024
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L8_1.triggers = L9_1
|
|
L8_1.rand_weight = 100
|
|
L9_1 = {}
|
|
L10_1 = {}
|
|
L9_1.monsters = L10_1
|
|
L10_1 = {}
|
|
L9_1.gadgets = L10_1
|
|
L10_1 = {}
|
|
L9_1.regions = L10_1
|
|
L10_1 = {}
|
|
L9_1.triggers = L10_1
|
|
L9_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
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
suites = 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 = 220104005
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S2"
|
|
L6_2 = 5
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_5016 = 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 = 220104005
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S3"
|
|
L6_2 = 5
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_5017 = 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 = 220104005
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S4"
|
|
L6_2 = 5
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = 6
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_5018 = 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 = 220104005
|
|
L5_2 = 6
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S5"
|
|
L6_2 = 5
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_5019 = 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 = 220104005
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S1"
|
|
L6_2 = 5
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_5020 = 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 ~= 5021 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_5021 = 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.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S1"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S2"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S3"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S4"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S5"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "SSS1"
|
|
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_ENTER_REGION_5021 = 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 ~= 5030 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_5030 = 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 = 220104005
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220104005
|
|
L5_2 = "S1"
|
|
L6_2 = 4
|
|
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_ENTER_REGION_5030 = L1_1
|