mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
885 lines
17 KiB
Lua
885 lines
17 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 = 133217228
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = 228001
|
|
L5_1 = 228004
|
|
L6_1 = 228007
|
|
L7_1 = 228010
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L4_1 = {}
|
|
L5_1 = 228002
|
|
L6_1 = 228006
|
|
L7_1 = 228009
|
|
L8_1 = 228012
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L5_1 = {}
|
|
L6_1 = 228003
|
|
L7_1 = 228005
|
|
L8_1 = 228008
|
|
L9_1 = 228011
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L1_1.InitFloorArrays = L2_1
|
|
L2_1 = {}
|
|
L3_1 = 70310059
|
|
L4_1 = 70310060
|
|
L5_1 = 70310061
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L1_1.FloorGadgetID = L2_1
|
|
L1_1.FloorNum = 12
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 228001
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4435.776
|
|
L4_1.y = 205.625
|
|
L4_1.z = -3972.064
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228001] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228002
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4435.188
|
|
L4_1.y = 205.616
|
|
L4_1.z = -3974.982
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228002] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228003
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4434.594
|
|
L4_1.y = 205.608
|
|
L4_1.z = -3977.916
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228003] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228004
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4432.841
|
|
L4_1.y = 205.643
|
|
L4_1.z = -3971.47
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228004] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228005
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4431.657
|
|
L4_1.y = 205.626
|
|
L4_1.z = -3977.32
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228005] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228006
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4432.249
|
|
L4_1.y = 205.634
|
|
L4_1.z = -3974.387
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228006] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228007
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4429.899
|
|
L4_1.y = 205.661
|
|
L4_1.z = -3970.874
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228007] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228008
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4428.715
|
|
L4_1.y = 205.644
|
|
L4_1.z = -3976.725
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228008] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228009
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4429.308
|
|
L4_1.y = 205.653
|
|
L4_1.z = -3973.793
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228009] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228010
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4426.958
|
|
L4_1.y = 205.679
|
|
L4_1.z = -3970.279
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228010] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228011
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4425.774
|
|
L4_1.y = 205.662
|
|
L4_1.z = -3976.127
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228011] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228012
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4426.367
|
|
L4_1.y = 205.671
|
|
L4_1.z = -3973.198
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.654
|
|
L4_1.y = 78.505
|
|
L4_1.z = 359.831
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearAction2
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228012] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228013
|
|
L3_1.gadget_id = 70360170
|
|
L4_1 = {}
|
|
L4_1.x = -4432.673
|
|
L4_1.y = 207.02
|
|
L4_1.z = -3966.272
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 270.69
|
|
L4_1.y = 224.79
|
|
L4_1.z = 125.4
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L2_1[228013] = L3_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 228018
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 2
|
|
L4_1 = {}
|
|
L4_1.x = -4432.698
|
|
L4_1.y = 207.433
|
|
L4_1.z = -3967.332
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 14
|
|
L2_1[228018] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 228020
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 2
|
|
L4_1 = {}
|
|
L4_1.x = -4432.698
|
|
L4_1.y = 207.433
|
|
L4_1.z = -3967.332
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 14
|
|
L2_1[228020] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1228014
|
|
L3_1.name = "VARIABLE_CHANGE_228014"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_228014"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_228014"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1228015
|
|
L4_1.name = "GADGET_STATE_CHANGE_228015"
|
|
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_228015"
|
|
L4_1.action = ""
|
|
L5_1 = {}
|
|
L5_1.config_id = 1228016
|
|
L5_1.name = "VARIABLE_CHANGE_228016"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = "FloorPlayEnd"
|
|
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_228016"
|
|
L5_1.action = "action_EVENT_VARIABLE_CHANGE_228016"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1228017
|
|
L6_1.name = "QUEST_START_228017"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_QUEST_START
|
|
L6_1.event = L7_1
|
|
L6_1.source = "7216208"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_QUEST_START_228017"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1228018
|
|
L7_1.name = "ENTER_REGION_228018"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_ENTER_REGION
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_ENTER_REGION_228018"
|
|
L7_1.action = "action_EVENT_ENTER_REGION_228018"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1228019
|
|
L8_1.name = "SELECT_OPTION_228019"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_SELECT_OPTION
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_SELECT_OPTION_228019"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_228019"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1228020
|
|
L9_1.name = "LEAVE_REGION_228020"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_LEAVE_REGION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_LEAVE_REGION_228020"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1228021
|
|
L10_1.name = "VARIABLE_CHANGE_228021"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_VARIABLE_CHANGE
|
|
L10_1.event = L11_1
|
|
L10_1.source = "FloorPlayStart"
|
|
L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_228021"
|
|
L10_1.action = "action_EVENT_VARIABLE_CHANGE_228021"
|
|
L10_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "Option"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
L4_1 = {}
|
|
L4_1.configId = 2
|
|
L4_1.name = "Quest"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 2
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 228001
|
|
L6_1 = 228002
|
|
L7_1 = 228003
|
|
L8_1 = 228004
|
|
L9_1 = 228005
|
|
L10_1 = 228006
|
|
L11_1 = 228007
|
|
L12_1 = 228008
|
|
L13_1 = 228009
|
|
L14_1 = 228010
|
|
L15_1 = 228011
|
|
L16_1 = 228012
|
|
L17_1 = 228013
|
|
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
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 228018
|
|
L6_1 = 228020
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "VARIABLE_CHANGE_228016"
|
|
L6_1 = "QUEST_START_228017"
|
|
L7_1 = "ENTER_REGION_228018"
|
|
L8_1 = "SELECT_OPTION_228019"
|
|
L9_1 = "LEAVE_REGION_228020"
|
|
L10_1 = "VARIABLE_CHANGE_228021"
|
|
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.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "QUEST_START_228017"
|
|
L5_1[1] = L6_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
suites = L2_1
|
|
function L2_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 = "lastConfigID"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_228014 = L2_1
|
|
function L2_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 = 0
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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_228014 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 0 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = A1_2.param3
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_228015 = L2_1
|
|
function L2_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 = "FloorPlayEnd"
|
|
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_228016 = L2_1
|
|
function L2_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 = 228013
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7216208"
|
|
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_VARIABLE_CHANGE_228016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Quest"
|
|
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 : set_groupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_228017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 228018 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "FloorPlayStart"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Option"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Quest"
|
|
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_228018 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133217228
|
|
L5_2 = 228013
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Option"
|
|
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 : set_groupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_228018 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 228013 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 7 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_228019 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 228013
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "FloorPlayStart"
|
|
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 : set_groupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133217228
|
|
L5_2 = 228013
|
|
L6_2 = 7
|
|
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 : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_228019 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133217228
|
|
L5_2 = 228013
|
|
L6_2 = 7
|
|
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 : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Option"
|
|
L5_2 = 0
|
|
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_groupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_LEAVE_REGION_228020 = L2_1
|
|
function L2_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 = "FloorPlayStart"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_228021 = L2_1
|
|
function L2_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 = 228013
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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_228021 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_1/WoodFloorPlayOrder"
|
|
L2_1(L3_1)
|