mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1110 lines
23 KiB
Lua
1110 lines
23 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133101196
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 196001
|
|
L2_1.monster_id = 21010701
|
|
L3_1 = {}
|
|
L3_1.x = 1181.021
|
|
L3_1.y = 203.063
|
|
L3_1.z = 839.234
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 106.107
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 2
|
|
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 196002
|
|
L3_1.monster_id = 21011201
|
|
L4_1 = {}
|
|
L4_1.x = 1181.599
|
|
L4_1.y = 202.262
|
|
L4_1.z = 835.51
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 106.67
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 2
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 196003
|
|
L4_1.monster_id = 21010701
|
|
L5_1 = {}
|
|
L5_1.x = 1178.468
|
|
L5_1.y = 202.442
|
|
L5_1.z = 833.501
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 98.612
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 2
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 196019
|
|
L5_1.monster_id = 20010501
|
|
L6_1 = {}
|
|
L6_1.x = 1183.886
|
|
L6_1.y = 200.951
|
|
L6_1.z = 829.2
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 285.7
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 2
|
|
L5_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 196020
|
|
L6_1.monster_id = 20010501
|
|
L7_1 = {}
|
|
L7_1.x = 1187.467
|
|
L7_1.y = 201.307
|
|
L7_1.z = 838.034
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 285.7
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 2
|
|
L6_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 196021
|
|
L7_1.monster_id = 20010501
|
|
L8_1 = {}
|
|
L8_1.x = 1190.01
|
|
L8_1.y = 200.562
|
|
L8_1.z = 831.403
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 285.7
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 2
|
|
L7_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 196022
|
|
L8_1.monster_id = 21011201
|
|
L9_1 = {}
|
|
L9_1.x = 1187.598
|
|
L9_1.y = 200.716
|
|
L9_1.z = 829.249
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 293.733
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 2
|
|
L8_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L8_1.area_id = 6
|
|
L9_1 = {}
|
|
L9_1.config_id = 196023
|
|
L9_1.monster_id = 21011201
|
|
L10_1 = {}
|
|
L10_1.x = 1190.365
|
|
L10_1.y = 200.657
|
|
L10_1.z = 835.323
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 293.733
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 2
|
|
L9_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L9_1.area_id = 6
|
|
L10_1 = {}
|
|
L10_1.config_id = 196024
|
|
L10_1.monster_id = 21010601
|
|
L11_1 = {}
|
|
L11_1.x = 1187.686
|
|
L11_1.y = 200.803
|
|
L11_1.z = 825.844
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 293.733
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 2
|
|
L10_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L10_1.area_id = 6
|
|
L11_1 = {}
|
|
L11_1.config_id = 196025
|
|
L11_1.monster_id = 21010601
|
|
L12_1 = {}
|
|
L12_1.x = 1193.263
|
|
L12_1.y = 200.841
|
|
L12_1.z = 837.472
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 293.733
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 2
|
|
L11_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L11_1.area_id = 6
|
|
L12_1 = {}
|
|
L12_1.config_id = 196026
|
|
L12_1.monster_id = 20011201
|
|
L13_1 = {}
|
|
L13_1.x = 1181.664
|
|
L13_1.y = 201.292
|
|
L13_1.z = 830.554
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 134.488
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 2
|
|
L12_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L12_1.area_id = 6
|
|
L13_1 = {}
|
|
L13_1.config_id = 196027
|
|
L13_1.monster_id = 20011201
|
|
L14_1 = {}
|
|
L14_1.x = 1184.259
|
|
L14_1.y = 201.926
|
|
L14_1.z = 837.548
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 134.488
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 2
|
|
L13_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L13_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 196004
|
|
L2_1.gadget_id = 70360056
|
|
L3_1 = {}
|
|
L3_1.x = 1180.951
|
|
L3_1.y = 201.801
|
|
L3_1.z = 833.103
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 3.249
|
|
L3_1.y = 359.836
|
|
L3_1.z = 354.223
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 196005
|
|
L3_1.gadget_id = 70360057
|
|
L4_1 = {}
|
|
L4_1.x = 1180.951
|
|
L4_1.y = 201.801
|
|
L4_1.z = 833.103
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 6.264
|
|
L4_1.y = 85.696
|
|
L4_1.z = 2.596
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 196006
|
|
L4_1.gadget_id = 70210106
|
|
L5_1 = {}
|
|
L5_1.x = 1180.487
|
|
L5_1.y = 201.567
|
|
L5_1.z = 831.49
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 16
|
|
L4_1.chest_drop_id = 1000100
|
|
L4_1.drop_count = 1
|
|
L4_1.showcutscene = true
|
|
L4_1.persistent = true
|
|
L4_1.is_blossom_chest = true
|
|
L4_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1196007
|
|
L2_1.name = "GADGET_STATE_CHANGE_196007"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_196007"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_196007"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1196008
|
|
L3_1.name = "GADGET_STATE_CHANGE_196008"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_196008"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_196008"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1196009
|
|
L4_1.name = "GADGET_CREATE_196009"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_CREATE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_CREATE_196009"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_196009"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1196010
|
|
L5_1.name = "GROUP_REFRESH_196010"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GROUP_REFRESH
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_GROUP_REFRESH_196010"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1196011
|
|
L6_1.name = "BLOSSOM_CHEST_DIE_196011"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_BLOSSOM_CHEST_DIE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_BLOSSOM_CHEST_DIE_196011"
|
|
L6_1.action = "action_EVENT_BLOSSOM_CHEST_DIE_196011"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1196012
|
|
L7_1.name = "GADGET_CREATE_196012"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGET_CREATE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_GADGET_CREATE_196012"
|
|
L7_1.action = "action_EVENT_GADGET_CREATE_196012"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1196013
|
|
L8_1.name = "SELECT_OPTION_196013"
|
|
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_196013"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_196013"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1196014
|
|
L9_1.name = "SELECT_OPTION_196014"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_SELECT_OPTION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_SELECT_OPTION_196014"
|
|
L9_1.action = "action_EVENT_SELECT_OPTION_196014"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1196015
|
|
L10_1.name = "ANY_MONSTER_DIE_196015"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = ""
|
|
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_196015"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1196016
|
|
L11_1.name = "BLOSSOM_PROGRESS_FINISH_196016"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_BLOSSOM_PROGRESS_FINISH
|
|
L11_1.event = L12_1
|
|
L11_1.source = ""
|
|
L11_1.condition = ""
|
|
L11_1.action = "action_EVENT_BLOSSOM_PROGRESS_FINISH_196016"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1196017
|
|
L12_1.name = "GROUP_LOAD_196017"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_GROUP_LOAD
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_GROUP_LOAD_196017"
|
|
L13_1 = {}
|
|
L13_1.config_id = 1196018
|
|
L13_1.name = "ANY_MONSTER_DIE_196018"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_ANY_MONSTER_DIE
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_ANY_MONSTER_DIE_196018"
|
|
L13_1.action = "action_EVENT_ANY_MONSTER_DIE_196018"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "GroupCompletion"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L1_1[1] = L2_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GROUP_LOAD_196017"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_STATE_CHANGE_196007"
|
|
L6_1 = "GADGET_STATE_CHANGE_196008"
|
|
L7_1 = "GADGET_CREATE_196009"
|
|
L8_1 = "GROUP_REFRESH_196010"
|
|
L9_1 = "BLOSSOM_CHEST_DIE_196011"
|
|
L10_1 = "GADGET_CREATE_196012"
|
|
L11_1 = "SELECT_OPTION_196013"
|
|
L12_1 = "SELECT_OPTION_196014"
|
|
L13_1 = "ANY_MONSTER_DIE_196015"
|
|
L14_1 = "BLOSSOM_PROGRESS_FINISH_196016"
|
|
L15_1 = "ANY_MONSTER_DIE_196018"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 196001
|
|
L7_1 = 196003
|
|
L8_1 = 196019
|
|
L9_1 = 196020
|
|
L10_1 = 196021
|
|
L11_1 = 196022
|
|
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
|
|
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
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 196002
|
|
L8_1 = 196023
|
|
L9_1 = 196024
|
|
L10_1 = 196025
|
|
L11_1 = 196026
|
|
L12_1 = 196027
|
|
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
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 196004 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearAction2
|
|
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_196007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 or 1 == L2_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetWorktopOptions
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L6_2 = 187
|
|
L5_2[1] = L6_2
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = 133101196
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_196007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 196005 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearAction2
|
|
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_196008 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 or 1 == L2_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetWorktopOptions
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L6_2 = 187
|
|
L5_2[1] = L6_2
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = 133101196
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_196008 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
if 196004 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearAction2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 0
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_196009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 or 1 == L2_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetWorktopOptions
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L6_2 = 187
|
|
L5_2[1] = L6_2
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = 133101196
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_196009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = {}
|
|
L2_2[1] = 196004
|
|
L2_2[2] = nil
|
|
L2_2[3] = 196005
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetBlossomRefreshTypeByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = 133101196
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if L3_2 == nil then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : create_blossomOperator_byGroupId"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
else
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.CreateGadget
|
|
L5_2 = A0_2
|
|
L6_2 = {}
|
|
L7_2 = L2_2[L3_2]
|
|
L6_2.config_id = L7_2
|
|
L4_2(L5_2, L6_2)
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetBlossomScheduleStateByGroupId
|
|
L5_2 = A0_2
|
|
L6_2 = 133101196
|
|
L7_2 = 1
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : set_blossomscehedule_byGroupId"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.RefreshBlossomDropRewardByGroupId
|
|
L5_2 = A0_2
|
|
L6_2 = 133101196
|
|
L4_2 = L4_2(L5_2, L6_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_GROUP_REFRESH_196010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 196006 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_BLOSSOM_CHEST_DIE_196011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshBlossomGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 0
|
|
L4_2.suite = 2
|
|
L4_2.exclude_prev = true
|
|
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_blossom_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_BLOSSOM_CHEST_DIE_196011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A1_2.param1
|
|
if 196005 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearAction2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 0
|
|
L6_2 = A1_2.param1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_196012 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 or 1 == L2_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetWorktopOptions
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L6_2 = 187
|
|
L5_2[1] = L6_2
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = 133101196
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_196012 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 196004 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 187 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_196013 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 196004
|
|
L6_2 = 187
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 196004
|
|
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.SetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 2
|
|
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_blossomscehedule_byGroupId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshBlossomDropRewardByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
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 : remove_gadget_by_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_196013 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 196005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 187 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_196014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 196005
|
|
L6_2 = 187
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 196005
|
|
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.SetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 2
|
|
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_blossomscehedule_byGroupId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshBlossomDropRewardByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
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 : remove_gadget_by_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_196014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddBlossomScheduleProgressByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_196015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateBlossomChestByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 196006
|
|
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 : create_blossomChest_bygroupid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetBlossomScheduleStateByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 3
|
|
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_blossomscehedule_byGroupId"
|
|
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 = "GroupCompletion"
|
|
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_BLOSSOM_PROGRESS_FINISH_196016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshBlossomGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 0
|
|
L4_2.suite = 2
|
|
L4_2.exclude_prev = true
|
|
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_blossom_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_196017 = L1_1
|
|
function L1_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_196018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101196
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_196018 = L1_1
|