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

1122 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, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1
L0_1 = {}
L0_1.group_id = 177006071
L1_1 = {}
L1_1.pointarray_1 = 700600008
L1_1.gadget_1 = 71002
L1_1.gadget_2 = 71003
L1_1.gadget_3 = 71007
L1_1.gadget_4 = 71010
L1_1.gadget_5 = 71011
L1_1.gadget_controller_3 = 71009
L1_1.gadget_controller_4 = 71012
L1_1.gadget_pointarray_3 = 3
L1_1.gadget_pointarray_4 = 4
L1_1.group_id = 177006071
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 71001
L3_1.gadget_id = 70330134
L4_1 = {}
L4_1.x = 573.01
L4_1.y = 133.2
L4_1.z = -474.329
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 = 36
L3_1.area_id = 210
L4_1 = {}
L4_1.config_id = 71002
L4_1.gadget_id = 70330135
L5_1 = {}
L5_1.x = 572.951
L5_1.y = 132.683
L5_1.z = -461.104
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 135.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 36
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.is_use_point_array = true
L4_1.area_id = 210
L5_1 = {}
L5_1.config_id = 71003
L5_1.gadget_id = 70330135
L6_1 = {}
L6_1.x = 582.852
L6_1.y = 132.683
L6_1.z = -461.104
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 45.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 36
L5_1.is_use_point_array = true
L5_1.area_id = 210
L6_1 = {}
L6_1.config_id = 71004
L6_1.gadget_id = 70330141
L7_1 = {}
L7_1.x = 572.983
L7_1.y = 132.683
L7_1.z = -479.87
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 36
L6_1.persistent = true
L6_1.area_id = 210
L7_1 = {}
L7_1.config_id = 71005
L7_1.gadget_id = 70330157
L8_1 = {}
L8_1.x = 573.008
L8_1.y = 131.889
L8_1.z = -474.331
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 = 36
L7_1.area_id = 210
L8_1 = {}
L8_1.config_id = 71006
L8_1.gadget_id = 70330158
L9_1 = {}
L9_1.x = 572.952
L9_1.y = 131.993
L9_1.z = -461.106
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 135.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 36
L8_1.area_id = 210
L9_1 = {}
L9_1.config_id = 71007
L9_1.gadget_id = 70330135
L10_1 = {}
L10_1.x = 582.852
L10_1.y = 132.683
L10_1.z = -469.317
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 90.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 36
L10_1 = GadgetState
L10_1 = L10_1.GearStart
L9_1.state = L10_1
L9_1.is_use_point_array = true
L9_1.area_id = 210
L10_1 = {}
L10_1.config_id = 71008
L10_1.gadget_id = 70330158
L11_1 = {}
L11_1.x = 582.836
L11_1.y = 131.992
L11_1.z = -461.113
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 45.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 36
L10_1.area_id = 210
L11_1 = {}
L11_1.config_id = 71009
L11_1.gadget_id = 70330158
L12_1 = {}
L12_1.x = 582.854
L12_1.y = 132.003
L12_1.z = -469.315
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 90.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 36
L12_1 = GadgetState
L12_1 = L12_1.GearStart
L11_1.state = L12_1
L11_1.area_id = 210
L12_1 = {}
L12_1.config_id = 71010
L12_1.gadget_id = 70330135
L13_1 = {}
L13_1.x = 562.418
L13_1.y = 132.683
L13_1.z = -469.317
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 90.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 36
L12_1.is_use_point_array = true
L12_1.area_id = 210
L13_1 = {}
L13_1.config_id = 71011
L13_1.gadget_id = 70330135
L14_1 = {}
L14_1.x = 562.418
L14_1.y = 132.683
L14_1.z = -479.87
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 45.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 36
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.is_use_point_array = true
L13_1.area_id = 210
L14_1 = {}
L14_1.config_id = 71012
L14_1.gadget_id = 70330158
L15_1 = {}
L15_1.x = 562.419
L15_1.y = 131.982
L15_1.z = -469.316
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 90.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 36
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.area_id = 210
L15_1 = {}
L15_1.config_id = 71013
L15_1.gadget_id = 70330158
L16_1 = {}
L16_1.x = 562.418
L16_1.y = 132.054
L16_1.z = -479.871
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 45.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 36
L15_1.area_id = 210
L16_1 = {}
L16_1.config_id = 71014
L16_1.gadget_id = 70330157
L17_1 = {}
L17_1.x = 572.983
L17_1.y = 131.868
L17_1.z = -479.87
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 36
L16_1.area_id = 210
L17_1 = {}
L17_1.config_id = 71015
L17_1.gadget_id = 70211162
L18_1 = {}
L18_1.x = 572.875
L18_1.y = 132.296
L18_1.z = -482.339
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 16
L17_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\233\171\152\231\186\167\231\168\187\229\166\187"
L17_1.isOneoff = true
L17_1.persistent = true
L17_1.area_id = 210
L18_1 = {}
L18_1.config_id = 71032
L18_1.gadget_id = 70290282
L19_1 = {}
L19_1.x = 572.585
L19_1.y = 137.294
L19_1.z = -484.794
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 36
L18_1.persistent = true
L18_1.area_id = 210
L19_1 = {}
L19_1.config_id = 71033
L19_1.gadget_id = 70290281
L20_1 = {}
L20_1.x = 537.885
L20_1.y = 137.507
L20_1.z = -469.721
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 270.0
L20_1.z = 180.0
L19_1.rot = L20_1
L19_1.level = 36
L19_1.persistent = true
L19_1.area_id = 210
L20_1 = {}
L20_1.config_id = 71034
L20_1.gadget_id = 70360170
L21_1 = {}
L21_1.x = 540.091
L21_1.y = 134.564
L21_1.z = -474.335
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 90.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 36
L20_1.persistent = true
L20_1.area_id = 210
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
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1071018
L3_1.name = "GADGET_CREATE_71018"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_71018"
L3_1.action = "action_EVENT_GADGET_CREATE_71018"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1071019
L4_1.name = "GADGET_CREATE_71019"
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_71019"
L4_1.action = "action_EVENT_GADGET_CREATE_71019"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1071025
L5_1.name = "SELECT_OPTION_71025"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_71025"
L5_1.action = "action_EVENT_SELECT_OPTION_71025"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1071026
L6_1.name = "TIMER_EVENT_71026"
L7_1 = EventType
L7_1 = L7_1.EVENT_TIMER_EVENT
L6_1.event = L7_1
L6_1.source = "route3"
L6_1.condition = ""
L6_1.action = "action_EVENT_TIMER_EVENT_71026"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1071027
L7_1.name = "SELECT_OPTION_71027"
L8_1 = EventType
L8_1 = L8_1.EVENT_SELECT_OPTION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_SELECT_OPTION_71027"
L7_1.action = "action_EVENT_SELECT_OPTION_71027"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1071028
L8_1.name = "TIMER_EVENT_71028"
L9_1 = EventType
L9_1 = L9_1.EVENT_TIMER_EVENT
L8_1.event = L9_1
L8_1.source = "route4"
L8_1.condition = ""
L8_1.action = "action_EVENT_TIMER_EVENT_71028"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1071031
L9_1.name = "GADGET_STATE_CHANGE_71031"
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_71031"
L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_71031"
L10_1 = {}
L10_1.config_id = 1071035
L10_1.name = "GADGET_CREATE_71035"
L11_1 = EventType
L11_1 = L11_1.EVENT_GADGET_CREATE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_GADGET_CREATE_71035"
L10_1.action = "action_EVENT_GADGET_CREATE_71035"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1071036
L11_1.name = "SELECT_OPTION_71036"
L12_1 = EventType
L12_1 = L12_1.EVENT_SELECT_OPTION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_SELECT_OPTION_71036"
L11_1.action = "action_EVENT_SELECT_OPTION_71036"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1071037
L12_1.name = "SELECT_OPTION_71037"
L13_1 = EventType
L13_1 = L13_1.EVENT_SELECT_OPTION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_SELECT_OPTION_71037"
L12_1.action = "action_EVENT_SELECT_OPTION_71037"
L12_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
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 1071016
L4_1.name = "GADGET_CREATE_71016"
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_71016"
L4_1.action = "action_EVENT_GADGET_CREATE_71016"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1071017
L5_1.name = "GADGET_CREATE_71017"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_71017"
L5_1.action = "action_EVENT_GADGET_CREATE_71017"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1071020
L6_1.name = "GADGET_CREATE_71020"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_CREATE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_CREATE_71020"
L6_1.action = "action_EVENT_GADGET_CREATE_71020"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1071021
L7_1.name = "SELECT_OPTION_71021"
L8_1 = EventType
L8_1 = L8_1.EVENT_SELECT_OPTION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_SELECT_OPTION_71021"
L7_1.action = "action_EVENT_SELECT_OPTION_71021"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1071022
L8_1.name = "TIMER_EVENT_71022"
L9_1 = EventType
L9_1 = L9_1.EVENT_TIMER_EVENT
L8_1.event = L9_1
L8_1.source = "route1"
L8_1.condition = ""
L8_1.action = "action_EVENT_TIMER_EVENT_71022"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1071023
L9_1.name = "SELECT_OPTION_71023"
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_71023"
L9_1.action = "action_EVENT_SELECT_OPTION_71023"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1071024
L10_1.name = "TIMER_EVENT_71024"
L11_1 = EventType
L11_1 = L11_1.EVENT_TIMER_EVENT
L10_1.event = L11_1
L10_1.source = "route2"
L10_1.condition = ""
L10_1.action = "action_EVENT_TIMER_EVENT_71024"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1071029
L11_1.name = "SELECT_OPTION_71029"
L12_1 = EventType
L12_1 = L12_1.EVENT_SELECT_OPTION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_SELECT_OPTION_71029"
L11_1.action = "action_EVENT_SELECT_OPTION_71029"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1071030
L12_1.name = "TIMER_EVENT_71030"
L13_1 = EventType
L13_1 = L13_1.EVENT_TIMER_EVENT
L12_1.event = L13_1
L12_1.source = "route5"
L12_1.condition = ""
L12_1.action = "action_EVENT_TIMER_EVENT_71030"
L12_1.trigger_count = 0
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
L2_1.triggers = L3_1
garbages = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 71001
L6_1 = 71002
L7_1 = 71003
L8_1 = 71004
L9_1 = 71005
L10_1 = 71006
L11_1 = 71007
L12_1 = 71008
L13_1 = 71009
L14_1 = 71010
L15_1 = 71011
L16_1 = 71012
L17_1 = 71013
L18_1 = 71014
L19_1 = 71032
L20_1 = 71033
L21_1 = 71034
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_71018"
L6_1 = "GADGET_CREATE_71019"
L7_1 = "SELECT_OPTION_71025"
L8_1 = "TIMER_EVENT_71026"
L9_1 = "SELECT_OPTION_71027"
L10_1 = "TIMER_EVENT_71028"
L11_1 = "GADGET_STATE_CHANGE_71031"
L12_1 = "GADGET_CREATE_71035"
L13_1 = "SELECT_OPTION_71036"
L14_1 = "SELECT_OPTION_71037"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L2_1[1] = L3_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_3
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_71018 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = L5_2
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_71018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_4
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_71019 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = L5_2
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_71019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_3
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_71025 = L2_1
function L2_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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_3
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_3
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_3
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route3"
L7_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_71025 = 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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_3
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_71026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_4
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_71027 = L2_1
function L2_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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_4
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_4
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_4
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route4"
L7_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_71027 = 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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_4
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_71028 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 71004 == 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_71031 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 71015
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 = 71032
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_71031 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 71034 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_71035 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 7
L4_2[1] = L5_2
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_71035 = 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
if 71034 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 177006071
L6_2 = 71033
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_71036 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177006071
L5_2 = 71033
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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_gadget_state_by_GroupId_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 = 71034
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_71036 = 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
if 71034 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 177006071
L6_2 = 71033
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_71037 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 177006071
L5_2 = 71033
L6_2 = GadgetState
L6_2 = L6_2.Default
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_gadget_state_by_GroupId_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 = 71034
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_SELECT_OPTION_71037 = L2_1
L2_1 = require
L3_1 = "V2_5/Watcher_Puzzle"
L2_1(L3_1)