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

1451 lines
30 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
L0_1 = {}
L0_1.group_id = 243002005
L1_1 = {}
L1_1.group_1 = 243002005
L1_1.gadget_switch = 5013
L1_1.gadget_floor = 5016
L1_1.challenge_father = 999
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 5004
L3_1.gadget_id = 70360159
L4_1 = {}
L4_1.x = 32.272
L4_1.y = 69.0
L4_1.z = -45.694
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 86.38
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.mark_flag = 2
L4_1 = {}
L4_1.config_id = 5008
L4_1.gadget_id = 70900201
L5_1 = {}
L5_1.x = 31.932
L5_1.y = 41.574
L5_1.z = -45.538
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 = 1
L5_1 = {}
L5_1.config_id = 5009
L5_1.gadget_id = 70900201
L6_1 = {}
L6_1.x = 32.364
L6_1.y = -19.558
L6_1.z = -51.899
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 5013
L6_1.gadget_id = 70360164
L7_1 = {}
L7_1.x = 32.272
L7_1.y = 40.1
L7_1.z = -45.694
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 31.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.mark_flag = 4
L7_1 = {}
L7_1.config_id = 5016
L7_1.gadget_id = 70350244
L8_1 = {}
L8_1.x = 31.8
L8_1.y = 39.38
L8_1.z = -54.21
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 = 1
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L8_1 = {}
L8_1.config_id = 5017
L8_1.gadget_id = 70360161
L9_1 = {}
L9_1.x = 98.186
L9_1.y = 40.0
L9_1.z = -4.138
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 = 1
L9_1 = {}
L9_1.config_id = 5018
L9_1.gadget_id = 70360160
L10_1 = {}
L10_1.x = 74.599
L10_1.y = 40.0
L10_1.z = -71.325
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 5019
L10_1.gadget_id = 70360162
L11_1 = {}
L11_1.x = -3.011
L11_1.y = 40.033
L11_1.z = -50.176
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
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
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 5005
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 5
L4_1 = {}
L4_1.x = 19.288
L4_1.y = 39.992
L4_1.z = -6.088
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 5010
L5_1 = RegionShape
L5_1 = L5_1.CUBIC
L4_1.shape = L5_1
L5_1 = {}
L5_1.x = 40.0
L5_1.y = 1.0
L5_1.z = 40.0
L4_1.size = L5_1
L5_1 = {}
L5_1.x = 32.594
L5_1.y = 33.695
L5_1.z = -52.932
L4_1.pos = L5_1
L5_1 = {}
L5_1.config_id = 5014
L6_1 = RegionShape
L6_1 = L6_1.CUBIC
L5_1.shape = L6_1
L6_1 = {}
L6_1.x = 40.0
L6_1.y = 20.0
L6_1.z = 2.0
L5_1.size = L6_1
L6_1 = {}
L6_1.x = 17.218
L6_1.y = 47.23
L6_1.z = 11.808
L5_1.pos = L6_1
L6_1 = {}
L6_1.config_id = 5021
L7_1 = RegionShape
L7_1 = L7_1.CUBIC
L6_1.shape = L7_1
L7_1 = {}
L7_1.x = 50.0
L7_1.y = 10.0
L7_1.z = 50.0
L6_1.size = L7_1
L7_1 = {}
L7_1.x = 32.125
L7_1.y = -18.007
L7_1.z = -52.26
L6_1.pos = L7_1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1005001
L3_1.name = "CHALLENGE_FAIL_5001"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_FAIL
L3_1.event = L4_1
L3_1.source = "999"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_FAIL_5001"
L4_1 = {}
L4_1.config_id = 1005002
L4_1.name = "TIME_AXIS_PASS_5002"
L5_1 = EventType
L5_1 = L5_1.EVENT_TIME_AXIS_PASS
L4_1.event = L5_1
L4_1.source = "randball"
L4_1.condition = ""
L4_1.action = "action_EVENT_TIME_AXIS_PASS_5002"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1005003
L5_1.name = "VARIABLE_CHANGE_5003"
L6_1 = EventType
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_5003"
L5_1.action = "action_EVENT_VARIABLE_CHANGE_5003"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1005005
L6_1.name = "ENTER_REGION_5005"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = ""
L6_1.action = ""
L7_1 = {}
L7_1.config_id = 1005006
L7_1.name = "SELECT_OPTION_5006"
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_5006"
L7_1.action = "action_EVENT_SELECT_OPTION_5006"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1005007
L8_1.name = "TIMER_EVENT_5007"
L9_1 = EventType
L9_1 = L9_1.EVENT_TIMER_EVENT
L8_1.event = L9_1
L8_1.source = "floor"
L8_1.condition = ""
L8_1.action = "action_EVENT_TIMER_EVENT_5007"
L9_1 = {}
L9_1.config_id = 1005010
L9_1.name = "ENTER_REGION_5010"
L10_1 = EventType
L10_1 = L10_1.EVENT_ENTER_REGION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ENTER_REGION_5010"
L9_1.action = "action_EVENT_ENTER_REGION_5010"
L10_1 = {}
L10_1.config_id = 1005011
L10_1.name = "GADGET_CREATE_5011"
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_5011"
L10_1.action = "action_EVENT_GADGET_CREATE_5011"
L11_1 = {}
L11_1.config_id = 1005012
L11_1.name = "SELECT_OPTION_5012"
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_5012"
L11_1.action = "action_EVENT_SELECT_OPTION_5012"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1005014
L12_1.name = "ENTER_REGION_5014"
L13_1 = EventType
L13_1 = L13_1.EVENT_ENTER_REGION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = ""
L12_1.action = "action_EVENT_ENTER_REGION_5014"
L13_1 = {}
L13_1.config_id = 1005015
L13_1.name = "VARIABLE_CHANGE_5015"
L14_1 = EventType
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
L13_1.event = L14_1
L13_1.source = "runes"
L13_1.condition = ""
L13_1.action = "action_EVENT_VARIABLE_CHANGE_5015"
L13_1.trigger_count = 0
L13_1.tag = "901"
L14_1 = {}
L14_1.config_id = 1005020
L14_1.name = "VARIABLE_CHANGE_5020"
L15_1 = EventType
L15_1 = L15_1.EVENT_VARIABLE_CHANGE
L14_1.event = L15_1
L14_1.source = "AddTime"
L14_1.condition = "condition_EVENT_VARIABLE_CHANGE_5020"
L14_1.action = "action_EVENT_VARIABLE_CHANGE_5020"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1005021
L15_1.name = "ENTER_REGION_5021"
L16_1 = EventType
L16_1 = L16_1.EVENT_ENTER_REGION
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_ENTER_REGION_5021"
L15_1.action = ""
L15_1.tag = "902"
L16_1 = {}
L16_1.config_id = 1005022
L16_1.name = "GADGET_STATE_CHANGE_5022"
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_5022"
L16_1.action = "action_EVENT_GADGET_STATE_CHANGE_5022"
L16_1.tag = "902"
L17_1 = {}
L17_1.config_id = 1005023
L17_1.name = "VARIABLE_CHANGE_5023"
L18_1 = EventType
L18_1 = L18_1.EVENT_VARIABLE_CHANGE
L17_1.event = L18_1
L17_1.source = "success"
L17_1.condition = "condition_EVENT_VARIABLE_CHANGE_5023"
L17_1.action = "action_EVENT_VARIABLE_CHANGE_5023"
L17_1.tag = "903"
L18_1 = {}
L18_1.config_id = 1005024
L18_1.name = "VARIABLE_CHANGE_5024"
L19_1 = EventType
L19_1 = L19_1.EVENT_VARIABLE_CHANGE
L18_1.event = L19_1
L18_1.source = "runes"
L18_1.condition = "condition_EVENT_VARIABLE_CHANGE_5024"
L18_1.action = "action_EVENT_VARIABLE_CHANGE_5024"
L19_1 = {}
L19_1.config_id = 1005025
L19_1.name = "VARIABLE_CHANGE_5025"
L20_1 = EventType
L20_1 = L20_1.EVENT_VARIABLE_CHANGE
L19_1.event = L20_1
L19_1.source = "runes"
L19_1.condition = "condition_EVENT_VARIABLE_CHANGE_5025"
L19_1.action = "action_EVENT_VARIABLE_CHANGE_5025"
L20_1 = {}
L20_1.config_id = 1005026
L20_1.name = "VARIABLE_CHANGE_5026"
L21_1 = EventType
L21_1 = L21_1.EVENT_VARIABLE_CHANGE
L20_1.event = L21_1
L20_1.source = "runes"
L20_1.condition = "condition_EVENT_VARIABLE_CHANGE_5026"
L20_1.action = "action_EVENT_VARIABLE_CHANGE_5026"
L21_1 = {}
L21_1.config_id = 1005027
L21_1.name = "CHALLENGE_FAIL_5027"
L22_1 = EventType
L22_1 = L22_1.EVENT_CHALLENGE_FAIL
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_CHALLENGE_FAIL_5027"
L21_1.action = "action_EVENT_CHALLENGE_FAIL_5027"
L21_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
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "runes"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "AddTime"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 3
L5_1.name = "success"
L5_1.value = 0
L5_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 5004
L6_1 = 5013
L7_1 = 5016
L8_1 = 5017
L9_1 = 5018
L10_1 = 5019
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
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 5014
L6_1 = 5021
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "CHALLENGE_FAIL_5001"
L6_1 = "TIME_AXIS_PASS_5002"
L7_1 = "VARIABLE_CHANGE_5003"
L8_1 = "SELECT_OPTION_5006"
L9_1 = "TIMER_EVENT_5007"
L10_1 = "GADGET_CREATE_5011"
L11_1 = "SELECT_OPTION_5012"
L12_1 = "ENTER_REGION_5014"
L13_1 = "VARIABLE_CHANGE_5015"
L14_1 = "VARIABLE_CHANGE_5020"
L15_1 = "ENTER_REGION_5021"
L16_1 = "GADGET_STATE_CHANGE_5022"
L17_1 = "VARIABLE_CHANGE_5023"
L18_1 = "VARIABLE_CHANGE_5024"
L19_1 = "VARIABLE_CHANGE_5025"
L20_1 = "VARIABLE_CHANGE_5026"
L21_1 = "CHALLENGE_FAIL_5027"
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.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 5013
L7_1 = 5016
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "SELECT_OPTION_5012"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002004
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002001
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002008
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002009
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002010
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002011
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002016
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002017
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.FailMistTrialDungeonChallenge
L3_2 = A0_2
L4_2 = 999
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 : \231\187\147\230\157\159\230\140\145\230\136\152\229\164\177\232\180\165\239\188\129\239\188\129\239\188\129\239\188\129"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_5001 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 243002013
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_randall"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_5002 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = 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 = "runes"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_5003 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = L1_1.gadget_switch
L6_2 = 58
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "runes"
L5_2 = 99
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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = L1_1.gadget_switch
L6_2 = {}
L7_2 = 59
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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 5008
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.AttachChildChallenge
L3_2 = A0_2
L4_2 = 999
L5_2 = 902
L6_2 = 230
L7_2 = {}
L8_2 = 7
L9_2 = 902
L10_2 = 1
L11_2 = 1
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L7_2[4] = L11_2
L8_2 = {}
L9_2 = {}
L9_2.success = 1
L9_2.fail = 1
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\230\147\141\228\189\156\229\143\176\229\173\144\230\140\145\230\136\152\230\140\130\232\189\189!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_5003 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_switch
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 58 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_5006 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001001
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_SELECT_OPTION_5006 = 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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 243002005
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 5016
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 : 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_TIMER_EVENT_5007 = 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 ~= 5010 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_5010 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_5010 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_switch
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_5011 = 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_1
L5_2 = L1_1.gadget_switch
L6_2 = {}
L7_2 = 58
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.PrintContextLog
L3_2 = A0_2
L4_2 = "\230\147\141\228\189\156\229\143\176\233\128\137\233\161\185!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.InitTimeAxis
L3_2 = A0_2
L4_2 = "randball"
L5_2 = {}
L6_2 = 30
L5_2[1] = L6_2
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_5011 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_switch
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 59 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_5012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 5016
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 5008
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 : kill_entity_by_configId"
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 = 5009
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 243002005
L5_2 = "floor"
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 243002005
L5_2 = 5013
L6_2 = 59
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.AttachChildChallenge
L3_2 = A0_2
L4_2 = 999
L5_2 = 903
L6_2 = 231
L7_2 = {}
L8_2 = 3
L9_2 = 903
L10_2 = 1
L11_2 = 1
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L7_2[4] = L11_2
L8_2 = {}
L9_2 = {}
L9_2.success = 99999
L9_2.fail = 1
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\230\147\141\228\189\156\229\143\176\229\173\144\230\140\145\230\136\152\230\140\130\232\189\189!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001011
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_SELECT_OPTION_5012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateFatherChallenge
L3_2 = A0_2
L4_2 = 999
L5_2 = 228
L6_2 = 900
L7_2 = {}
L7_2.success = 99999
L7_2.fail = 99999
L7_2.fail_on_wipe = true
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
L2_2 = ScriptLib
L2_2 = L2_2.AttachChildChallenge
L3_2 = A0_2
L4_2 = 999
L5_2 = 901
L6_2 = 229
L7_2 = {}
L8_2 = 3
L9_2 = 901
L10_2 = 3
L11_2 = 1
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L7_2[4] = L11_2
L8_2 = {}
L9_2 = {}
L9_2.success = 0
L9_2.fail = 0
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\230\140\130\232\189\189\231\172\166\230\150\135\229\173\144\230\140\145\230\136\152!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartFatherChallenge
L3_2 = A0_2
L4_2 = 999
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\136\182\230\140\145\230\136\152\229\188\128\229\167\139!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartGallery
L3_2 = A0_2
L4_2 = 7008
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "AvatarDie"
L5_2 = 1
L6_2 = 243002015
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 : change_GroupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_5014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\172\166\230\150\135\232\174\161\230\149\176\230\148\185\229\143\152\228\186\134!!!!!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_5015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "AddTime"
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_5020 = 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.ModifyFatherChallengeProperty
L3_2 = A0_2
L4_2 = L1_1.challenge_father
L5_2 = FatherChallengeProperty
L5_2 = L5_2.DURATION
L6_2 = 300
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "AddTime"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_5020 = 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 ~= 5021 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_5021 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 5016 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
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_5022 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_5022 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "success"
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_5023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\228\184\173\230\142\167\229\174\164\229\133\137\231\191\188\229\177\149\229\188\128!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_5023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "runes"
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_5024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001002
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_VARIABLE_CHANGE_5024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "runes"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_5025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001004
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_VARIABLE_CHANGE_5025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "runes"
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_5026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001003
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_VARIABLE_CHANGE_5026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 == 228 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_CHALLENGE_FAIL_5027 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001010
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_CHALLENGE_FAIL_5027 = L2_1
L2_1 = require
L3_1 = "AttachChildChallenge"
L2_1(L3_1)