mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1061 lines
21 KiB
Lua
1061 lines
21 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133217006
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = 6001
|
|
L5_1 = 6004
|
|
L6_1 = 6007
|
|
L7_1 = 6010
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L4_1 = {}
|
|
L5_1 = 6002
|
|
L6_1 = 6006
|
|
L7_1 = 6009
|
|
L8_1 = 6012
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L5_1 = {}
|
|
L6_1 = 6003
|
|
L7_1 = 6005
|
|
L8_1 = 6008
|
|
L9_1 = 6011
|
|
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 = 6001
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4435.776
|
|
L4_1.y = 205.633
|
|
L4_1.z = -3972.056
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6001] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6002
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4435.191
|
|
L4_1.y = 205.63
|
|
L4_1.z = -3974.974
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6002] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6003
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4434.601
|
|
L4_1.y = 205.626
|
|
L4_1.z = -3977.909
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6003] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6004
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4432.838
|
|
L4_1.y = 205.649
|
|
L4_1.z = -3971.467
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6004] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6005
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4431.66
|
|
L4_1.y = 205.643
|
|
L4_1.z = -3977.317
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6005] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6006
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4432.25
|
|
L4_1.y = 205.646
|
|
L4_1.z = -3974.385
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6006] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6007
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4429.896
|
|
L4_1.y = 205.666
|
|
L4_1.z = -3970.875
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6007] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6008
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4428.72
|
|
L4_1.y = 205.659
|
|
L4_1.z = -3976.727
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6008] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6009
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4429.308
|
|
L4_1.y = 205.663
|
|
L4_1.z = -3973.795
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6009] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6010
|
|
L3_1.gadget_id = 70310060
|
|
L4_1 = {}
|
|
L4_1.x = -4426.952
|
|
L4_1.y = 205.682
|
|
L4_1.z = -3970.284
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6010] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6011
|
|
L3_1.gadget_id = 70310061
|
|
L4_1 = {}
|
|
L4_1.x = -4425.777
|
|
L4_1.y = 205.676
|
|
L4_1.z = -3976.135
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6011] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6012
|
|
L3_1.gadget_id = 70310059
|
|
L4_1 = {}
|
|
L4_1.x = -4426.364
|
|
L4_1.y = 205.679
|
|
L4_1.z = -3973.205
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.686
|
|
L4_1.y = 78.716
|
|
L4_1.z = 359.936
|
|
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[6012] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6014
|
|
L3_1.gadget_id = 70360170
|
|
L4_1 = {}
|
|
L4_1.x = -4432.673
|
|
L4_1.y = 207.029
|
|
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[6014] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6023
|
|
L3_1.gadget_id = 70360286
|
|
L4_1 = {}
|
|
L4_1.x = -4432.542
|
|
L4_1.y = 204.555
|
|
L4_1.z = -3966.593
|
|
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 = 30
|
|
L3_1.area_id = 14
|
|
L2_1[6023] = L3_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 6018
|
|
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[6018] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 6020
|
|
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[6020] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1006013
|
|
L3_1.name = "VARIABLE_CHANGE_6013"
|
|
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_6013"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_6013"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1006015
|
|
L4_1.name = "GADGET_STATE_CHANGE_6015"
|
|
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_6015"
|
|
L4_1.action = ""
|
|
L5_1 = {}
|
|
L5_1.config_id = 1006016
|
|
L5_1.name = "VARIABLE_CHANGE_6016"
|
|
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_6016"
|
|
L5_1.action = "action_EVENT_VARIABLE_CHANGE_6016"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1006017
|
|
L6_1.name = "QUEST_START_6017"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_QUEST_START
|
|
L6_1.event = L7_1
|
|
L6_1.source = "7216210"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_QUEST_START_6017"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1006018
|
|
L7_1.name = "ENTER_REGION_6018"
|
|
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_6018"
|
|
L7_1.action = "action_EVENT_ENTER_REGION_6018"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1006019
|
|
L8_1.name = "SELECT_OPTION_6019"
|
|
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_6019"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_6019"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1006020
|
|
L9_1.name = "LEAVE_REGION_6020"
|
|
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_6020"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1006021
|
|
L10_1.name = "VARIABLE_CHANGE_6021"
|
|
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_6021"
|
|
L10_1.action = "action_EVENT_VARIABLE_CHANGE_6021"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1006022
|
|
L11_1.name = "TIME_AXIS_PASS_6022"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_TIME_AXIS_PASS
|
|
L11_1.event = L12_1
|
|
L11_1.source = "Finish"
|
|
L11_1.condition = "condition_EVENT_TIME_AXIS_PASS_6022"
|
|
L11_1.action = "action_EVENT_TIME_AXIS_PASS_6022"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1006024
|
|
L12_1.name = "GROUP_LOAD_6024"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_GROUP_LOAD
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = "condition_EVENT_GROUP_LOAD_6024"
|
|
L12_1.action = "action_EVENT_GROUP_LOAD_6024"
|
|
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
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_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 = 1
|
|
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 = 6001
|
|
L6_1 = 6002
|
|
L7_1 = 6003
|
|
L8_1 = 6004
|
|
L9_1 = 6005
|
|
L10_1 = 6006
|
|
L11_1 = 6007
|
|
L12_1 = 6008
|
|
L13_1 = 6009
|
|
L14_1 = 6010
|
|
L15_1 = 6011
|
|
L16_1 = 6012
|
|
L17_1 = 6014
|
|
L18_1 = 6023
|
|
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
|
|
L4_1[14] = L18_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 6018
|
|
L6_1 = 6020
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "VARIABLE_CHANGE_6016"
|
|
L6_1 = "QUEST_START_6017"
|
|
L7_1 = "ENTER_REGION_6018"
|
|
L8_1 = "SELECT_OPTION_6019"
|
|
L9_1 = "LEAVE_REGION_6020"
|
|
L10_1 = "VARIABLE_CHANGE_6021"
|
|
L11_1 = "TIME_AXIS_PASS_6022"
|
|
L12_1 = "GROUP_LOAD_6024"
|
|
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
|
|
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 = {}
|
|
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_6013 = 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_6013 = 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_6015 = 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_6016 = 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 = 6014
|
|
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 = "7216207"
|
|
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.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
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_VARIABLE_CHANGE_6016 = 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_6017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 6018 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_6018 = 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 = 133217006
|
|
L5_2 = 6014
|
|
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_6018 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 6014 ~= 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_6019 = 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.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7216210"
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 6014
|
|
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 = 133217006
|
|
L5_2 = 6014
|
|
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_6019 = 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 = 133217006
|
|
L5_2 = 6014
|
|
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_6020 = 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_6021 = 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 = 6014
|
|
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_6021 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_6022 = L2_1
|
|
function L2_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 = 133217006
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133217228
|
|
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_6022 = 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.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 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "FloorPlayEnd"
|
|
L5_2 = 133217228
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GROUP_LOAD_6024 = L2_1
|
|
function L2_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 = 133217006
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133217228
|
|
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_GROUP_LOAD_6024 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_1/WoodFloorPlayOrder"
|
|
L2_1(L3_1)
|