mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
3429 lines
73 KiB
Lua
3429 lines
73 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, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133104053
|
|
L1_1 = {}
|
|
L1_1.ClueFire = 108
|
|
L1_1.ClueWater = 109
|
|
L1_1.ClueWind = 110
|
|
L1_1.ClueThunder = 111
|
|
L1_1.WaterSwitch = 116
|
|
L1_1.Gurdian2 = 53010
|
|
L1_1.Gurdian1 = 53012
|
|
L1_1.Gurdian3 = 53009
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 53009
|
|
L3_1.monster_id = 24010101
|
|
L4_1 = {}
|
|
L4_1.x = 455.1
|
|
L4_1.y = 196.8
|
|
L4_1.z = 225.1
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 42.514
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 15
|
|
L3_1.drop_id = 1000100
|
|
L3_1.pose_id = 100
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 53010
|
|
L4_1.monster_id = 24010101
|
|
L5_1 = {}
|
|
L5_1.x = 433.28
|
|
L5_1.y = 197.144
|
|
L5_1.z = 257.72
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 119.156
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 15
|
|
L4_1.drop_id = 1000100
|
|
L4_1.pose_id = 100
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 53012
|
|
L5_1.monster_id = 24010101
|
|
L6_1 = {}
|
|
L6_1.x = 422.71
|
|
L6_1.y = 196.779
|
|
L6_1.z = 224.14
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 53.9
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 15
|
|
L5_1.drop_id = 1000100
|
|
L5_1.pose_id = 100
|
|
L5_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 108
|
|
L3_1.gadget_id = 70360028
|
|
L4_1 = {}
|
|
L4_1.x = 308.375
|
|
L4_1.y = 227.095
|
|
L4_1.z = 452.109
|
|
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 = 19
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 109
|
|
L4_1.gadget_id = 70360028
|
|
L5_1 = {}
|
|
L5_1.x = 490.739
|
|
L5_1.y = 207.593
|
|
L5_1.z = 143.383
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 1.277
|
|
L5_1.y = 0.005
|
|
L5_1.z = 0.404
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 19
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 110
|
|
L5_1.gadget_id = 70360028
|
|
L6_1 = {}
|
|
L6_1.x = 686.775
|
|
L6_1.y = 213.432
|
|
L6_1.z = 399.425
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 359.606
|
|
L6_1.y = 0.002
|
|
L6_1.z = 359.292
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 19
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 111
|
|
L6_1.gadget_id = 70360028
|
|
L7_1 = {}
|
|
L7_1.x = 185.73
|
|
L7_1.y = 246.948
|
|
L7_1.z = 76.587
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.393
|
|
L7_1.y = 359.531
|
|
L7_1.z = 358.72
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 19
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 116
|
|
L7_1.gadget_id = 70360028
|
|
L8_1 = {}
|
|
L8_1.x = 467.388
|
|
L8_1.y = 199.379
|
|
L8_1.z = 236.81
|
|
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 = 19
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 9
|
|
L8_1 = {}
|
|
L8_1.config_id = 142
|
|
L8_1.gadget_id = 70380010
|
|
L9_1 = {}
|
|
L9_1.x = 437.88
|
|
L9_1.y = 195.931
|
|
L9_1.z = 236.341
|
|
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 = 19
|
|
L8_1.route_id = 310400029
|
|
L8_1.start_route = false
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 9
|
|
L9_1 = {}
|
|
L9_1.config_id = 639
|
|
L9_1.gadget_id = 70211032
|
|
L10_1 = {}
|
|
L10_1.x = 433.915
|
|
L10_1.y = 185.107
|
|
L10_1.z = 237.997
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 107.877
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 16
|
|
L9_1.chest_drop_id = 2000100
|
|
L9_1.drop_count = 1
|
|
L10_1 = GadgetState
|
|
L10_1 = L10_1.ChestLocked
|
|
L9_1.state = L10_1
|
|
L9_1.isOneoff = true
|
|
L9_1.persistent = true
|
|
L10_1 = {}
|
|
L10_1.name = "chest"
|
|
L10_1.exp = 1
|
|
L9_1.explore = L10_1
|
|
L9_1.area_id = 9
|
|
L10_1 = {}
|
|
L10_1.config_id = 640
|
|
L10_1.gadget_id = 70211122
|
|
L11_1 = {}
|
|
L11_1.x = 444.095
|
|
L11_1.y = 185.107
|
|
L11_1.z = 231.173
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 325.298
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 16
|
|
L10_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
|
|
L11_1 = GadgetState
|
|
L11_1 = L11_1.ChestLocked
|
|
L10_1.state = L11_1
|
|
L10_1.isOneoff = true
|
|
L10_1.persistent = true
|
|
L11_1 = {}
|
|
L11_1.name = "chest"
|
|
L11_1.exp = 1
|
|
L10_1.explore = L11_1
|
|
L10_1.area_id = 9
|
|
L11_1 = {}
|
|
L11_1.config_id = 641
|
|
L11_1.gadget_id = 70211122
|
|
L12_1 = {}
|
|
L12_1.x = 443.499
|
|
L12_1.y = 185.107
|
|
L12_1.z = 241.126
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 211.776
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 16
|
|
L11_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
|
|
L12_1 = GadgetState
|
|
L12_1 = L12_1.ChestLocked
|
|
L11_1.state = L12_1
|
|
L11_1.isOneoff = true
|
|
L11_1.persistent = true
|
|
L12_1 = {}
|
|
L12_1.name = "chest"
|
|
L12_1.exp = 1
|
|
L11_1.explore = L12_1
|
|
L11_1.area_id = 9
|
|
L12_1 = {}
|
|
L12_1.config_id = 53019
|
|
L12_1.gadget_id = 70310007
|
|
L13_1 = {}
|
|
L13_1.x = 433.28
|
|
L13_1.y = 197.144
|
|
L13_1.z = 257.72
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 132.814
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 19
|
|
L12_1.persistent = true
|
|
L12_1.area_id = 9
|
|
L13_1 = {}
|
|
L13_1.config_id = 53020
|
|
L13_1.gadget_id = 70310007
|
|
L14_1 = {}
|
|
L14_1.x = 422.71
|
|
L14_1.y = 196.779
|
|
L14_1.z = 224.14
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 53.9
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 19
|
|
L13_1.persistent = true
|
|
L13_1.area_id = 9
|
|
L14_1 = {}
|
|
L14_1.config_id = 53021
|
|
L14_1.gadget_id = 70310007
|
|
L15_1 = {}
|
|
L15_1.x = 455.1
|
|
L15_1.y = 196.8
|
|
L15_1.z = 225.1
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 323.28
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 19
|
|
L14_1.persistent = true
|
|
L14_1.area_id = 9
|
|
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
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 80
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 11
|
|
L4_1 = {}
|
|
L4_1.x = 438.766
|
|
L4_1.y = 197.213
|
|
L4_1.z = 235.964
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 53007
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 5
|
|
L5_1 = {}
|
|
L5_1.x = 467.43
|
|
L5_1.y = 200.055
|
|
L5_1.z = 237.257
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 53011
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 10
|
|
L6_1 = {}
|
|
L6_1.x = 686.719
|
|
L6_1.y = 212.857
|
|
L6_1.z = 399.641
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 53014
|
|
L7_1 = RegionShape
|
|
L7_1 = L7_1.SPHERE
|
|
L6_1.shape = L7_1
|
|
L6_1.radius = 10
|
|
L7_1 = {}
|
|
L7_1.x = 308.521
|
|
L7_1.y = 226.738
|
|
L7_1.z = 452.229
|
|
L6_1.pos = L7_1
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 53017
|
|
L8_1 = RegionShape
|
|
L8_1 = L8_1.SPHERE
|
|
L7_1.shape = L8_1
|
|
L7_1.radius = 10
|
|
L8_1 = {}
|
|
L8_1.x = 185.686
|
|
L8_1.y = 246.588
|
|
L8_1.z = 76.721
|
|
L7_1.pos = L8_1
|
|
L7_1.area_id = 9
|
|
L8_1 = {}
|
|
L8_1.config_id = 53018
|
|
L9_1 = RegionShape
|
|
L9_1 = L9_1.SPHERE
|
|
L8_1.shape = L9_1
|
|
L8_1.radius = 10
|
|
L9_1 = {}
|
|
L9_1.x = 489.755
|
|
L9_1.y = 208.278
|
|
L9_1.z = 142.996
|
|
L8_1.pos = L9_1
|
|
L8_1.area_id = 9
|
|
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
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000079
|
|
L3_1.name = "VARIABLE_CHANGE_79"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = "findAllClue"
|
|
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_79"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_79"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000080
|
|
L4_1.name = "ENTER_REGION_80"
|
|
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_80"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_80"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1000081
|
|
L5_1.name = "GADGET_STATE_CHANGE_81"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_81"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1000302
|
|
L6_1.name = "GADGET_STATE_CHANGE_302"
|
|
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_302"
|
|
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_302"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1000303
|
|
L7_1.name = "QUEST_FINISH_303"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_QUEST_FINISH
|
|
L7_1.event = L8_1
|
|
L7_1.source = "2100450"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_QUEST_FINISH_303"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1053001
|
|
L8_1.name = "QUEST_START_53001"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_QUEST_START
|
|
L8_1.event = L9_1
|
|
L8_1.source = "2100403"
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_QUEST_START_53001"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1053002
|
|
L9_1.name = "GADGET_CREATE_53002"
|
|
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_53002"
|
|
L9_1.action = "action_EVENT_GADGET_CREATE_53002"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1053003
|
|
L10_1.name = "SELECT_OPTION_53003"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_SELECT_OPTION
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_SELECT_OPTION_53003"
|
|
L10_1.action = "action_EVENT_SELECT_OPTION_53003"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1053004
|
|
L11_1.name = "VARIABLE_CHANGE_53004"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_VARIABLE_CHANGE
|
|
L11_1.event = L12_1
|
|
L11_1.source = "count"
|
|
L11_1.condition = ""
|
|
L11_1.action = "action_EVENT_VARIABLE_CHANGE_53004"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1053005
|
|
L12_1.name = "TIMER_EVENT_53005"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_TIMER_EVENT
|
|
L12_1.event = L13_1
|
|
L12_1.source = "playerReminder"
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_TIMER_EVENT_53005"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1053006
|
|
L13_1.name = "QUEST_FINISH_53006"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_QUEST_FINISH
|
|
L13_1.event = L14_1
|
|
L13_1.source = "2100420"
|
|
L13_1.condition = ""
|
|
L13_1.action = "action_EVENT_QUEST_FINISH_53006"
|
|
L14_1 = {}
|
|
L14_1.config_id = 1053007
|
|
L14_1.name = "ENTER_REGION_53007"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_ENTER_REGION
|
|
L14_1.event = L15_1
|
|
L14_1.source = "1"
|
|
L14_1.condition = "condition_EVENT_ENTER_REGION_53007"
|
|
L14_1.action = "action_EVENT_ENTER_REGION_53007"
|
|
L15_1 = {}
|
|
L15_1.config_id = 1053008
|
|
L15_1.name = "QUEST_START_53008"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_QUEST_START
|
|
L15_1.event = L16_1
|
|
L15_1.source = "2100420"
|
|
L15_1.condition = ""
|
|
L15_1.action = "action_EVENT_QUEST_START_53008"
|
|
L16_1 = {}
|
|
L16_1.config_id = 1053011
|
|
L16_1.name = "ENTER_REGION_53011"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_ENTER_REGION
|
|
L16_1.event = L17_1
|
|
L16_1.source = "1"
|
|
L16_1.condition = "condition_EVENT_ENTER_REGION_53011"
|
|
L16_1.action = "action_EVENT_ENTER_REGION_53011"
|
|
L17_1 = {}
|
|
L17_1.config_id = 1053013
|
|
L17_1.name = "ANY_MONSTER_DIE_53013"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_ANY_MONSTER_DIE
|
|
L17_1.event = L18_1
|
|
L17_1.source = ""
|
|
L17_1.condition = "condition_EVENT_ANY_MONSTER_DIE_53013"
|
|
L17_1.action = "action_EVENT_ANY_MONSTER_DIE_53013"
|
|
L18_1 = {}
|
|
L18_1.config_id = 1053014
|
|
L18_1.name = "ENTER_REGION_53014"
|
|
L19_1 = EventType
|
|
L19_1 = L19_1.EVENT_ENTER_REGION
|
|
L18_1.event = L19_1
|
|
L18_1.source = "1"
|
|
L18_1.condition = "condition_EVENT_ENTER_REGION_53014"
|
|
L18_1.action = "action_EVENT_ENTER_REGION_53014"
|
|
L19_1 = {}
|
|
L19_1.config_id = 1053015
|
|
L19_1.name = "SELECT_OPTION_53015"
|
|
L20_1 = EventType
|
|
L20_1 = L20_1.EVENT_SELECT_OPTION
|
|
L19_1.event = L20_1
|
|
L19_1.source = ""
|
|
L19_1.condition = "condition_EVENT_SELECT_OPTION_53015"
|
|
L19_1.action = "action_EVENT_SELECT_OPTION_53015"
|
|
L19_1.trigger_count = 0
|
|
L20_1 = {}
|
|
L20_1.config_id = 1053016
|
|
L20_1.name = "GADGET_CREATE_53016"
|
|
L21_1 = EventType
|
|
L21_1 = L21_1.EVENT_GADGET_CREATE
|
|
L20_1.event = L21_1
|
|
L20_1.source = ""
|
|
L20_1.condition = "condition_EVENT_GADGET_CREATE_53016"
|
|
L20_1.action = "action_EVENT_GADGET_CREATE_53016"
|
|
L20_1.trigger_count = 0
|
|
L21_1 = {}
|
|
L21_1.config_id = 1053017
|
|
L21_1.name = "ENTER_REGION_53017"
|
|
L22_1 = EventType
|
|
L22_1 = L22_1.EVENT_ENTER_REGION
|
|
L21_1.event = L22_1
|
|
L21_1.source = "1"
|
|
L21_1.condition = "condition_EVENT_ENTER_REGION_53017"
|
|
L21_1.action = "action_EVENT_ENTER_REGION_53017"
|
|
L22_1 = {}
|
|
L22_1.config_id = 1053018
|
|
L22_1.name = "ENTER_REGION_53018"
|
|
L23_1 = EventType
|
|
L23_1 = L23_1.EVENT_ENTER_REGION
|
|
L22_1.event = L23_1
|
|
L22_1.source = "1"
|
|
L22_1.condition = "condition_EVENT_ENTER_REGION_53018"
|
|
L22_1.action = "action_EVENT_ENTER_REGION_53018"
|
|
L23_1 = {}
|
|
L23_1.config_id = 1053022
|
|
L24_1 = "TIMER_EVENT_53022"
|
|
L23_1.name = L24_1
|
|
L24_1 = EventType
|
|
L24_1 = L24_1.EVENT_TIMER_EVENT
|
|
L23_1.event = L24_1
|
|
L24_1 = "ActiveGurdian"
|
|
L23_1.source = L24_1
|
|
L23_1.condition = ""
|
|
L24_1 = "action_EVENT_TIMER_EVENT_53022"
|
|
L23_1.action = L24_1
|
|
L24_1 = {}
|
|
L25_1 = 1053023
|
|
L24_1.config_id = L25_1
|
|
L25_1 = "TIMER_EVENT_53023"
|
|
L24_1.name = L25_1
|
|
L25_1 = EventType
|
|
L25_1 = L25_1.EVENT_TIMER_EVENT
|
|
L24_1.event = L25_1
|
|
L25_1 = "SetMonsterBattle"
|
|
L24_1.source = L25_1
|
|
L24_1.condition = ""
|
|
L25_1 = "action_EVENT_TIMER_EVENT_53023"
|
|
L24_1.action = L25_1
|
|
L25_1 = {}
|
|
L26_1 = 1053024
|
|
L25_1.config_id = L26_1
|
|
L26_1 = "TIMER_EVENT_53024"
|
|
L25_1.name = L26_1
|
|
L26_1 = EventType
|
|
L26_1 = L26_1.EVENT_TIMER_EVENT
|
|
L25_1.event = L26_1
|
|
L26_1 = "DisableFakeGurdian"
|
|
L25_1.source = L26_1
|
|
L25_1.condition = ""
|
|
L26_1 = "action_EVENT_TIMER_EVENT_53024"
|
|
L25_1.action = L26_1
|
|
L26_1 = {}
|
|
L27_1 = 1053025
|
|
L26_1.config_id = L27_1
|
|
L27_1 = "QUEST_FINISH_53025"
|
|
L26_1.name = L27_1
|
|
L27_1 = EventType
|
|
L27_1 = L27_1.EVENT_QUEST_FINISH
|
|
L26_1.event = L27_1
|
|
L27_1 = "2100481"
|
|
L26_1.source = L27_1
|
|
L27_1 = "condition_EVENT_QUEST_FINISH_53025"
|
|
L26_1.condition = L27_1
|
|
L27_1 = "action_EVENT_QUEST_FINISH_53025"
|
|
L26_1.action = L27_1
|
|
L26_1.trigger_count = 0
|
|
L27_1 = {}
|
|
L28_1 = 1053026
|
|
L27_1.config_id = L28_1
|
|
L28_1 = "GADGET_CREATE_53026"
|
|
L27_1.name = L28_1
|
|
L28_1 = EventType
|
|
L28_1 = L28_1.EVENT_GADGET_CREATE
|
|
L27_1.event = L28_1
|
|
L27_1.source = ""
|
|
L28_1 = "condition_EVENT_GADGET_CREATE_53026"
|
|
L27_1.condition = L28_1
|
|
L28_1 = "action_EVENT_GADGET_CREATE_53026"
|
|
L27_1.action = L28_1
|
|
L27_1.trigger_count = 0
|
|
L28_1 = {}
|
|
L29_1 = 1053027
|
|
L28_1.config_id = L29_1
|
|
L29_1 = "ANY_MONSTER_DIE_53027"
|
|
L28_1.name = L29_1
|
|
L29_1 = EventType
|
|
L29_1 = L29_1.EVENT_ANY_MONSTER_DIE
|
|
L28_1.event = L29_1
|
|
L28_1.source = ""
|
|
L29_1 = "condition_EVENT_ANY_MONSTER_DIE_53027"
|
|
L28_1.condition = L29_1
|
|
L29_1 = "action_EVENT_ANY_MONSTER_DIE_53027"
|
|
L28_1.action = L29_1
|
|
L28_1.trigger_count = 0
|
|
L29_1 = {}
|
|
L30_1 = 1053028
|
|
L29_1.config_id = L30_1
|
|
L30_1 = "QUEST_START_53028"
|
|
L29_1.name = L30_1
|
|
L30_1 = EventType
|
|
L30_1 = L30_1.EVENT_QUEST_START
|
|
L29_1.event = L30_1
|
|
L30_1 = "2100414"
|
|
L29_1.source = L30_1
|
|
L29_1.condition = ""
|
|
L30_1 = "action_EVENT_QUEST_START_53028"
|
|
L29_1.action = L30_1
|
|
L29_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
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
L2_1[15] = L17_1
|
|
L2_1[16] = L18_1
|
|
L2_1[17] = L19_1
|
|
L2_1[18] = L20_1
|
|
L2_1[19] = L21_1
|
|
L2_1[20] = L22_1
|
|
L2_1[21] = L23_1
|
|
L2_1[22] = L24_1
|
|
L2_1[23] = L25_1
|
|
L2_1[24] = L26_1
|
|
L2_1[25] = L27_1
|
|
L2_1[26] = L28_1
|
|
L2_1[27] = L29_1
|
|
triggers = L2_1
|
|
L2_1 = "variables"
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = "configId"
|
|
L4_1[L5_1] = 1
|
|
L4_1.name = "count"
|
|
L5_1 = "value"
|
|
L4_1[L5_1] = 0
|
|
L5_1 = "no_refresh"
|
|
L4_1[L5_1] = true
|
|
L5_1 = {}
|
|
L6_1 = "configId"
|
|
L7_1 = 2
|
|
L5_1[L6_1] = L7_1
|
|
L6_1 = "DefeatGurdian"
|
|
L5_1.name = L6_1
|
|
L6_1 = "value"
|
|
L5_1[L6_1] = 0
|
|
L6_1 = "no_refresh"
|
|
L5_1[L6_1] = true
|
|
L6_1 = {}
|
|
L7_1 = "configId"
|
|
L8_1 = 3
|
|
L6_1[L7_1] = L8_1
|
|
L7_1 = "isAcceptQuest"
|
|
L6_1.name = L7_1
|
|
L7_1 = "value"
|
|
L6_1[L7_1] = 0
|
|
L7_1 = "no_refresh"
|
|
L6_1[L7_1] = true
|
|
L7_1 = {}
|
|
L8_1 = "configId"
|
|
L9_1 = 4
|
|
L7_1[L8_1] = L9_1
|
|
L8_1 = "noQuestCount"
|
|
L7_1.name = L8_1
|
|
L8_1 = "value"
|
|
L7_1[L8_1] = 0
|
|
L8_1 = "no_refresh"
|
|
L7_1[L8_1] = true
|
|
L8_1 = {}
|
|
L9_1 = "configId"
|
|
L8_1[L9_1] = 5
|
|
L8_1.name = "findAllClue"
|
|
L9_1 = "value"
|
|
L8_1[L9_1] = 0
|
|
L9_1 = "no_refresh"
|
|
L8_1[L9_1] = true
|
|
L9_1 = {}
|
|
L10_1 = "configId"
|
|
L11_1 = 6
|
|
L9_1[L10_1] = L11_1
|
|
L10_1 = "ActiveGurdian"
|
|
L9_1.name = L10_1
|
|
L10_1 = "value"
|
|
L9_1[L10_1] = 0
|
|
L10_1 = "no_refresh"
|
|
L9_1[L10_1] = true
|
|
L10_1 = {}
|
|
L11_1 = "configId"
|
|
L12_1 = 7
|
|
L10_1[L11_1] = L12_1
|
|
L11_1 = "findAllClueAndFinishTalk"
|
|
L10_1.name = L11_1
|
|
L11_1 = "value"
|
|
L10_1[L11_1] = 0
|
|
L11_1 = "no_refresh"
|
|
L10_1[L11_1] = true
|
|
L11_1 = {}
|
|
L12_1 = "configId"
|
|
L13_1 = 8
|
|
L11_1[L12_1] = L13_1
|
|
L12_1 = "isFinished"
|
|
L11_1.name = L12_1
|
|
L12_1 = "value"
|
|
L11_1[L12_1] = 0
|
|
L12_1 = "no_refresh"
|
|
L11_1[L12_1] = true
|
|
L12_1 = {}
|
|
L13_1 = "configId"
|
|
L12_1[L13_1] = 9
|
|
L13_1 = "Region_Fire"
|
|
L12_1.name = L13_1
|
|
L13_1 = "value"
|
|
L12_1[L13_1] = 0
|
|
L13_1 = "no_refresh"
|
|
L12_1[L13_1] = true
|
|
L13_1 = {}
|
|
L14_1 = "configId"
|
|
L13_1[L14_1] = 10
|
|
L14_1 = "Region_Wind"
|
|
L13_1.name = L14_1
|
|
L14_1 = "value"
|
|
L13_1[L14_1] = 0
|
|
L14_1 = "no_refresh"
|
|
L13_1[L14_1] = true
|
|
L14_1 = {}
|
|
L15_1 = "configId"
|
|
L14_1[L15_1] = 11
|
|
L15_1 = "Region_Water"
|
|
L14_1.name = L15_1
|
|
L15_1 = "value"
|
|
L14_1[L15_1] = 0
|
|
L15_1 = "no_refresh"
|
|
L14_1[L15_1] = true
|
|
L15_1 = {}
|
|
L16_1 = "configId"
|
|
L17_1 = 12
|
|
L15_1[L16_1] = L17_1
|
|
L16_1 = "Region_Thunder"
|
|
L15_1.name = L16_1
|
|
L16_1 = "value"
|
|
L15_1[L16_1] = 0
|
|
L16_1 = "no_refresh"
|
|
L15_1[L16_1] = true
|
|
L16_1 = {}
|
|
L17_1 = "configId"
|
|
L18_1 = 13
|
|
L16_1[L17_1] = L18_1
|
|
L17_1 = "Region_Center"
|
|
L16_1.name = L17_1
|
|
L17_1 = "value"
|
|
L16_1[L17_1] = 0
|
|
L17_1 = "no_refresh"
|
|
L16_1[L17_1] = true
|
|
L17_1 = {}
|
|
L18_1 = "configId"
|
|
L19_1 = 14
|
|
L17_1[L18_1] = L19_1
|
|
L18_1 = "TurnOffTrigger"
|
|
L17_1.name = L18_1
|
|
L18_1 = "value"
|
|
L19_1 = 99
|
|
L17_1[L18_1] = L19_1
|
|
L18_1 = "no_refresh"
|
|
L17_1[L18_1] = true
|
|
L18_1 = {}
|
|
L19_1 = "configId"
|
|
L18_1[L19_1] = 15
|
|
L19_1 = "Temp_GadgetID"
|
|
L18_1.name = L19_1
|
|
L19_1 = "value"
|
|
L18_1[L19_1] = 0
|
|
L19_1 = "no_refresh"
|
|
L18_1[L19_1] = true
|
|
L19_1 = {}
|
|
L20_1 = "configId"
|
|
L19_1[L20_1] = 16
|
|
L20_1 = "Unlock_Water"
|
|
L19_1.name = L20_1
|
|
L20_1 = "value"
|
|
L19_1[L20_1] = 0
|
|
L20_1 = "no_refresh"
|
|
L19_1[L20_1] = true
|
|
L20_1 = {}
|
|
L21_1 = "configId"
|
|
L22_1 = 17
|
|
L20_1[L21_1] = L22_1
|
|
L21_1 = "AnyGurdianDie"
|
|
L20_1.name = L21_1
|
|
L21_1 = "value"
|
|
L20_1[L21_1] = 0
|
|
L21_1 = "no_refresh"
|
|
L20_1[L21_1] = true
|
|
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
|
|
L3_1[13] = L16_1
|
|
L3_1[14] = L17_1
|
|
L3_1[15] = L18_1
|
|
L3_1[16] = L19_1
|
|
L3_1[17] = L20_1
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "init_config"
|
|
L3_1 = {}
|
|
L4_1 = "suite"
|
|
L3_1[L4_1] = 1
|
|
L4_1 = "end_suite"
|
|
L5_1 = 2
|
|
L3_1[L4_1] = L5_1
|
|
L4_1 = "rand_suite"
|
|
L3_1[L4_1] = false
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "suites"
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 108
|
|
L7_1 = 109
|
|
L8_1 = 110
|
|
L9_1 = 111
|
|
L10_1 = 116
|
|
L11_1 = 142
|
|
L12_1 = 53019
|
|
L13_1 = 53020
|
|
L14_1 = 53021
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L5_1[5] = L10_1
|
|
L5_1[6] = L11_1
|
|
L5_1[7] = L12_1
|
|
L5_1[8] = L13_1
|
|
L5_1[9] = L14_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "QUEST_START_53001"
|
|
L7_1 = "SELECT_OPTION_53015"
|
|
L8_1 = "GADGET_CREATE_53016"
|
|
L9_1 = "QUEST_FINISH_53025"
|
|
L10_1 = "QUEST_START_53028"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L5_1[5] = L10_1
|
|
L4_1.triggers = L5_1
|
|
L5_1 = "rand_weight"
|
|
L4_1[L5_1] = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 108
|
|
L8_1 = 109
|
|
L9_1 = 110
|
|
L10_1 = 111
|
|
L11_1 = 116
|
|
L12_1 = 142
|
|
L13_1 = 53019
|
|
L14_1 = 53020
|
|
L15_1 = 53021
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_1
|
|
L6_1[5] = L11_1
|
|
L6_1[6] = L12_1
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L6_1[9] = L15_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 80
|
|
L8_1 = 53007
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "VARIABLE_CHANGE_79"
|
|
L8_1 = "ENTER_REGION_80"
|
|
L9_1 = "GADGET_STATE_CHANGE_81"
|
|
L10_1 = "GADGET_STATE_CHANGE_302"
|
|
L11_1 = "QUEST_FINISH_303"
|
|
L12_1 = "QUEST_START_53001"
|
|
L13_1 = "GADGET_CREATE_53002"
|
|
L14_1 = "SELECT_OPTION_53003"
|
|
L15_1 = "VARIABLE_CHANGE_53004"
|
|
L16_1 = "TIMER_EVENT_53005"
|
|
L17_1 = "QUEST_FINISH_53006"
|
|
L18_1 = "ENTER_REGION_53007"
|
|
L19_1 = "QUEST_START_53008"
|
|
L20_1 = "ANY_MONSTER_DIE_53013"
|
|
L21_1 = "TIMER_EVENT_53022"
|
|
L22_1 = "TIMER_EVENT_53023"
|
|
L23_1 = "TIMER_EVENT_53024"
|
|
L24_1 = "QUEST_FINISH_53025"
|
|
L25_1 = "GADGET_CREATE_53026"
|
|
L26_1 = "ANY_MONSTER_DIE_53027"
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_1
|
|
L6_1[5] = L11_1
|
|
L6_1[6] = L12_1
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L6_1[9] = L15_1
|
|
L6_1[10] = L16_1
|
|
L6_1[11] = L17_1
|
|
L6_1[12] = L18_1
|
|
L6_1[13] = L19_1
|
|
L6_1[14] = L20_1
|
|
L6_1[15] = L21_1
|
|
L6_1[16] = L22_1
|
|
L6_1[17] = L23_1
|
|
L6_1[18] = L24_1
|
|
L6_1[19] = L25_1
|
|
L6_1[20] = L26_1
|
|
L5_1.triggers = L6_1
|
|
L6_1 = "rand_weight"
|
|
L5_1[L6_1] = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L8_1 = 53009
|
|
L9_1 = 53010
|
|
L10_1 = 53012
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_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
|
|
L7_1 = "rand_weight"
|
|
L6_1[L7_1] = 100
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L7_1.triggers = L8_1
|
|
L8_1 = "rand_weight"
|
|
L7_1[L8_1] = 100
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L8_1.monsters = L9_1
|
|
L9_1 = {}
|
|
L10_1 = 53019
|
|
L11_1 = 53020
|
|
L12_1 = 53021
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L9_1[3] = L12_1
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L8_1.triggers = L9_1
|
|
L9_1 = "rand_weight"
|
|
L8_1[L9_1] = 100
|
|
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
|
|
_ENV[L2_1] = L3_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 = "findAllClue"
|
|
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_79 = 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.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 639
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 640
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 641
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 116
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_79 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 80 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 4 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "findAllClue"
|
|
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_80 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ActiveGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "find_secret"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040141
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_80 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 116 == 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_81 = 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 = "Unlock_Water"
|
|
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.StartPlatform
|
|
L3_2 = A0_2
|
|
L4_2 = 142
|
|
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 : start_platform"
|
|
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 = "unlock_dungeon"
|
|
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 = 640
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 639
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 641
|
|
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.PlayCutScene
|
|
L3_2 = A0_2
|
|
L4_2 = 310405301
|
|
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 : play_cutscene"
|
|
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 = 31040160
|
|
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_GADGET_STATE_CHANGE_81 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 639 == 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_302 = 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.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040170
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "get_reward"
|
|
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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 5001
|
|
L5_2 = 3
|
|
L6_2 = 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 : mark_playerAction"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_302 = 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 = "isFinished"
|
|
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_FINISH_303 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 5001
|
|
L5_2 = 1
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133104053
|
|
L4_2.suite = 2
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueFire
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWind
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWater
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueThunder
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.WaterSwitch
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueFire
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWind
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWater
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueThunder
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.WaterSwitch
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_53001 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinished"
|
|
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 = "isAcceptQuest"
|
|
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_GADGET_CREATE_53002 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = L1_1.ClueFire
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueWind
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueWater
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueThunder
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
goto lbl_56
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133104053
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133104053
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
::lbl_56::
|
|
L2_2 = L1_1.WaterSwitch
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ActiveGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "DefeatGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133104053
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
else
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "DefeatGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
end
|
|
else
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ActiveGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "findAllClue"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133104053
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "AnyGurdianDie"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "any_gurdian_die"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_53002 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinished"
|
|
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 = "isAcceptQuest"
|
|
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_SELECT_OPTION_53003 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = L1_1.ClueFire
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueWind
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueWater
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueThunder
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
goto lbl_245
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 7 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 then
|
|
L2_2 = L1_1.ClueThunder
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040104
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "133104053_progress1"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = L1_1.ClueFire
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040103
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "133104053_progress2"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = L1_1.ClueWind
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040101
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "133104053_progress3"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = L1_1.ClueWater
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040102
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "133104053_progress4"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 171 == L2_2 then
|
|
L2_2 = L1_1.ClueThunder
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040104
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = L1_1.ClueFire
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040103
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = L1_1.ClueWind
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040101
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = L1_1.ClueWater
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040102
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
::lbl_245::
|
|
L2_2 = L1_1.WaterSwitch
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param2
|
|
if 171 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "findAllClue"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040202
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ActiveGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ActiveGurdian"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "active_gurdian"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "find_secret"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = "DisableFakeGurdian"
|
|
L6_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = "ActiveGurdian"
|
|
L6_2 = 8
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PlayCutScene
|
|
L3_2 = A0_2
|
|
L4_2 = 310405302
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040150
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 7 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "DefeatGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.param1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 5001
|
|
L5_2 = 2
|
|
L6_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_53003 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = "playerReminder"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_53004 = 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.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == 1 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminder
|
|
L4_2 = A0_2
|
|
L5_2 = 31040111
|
|
L3_2(L4_2, L5_2)
|
|
elseif L2_2 == 2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminder
|
|
L4_2 = A0_2
|
|
L5_2 = 31040121
|
|
L3_2(L4_2, L5_2)
|
|
elseif L2_2 == 3 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminder
|
|
L4_2 = A0_2
|
|
L5_2 = 31040120
|
|
L3_2(L4_2, L5_2)
|
|
elseif L2_2 == 4 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminder
|
|
L4_2 = A0_2
|
|
L5_2 = 31040131
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CancelGroupTimerEvent
|
|
L4_2 = A0_2
|
|
L5_2 = 133104053
|
|
L6_2 = "playerReminder"
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_53005 = 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 = "findAllClueAndFinishTalk"
|
|
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_FINISH_53006 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53007 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "count"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 4 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "findAllClue"
|
|
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_53007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ActiveGurdian"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "find_secret"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_53007 = 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 = "findAllClue"
|
|
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_53008 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53011 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
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.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_53011 = 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 = "Region_Wind"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = count
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040111
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040121
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040120
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040131
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_53011 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_53013 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 116
|
|
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.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 116
|
|
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 = "DefeatGurdian"
|
|
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.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "defeat_gurdian"
|
|
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_ANY_MONSTER_DIE_53013 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53014 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
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.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_53014 = 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 = "Region_Fire"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = count
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040111
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040121
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040120
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040131
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_53014 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinished"
|
|
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 = "isAcceptQuest"
|
|
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_SELECT_OPTION_53015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = L1_1.ClueFire
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueWind
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueWater
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.ClueThunder
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
goto lbl_143
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 171 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 then
|
|
L2_2 = L1_1.ClueThunder
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "noQuestCount"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "whitout_quest"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Temp_GadgetID"
|
|
L5_2 = A1_2.param1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = L1_1.ClueFire
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "noQuestCount"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "whitout_quest"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Temp_GadgetID"
|
|
L5_2 = A1_2.param1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = L1_1.ClueWind
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "noQuestCount"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "whitout_quest"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Temp_GadgetID"
|
|
L5_2 = A1_2.param1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = L1_1.ClueWater
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "noQuestCount"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "whitout_quest"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Temp_GadgetID"
|
|
L5_2 = A1_2.param1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
::lbl_143::
|
|
L2_2 = L1_1.WaterSwitch
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param2
|
|
if 171 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "noQuestCount"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "whitout_quest"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Temp_GadgetID"
|
|
L5_2 = A1_2.param1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = A1_2.param1
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_53015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
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 = "isFinished"
|
|
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_GADGET_CREATE_53016 = 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 = 133104053
|
|
L5_2 = 108
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
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.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 109
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
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.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 110
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
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.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 111
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
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.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 116
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_53016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53017 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
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.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_53017 = 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 = "Region_Thunder"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = count
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040111
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040121
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040120
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040131
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_53017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53018 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
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.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_53018 = 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 = "Region_Water"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = count
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040111
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040121
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040120
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = count
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 31040131
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_53018 = L2_1
|
|
L2_1 = "action_EVENT_TIMER_EVENT_53022"
|
|
function L3_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 = 133104053
|
|
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 = 133104053
|
|
L5_2 = "SetMonsterBattle"
|
|
L6_2 = 1
|
|
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.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = "ActiveGurdian"
|
|
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
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "action_EVENT_TIMER_EVENT_53023"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetMonsterBattleByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = 53009
|
|
L5_2 = 133104053
|
|
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_monster_battle_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetMonsterBattleByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = 53010
|
|
L5_2 = 133104053
|
|
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_monster_battle_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetMonsterBattleByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = 53012
|
|
L5_2 = 133104053
|
|
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_monster_battle_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 = 133104053
|
|
L5_2 = "SetMonsterBattle"
|
|
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
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "action_EVENT_TIMER_EVENT_53024"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = "DisableFakeGurdian"
|
|
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
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "condition_EVENT_QUEST_FINISH_53025"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinished"
|
|
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 = "isAcceptQuest"
|
|
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
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "action_EVENT_QUEST_FINISH_53025"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Temp_GadgetID"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetWorktopOptionsByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = 133104053
|
|
L6_2 = L2_2
|
|
L7_2 = {}
|
|
L8_2 = 171
|
|
L7_2[1] = L8_2
|
|
L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "condition_EVENT_GADGET_CREATE_53026"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Unlock_Water"
|
|
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
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "action_EVENT_GADGET_CREATE_53026"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.StartPlatform
|
|
L3_2 = A0_2
|
|
L4_2 = 142
|
|
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 : start_platform"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "condition_EVENT_ANY_MONSTER_DIE_53027"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53009 then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53010 then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 53012 then
|
|
goto lbl_12
|
|
end
|
|
end
|
|
end
|
|
L2_2 = true
|
|
do return L2_2 end
|
|
::lbl_12::
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "action_EVENT_ANY_MONSTER_DIE_53027"
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "any_gurdian_die"
|
|
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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "AnyGurdianDie"
|
|
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
|
|
_ENV[L2_1] = L3_1
|
|
L2_1 = "action_EVENT_QUEST_START_53028"
|
|
function L3_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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isAcceptQuest"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 5001
|
|
L5_2 = 1
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133104053
|
|
L4_2.suite = 2
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueFire
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWind
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWater
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueThunder
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.WaterSwitch
|
|
L6_2 = 171
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueFire
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWind
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueWater
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.ClueThunder
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104053
|
|
L5_2 = L1_1.WaterSwitch
|
|
L6_2 = {}
|
|
L7_2 = 171
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
_ENV[L2_1] = L3_1
|