Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133106229.lua
2022-04-29 16:40:51 +02:00

1596 lines
33 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
L0_1 = {}
L0_1.group_id = 133106229
L1_1 = {}
L2_1 = {}
L2_1.config_id = 229002
L2_1.monster_id = 22010201
L3_1 = {}
L3_1.x = -448.271
L3_1.y = 188.237
L3_1.z = 1198.333
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 60.456
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L2_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
L2_1.pose_id = 9013
L2_1.area_id = 8
L1_1[1] = L2_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 229001
L2_1.gadget_id = 70900051
L3_1 = {}
L3_1.x = -516.147
L3_1.y = 182.861
L3_1.z = 1158.467
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 332.484
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L3_1 = GadgetState
L3_1 = L3_1.GearStop
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 8
L3_1 = {}
L3_1.config_id = 229004
L3_1.gadget_id = 70900051
L4_1 = {}
L4_1.x = -446.533
L4_1.y = 188.228
L4_1.z = 1199.356
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 329.952
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L4_1 = GadgetState
L4_1 = L4_1.GearStop
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 8
L4_1 = {}
L4_1.config_id = 229005
L4_1.gadget_id = 70690006
L5_1 = {}
L5_1.x = -486.8
L5_1.y = 179.681
L5_1.z = 1175.635
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 = 32
L4_1.persistent = true
L4_1.area_id = 8
L5_1 = {}
L5_1.config_id = 229007
L5_1.gadget_id = 70360097
L6_1 = {}
L6_1.x = -486.572
L6_1.y = 196.512
L6_1.z = 1175.617
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 53.398
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.area_id = 8
L6_1 = {}
L6_1.config_id = 229009
L6_1.gadget_id = 70220032
L7_1 = {}
L7_1.x = -472.862
L7_1.y = 181.499
L7_1.z = 1139.8
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 161.374
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 32
L6_1.area_id = 8
L7_1 = {}
L7_1.config_id = 229010
L7_1.gadget_id = 70900051
L8_1 = {}
L8_1.x = -485.88
L8_1.y = 196.938
L8_1.z = 1176.177
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 59.311
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L8_1 = GadgetState
L8_1 = L8_1.GearStop
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 8
L8_1 = {}
L8_1.config_id = 229011
L8_1.gadget_id = 70900051
L9_1 = {}
L9_1.x = -469.021
L9_1.y = 180.836
L9_1.z = 1147.453
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 281.162
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L9_1 = GadgetState
L9_1 = L9_1.GearStop
L8_1.state = L9_1
L8_1.persistent = true
L8_1.area_id = 8
L9_1 = {}
L9_1.config_id = 229012
L9_1.gadget_id = 70900051
L10_1 = {}
L10_1.x = -501.866
L10_1.y = 180.952
L10_1.z = 1203.189
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 359.243
L10_1.y = 23.069
L10_1.z = 5.469
L9_1.rot = L10_1
L9_1.level = 32
L10_1 = GadgetState
L10_1 = L10_1.GearStop
L9_1.state = L10_1
L9_1.persistent = true
L9_1.area_id = 8
L10_1 = {}
L10_1.config_id = 229013
L10_1.gadget_id = 70360005
L11_1 = {}
L11_1.x = -494.768
L11_1.y = 180.791
L11_1.z = 1209.592
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 197.403
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 32
L10_1.area_id = 8
L11_1 = {}
L11_1.config_id = 229014
L11_1.gadget_id = 70360005
L12_1 = {}
L12_1.x = -504.951
L12_1.y = 181.115
L12_1.z = 1211.511
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 1.779
L12_1.y = 247.1
L12_1.z = 4.805
L11_1.rot = L12_1
L11_1.level = 32
L11_1.area_id = 8
L12_1 = {}
L12_1.config_id = 229018
L12_1.gadget_id = 70211121
L13_1 = {}
L13_1.x = -449.415
L13_1.y = 188.237
L13_1.z = 1197.691
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 239.421
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 26
L12_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
L12_1.showcutscene = true
L12_1.isOneoff = true
L12_1.persistent = true
L13_1 = {}
L13_1.name = "chest"
L13_1.exp = 1
L12_1.explore = L13_1
L12_1.area_id = 8
L13_1 = {}
L13_1.config_id = 229019
L13_1.gadget_id = 70211111
L14_1 = {}
L14_1.x = -446.516
L14_1.y = 188.237
L14_1.z = 1196.533
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 242.616
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 26
L13_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\146\131\230\156\136"
L13_1.showcutscene = true
L13_1.isOneoff = true
L13_1.persistent = true
L14_1 = {}
L14_1.name = "chest"
L14_1.exp = 1
L13_1.explore = L14_1
L13_1.area_id = 8
L14_1 = {}
L14_1.config_id = 229020
L14_1.gadget_id = 70211111
L15_1 = {}
L15_1.x = -449.116
L15_1.y = 188.237
L15_1.z = 1200.558
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 238.313
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 26
L14_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\146\131\230\156\136"
L14_1.showcutscene = true
L14_1.isOneoff = true
L14_1.persistent = true
L15_1 = {}
L15_1.name = "chest"
L15_1.exp = 1
L14_1.explore = L15_1
L14_1.area_id = 8
L15_1 = {}
L15_1.config_id = 229029
L15_1.gadget_id = 70310001
L16_1 = {}
L16_1.x = -461.664
L16_1.y = 182.034
L16_1.z = 1163.5
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 355.311
L16_1.y = 0.852
L16_1.z = 358.85
L15_1.rot = L16_1
L15_1.level = 32
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L15_1.area_id = 8
L16_1 = {}
L16_1.config_id = 229032
L16_1.gadget_id = 70310001
L17_1 = {}
L17_1.x = -507.879
L17_1.y = 181.079
L17_1.z = 1214.177
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 4.748
L17_1.y = 0.618
L17_1.z = 2.95
L16_1.rot = L17_1
L16_1.level = 32
L17_1 = GadgetState
L17_1 = L17_1.GearStart
L16_1.state = L17_1
L16_1.area_id = 8
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1229003
L2_1.name = "ANY_MONSTER_DIE_229003"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_229003"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_229003"
L3_1 = {}
L3_1.config_id = 1229008
L3_1.name = "GROUP_LOAD_229008"
L4_1 = EventType
L4_1 = L4_1.EVENT_GROUP_LOAD
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = ""
L3_1.action = "action_EVENT_GROUP_LOAD_229008"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1229015
L4_1.name = "GADGET_STATE_CHANGE_229015"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229015"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_229015"
L5_1 = {}
L5_1.config_id = 1229016
L5_1.name = "GADGET_STATE_CHANGE_229016"
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_229016"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_229016"
L6_1 = {}
L6_1.config_id = 1229017
L6_1.name = "GADGET_STATE_CHANGE_229017"
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_229017"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_229017"
L7_1 = {}
L7_1.config_id = 1229021
L7_1.name = "GADGET_STATE_CHANGE_229021"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229021"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_229021"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1229022
L8_1.name = "GADGET_STATE_CHANGE_229022"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229022"
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_229022"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1229023
L9_1.name = "GADGET_STATE_CHANGE_229023"
L10_1 = EventType
L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229023"
L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_229023"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1229024
L10_1.name = "GADGET_STATE_CHANGE_229024"
L11_1 = EventType
L11_1 = L11_1.EVENT_GADGET_STATE_CHANGE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229024"
L10_1.action = "action_EVENT_GADGET_STATE_CHANGE_229024"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1229025
L11_1.name = "VARIABLE_CHANGE_229025"
L12_1 = EventType
L12_1 = L12_1.EVENT_VARIABLE_CHANGE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_VARIABLE_CHANGE_229025"
L11_1.action = "action_EVENT_VARIABLE_CHANGE_229025"
L12_1 = {}
L12_1.config_id = 1229026
L12_1.name = "GADGET_STATE_CHANGE_229026"
L13_1 = EventType
L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229026"
L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_229026"
L13_1 = {}
L13_1.config_id = 1229027
L13_1.name = "GADGET_STATE_CHANGE_229027"
L14_1 = EventType
L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229027"
L13_1.action = "action_EVENT_GADGET_STATE_CHANGE_229027"
L14_1 = {}
L14_1.config_id = 1229028
L14_1.name = "VARIABLE_CHANGE_229028"
L15_1 = EventType
L15_1 = L15_1.EVENT_VARIABLE_CHANGE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_VARIABLE_CHANGE_229028"
L14_1.action = "action_EVENT_VARIABLE_CHANGE_229028"
L15_1 = {}
L15_1.config_id = 1229030
L15_1.name = "GADGET_STATE_CHANGE_229030"
L16_1 = EventType
L16_1 = L16_1.EVENT_GADGET_STATE_CHANGE
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229030"
L15_1.action = "action_EVENT_GADGET_STATE_CHANGE_229030"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1229031
L16_1.name = "GADGET_STATE_CHANGE_229031"
L17_1 = EventType
L17_1 = L17_1.EVENT_GADGET_STATE_CHANGE
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229031"
L16_1.action = "action_EVENT_GADGET_STATE_CHANGE_229031"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1229033
L17_1.name = "GADGET_STATE_CHANGE_229033"
L18_1 = EventType
L18_1 = L18_1.EVENT_GADGET_STATE_CHANGE
L17_1.event = L18_1
L17_1.source = ""
L17_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_229033"
L17_1.action = "action_EVENT_GADGET_STATE_CHANGE_229033"
L18_1 = {}
L18_1.config_id = 1229034
L18_1.name = "GADGET_CREATE_229034"
L19_1 = EventType
L19_1 = L19_1.EVENT_GADGET_CREATE
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_GADGET_CREATE_229034"
L18_1.action = "action_EVENT_GADGET_CREATE_229034"
L19_1 = {}
L19_1.config_id = 1229035
L19_1.name = "GADGET_CREATE_229035"
L20_1 = EventType
L20_1 = L20_1.EVENT_GADGET_CREATE
L19_1.event = L20_1
L19_1.source = ""
L19_1.condition = "condition_EVENT_GADGET_CREATE_229035"
L19_1.action = "action_EVENT_GADGET_CREATE_229035"
L20_1 = {}
L20_1.config_id = 1229036
L20_1.name = "GADGET_CREATE_229036"
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_229036"
L20_1.action = "action_EVENT_GADGET_CREATE_229036"
L21_1 = {}
L21_1.config_id = 1229037
L21_1.name = "VARIABLE_CHANGE_229037"
L22_1 = EventType
L22_1 = L22_1.EVENT_VARIABLE_CHANGE
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_VARIABLE_CHANGE_229037"
L21_1.action = "action_EVENT_VARIABLE_CHANGE_229037"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "start"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "ison"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 3
L4_1.name = "windon"
L4_1.value = 0
L4_1.no_refresh = true
L5_1 = {}
L5_1.configId = 4
L5_1.name = "start2"
L5_1.value = 0
L5_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 229006
L3_1.gadget_id = 70310013
L4_1 = {}
L4_1.x = -486.572
L4_1.y = 196.512
L4_1.z = 1175.617
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 53.398
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.area_id = 8
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = 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 = {}
L4_1 = 229002
L3_1[1] = L4_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 229001
L5_1 = 229004
L6_1 = 229007
L7_1 = 229009
L8_1 = 229010
L9_1 = 229011
L10_1 = 229012
L11_1 = 229013
L12_1 = 229014
L13_1 = 229029
L14_1 = 229032
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_229003"
L5_1 = "GROUP_LOAD_229008"
L6_1 = "GADGET_STATE_CHANGE_229015"
L7_1 = "GADGET_STATE_CHANGE_229016"
L8_1 = "GADGET_STATE_CHANGE_229017"
L9_1 = "GADGET_STATE_CHANGE_229021"
L10_1 = "GADGET_STATE_CHANGE_229022"
L11_1 = "GADGET_STATE_CHANGE_229023"
L12_1 = "GADGET_STATE_CHANGE_229024"
L13_1 = "VARIABLE_CHANGE_229025"
L14_1 = "GADGET_STATE_CHANGE_229026"
L15_1 = "GADGET_STATE_CHANGE_229027"
L16_1 = "VARIABLE_CHANGE_229028"
L17_1 = "GADGET_STATE_CHANGE_229030"
L18_1 = "GADGET_STATE_CHANGE_229031"
L19_1 = "GADGET_STATE_CHANGE_229033"
L20_1 = "GADGET_CREATE_229034"
L21_1 = "GADGET_CREATE_229035"
L22_1 = "GADGET_CREATE_229036"
L23_1 = "VARIABLE_CHANGE_229037"
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
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 229002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_229003 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 229004
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_229003 = 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.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 133106229
L5_2 = 229004
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.GearStop
if L2_2 == L3_2 then
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 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 133106229
L5_2 = 229004
L6_2 = GadgetState
L6_2 = L6_2.Default
L2_2(L3_2, L4_2, L5_2, L6_2)
end
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_229008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229001 == 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_229015 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start"
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 : change_GroupVariable"
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_229015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229012 == 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_229016 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start"
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 : change_GroupVariable"
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_229016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229010 == 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_229017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 229018
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 = 229019
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 = 229020
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_229017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229013 == 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_229021 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ison"
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 : change_GroupVariable"
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_229021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229014 == 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_229022 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ison"
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 : change_GroupVariable"
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_229022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229013 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param1
if L2_2 == L3_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param3
if L2_2 == L3_2 then
goto lbl_16
end
end
end
L2_2 = false
do return L2_2 end
::lbl_16::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_229023 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ison"
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 : change_GroupVariable"
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_229023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229014 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param1
if L2_2 == L3_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param3
if L2_2 == L3_2 then
goto lbl_16
end
end
end
L2_2 = false
do return L2_2 end
::lbl_16::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_229024 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ison"
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 : change_GroupVariable"
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_229024 = L1_1
function L1_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 = "ison"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_229025 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 229012
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_229025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229004 == 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_229026 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start2"
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 : change_GroupVariable"
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_229026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229011 == 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_229027 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start"
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 : change_GroupVariable"
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_229027 = L1_1
function L1_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 = "start"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_229028 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 229005
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 229010
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 = {}
L2_2.x = -485
L2_2.y = 190
L2_2.z = 1176
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 0
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
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 : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_VARIABLE_CHANGE_229028 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 229009 == 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "windon"
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_STATE_CHANGE_229030 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 229011
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_229030 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 229009 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param1
if L2_2 == L3_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param3
if L2_2 == L3_2 then
goto lbl_16
end
end
end
L2_2 = false
do return L2_2 end
::lbl_16::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "windon"
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_STATE_CHANGE_229031 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 229011
L5_2 = GadgetState
L5_2 = L5_2.GearStop
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_229031 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 229011 == 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_229033 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "windon"
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_GADGET_STATE_CHANGE_229033 = 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 229001 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_229034 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start2"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_229034 = 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 229012 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_229035 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start2"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_229035 = 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 229011 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_229036 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "start2"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_229036 = L1_1
function L1_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 = "start2"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_229037 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 229005
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 229010
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_229037 = L1_1