更新配置表

This commit is contained in:
flswld
2023-01-29 13:00:55 +08:00
parent 0ab4fd1d18
commit 5fbe66113e
3108 changed files with 587829 additions and 26766 deletions
@@ -596,23 +596,25 @@ end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_39086(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007001) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001039, suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007001) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001039, suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
end
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_39087(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007001) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001039, suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007001) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001039, suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
end
end
return 0
end
@@ -119,6 +119,7 @@ function action_EVENT_GROUP_LOAD_51010(context, evt)
if ScriptLib.GetGroupVariableValue(context, "Open") == 1 and (not ScriptLib.CheckIsInMpMode(context)) then
ScriptLib.SetWorktopOptionsByGroupId(context, 0, 51021, {68})
end
return 0
end
@@ -196,8 +197,10 @@ function action_EVENT_GADGET_STATE_CHANGE_51020(context, evt)
else
ScriptLib.SetWorktopOptionsByGroupId(context, 0, 51021, {68})
end
ScriptLib.SetGroupVariableValue(context, "Open", 1)
end
return 0
end
@@ -124,8 +124,10 @@ function action_EVENT_GADGET_STATE_CHANGE_52006(context, evt)
else
ScriptLib.SetWorktopOptionsByGroupId(context, 0, 52005, {68})
end
ScriptLib.SetGroupVariableValue(context, "Open", 1)
end
return 0
end
@@ -165,6 +167,7 @@ function action_EVENT_GROUP_LOAD_52008(context, evt)
if ScriptLib.GetGroupVariableValue(context, "Open") == 1 and (not ScriptLib.CheckIsInMpMode(context)) then
ScriptLib.SetWorktopOptionsByGroupId(context, 0, 52005, {68})
end
return 0
end
@@ -174,8 +174,10 @@ function action_EVENT_GADGET_STATE_CHANGE_53025(context, evt)
else
ScriptLib.SetWorktopOptionsByGroupId(context, 0, 53024, {68})
end
ScriptLib.SetGroupVariableValue(context, "Open", 1)
end
return 0
end
@@ -214,6 +216,7 @@ function action_EVENT_GROUP_LOAD_53027(context, evt)
if ScriptLib.GetGroupVariableValue(context, "Open") == 1 and (not ScriptLib.CheckIsInMpMode(context)) then
ScriptLib.SetWorktopOptionsByGroupId(context, 0, 53024, {68})
end
return 0
end
@@ -78,5 +78,6 @@ function action_EVENT_ENTER_REGION_66003(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111180, { x = 437, y = 120, z = 291}, 100)
end
return 0
end
@@ -77,7 +77,9 @@ suites = {
function action_EVENT_ENTER_REGION_67002(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111181, { x = 279, y = 120, z = 503}, 50)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 257,y = 142,z = 446}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 257,y = 142,z = 446}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -77,7 +77,9 @@ suites = {
function action_EVENT_ENTER_REGION_68002(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111182, { x = 150, y = 120, z = 209}, 60)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 256,y = 160,z = 192}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 256,y = 160,z = 192}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -218,5 +218,6 @@ function action_EVENT_ENTER_REGION_71021(context, evt)
if ScriptLib.TryRecordActivityPushTips(context, 2014012) == 0 then
ScriptLib.ShowClientTutorial(context, 1185, {})
end
return 0
end
@@ -150,8 +150,10 @@ suites = {
function action_EVENT_GADGET_STATE_CHANGE_133023(context, evt)
if ScriptLib.GetGadgetStateByConfigId(context, 199001133, 133004) == 303 and ScriptLib.GetGroupVariableValue(context, "big_flower") == 1 then
ScriptLib.SetGroupVariableValue(context, "big_flower", 0)
ScriptLib.RemoveExtraGroupSuite(context, 199001133, 2)
end
return 0
end
@@ -244,9 +246,12 @@ end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_133028(context, evt)
if evt.param1 == evt.param2 then return -1 end
if ScriptLib.GetGroupVariableValue(context, "big_flower") == 1 and ScriptLib.GetGadgetStateByConfigId(context, 199001133, 133004) == 303 then
ScriptLib.InitTimeAxis(context, "WindTimeB", {1,20}, false)
end
return 0
end
@@ -529,23 +529,25 @@ end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_150057(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007006) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001150, suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
else
if ScriptLib.GetHostQuestState(context,4007006) == 3 and ScriptLib.CheckSceneTag(context, 9,1016 ) then
ScriptLib.RefreshGroup(context, {group_id=199001150, suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
end
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_150058(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007006) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001150, suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007006) == 3 then
ScriptLib.RefreshGroup(context, {group_id=199001150, suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
end
end
return 0
end
@@ -539,23 +539,25 @@ end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_152064(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007002) == 3 then
ScriptLib.RefreshGroup(context, { suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007002) == 3 then
ScriptLib.RefreshGroup(context, { suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
end
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_152065(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007002) == 3 then
ScriptLib.RefreshGroup(context, { suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007002) == 3 then
ScriptLib.RefreshGroup(context, { suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
end
end
return 0
end
@@ -416,24 +416,26 @@ end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_153042(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007007) == 3 then
ScriptLib.RefreshGroup(context, { suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007007) == 3 then
ScriptLib.RefreshGroup(context, { suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
end
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_153043(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1015 ) and ScriptLib.GetHostQuestState(context,4007007) == 3 then
ScriptLib.RefreshGroup(context, { suite=5})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=5})
else
if ScriptLib.CheckSceneTag(context, 9,1016 ) and ScriptLib.GetHostQuestState(context,4007007) == 3 then
ScriptLib.RefreshGroup(context, { suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
end
end
return 0
end
@@ -147,8 +147,10 @@ suites = {
function action_EVENT_GADGET_STATE_CHANGE_235013(context, evt)
if ScriptLib.GetGadgetStateByConfigId(context, 199001235, 235004) == 303 and ScriptLib.GetGroupVariableValue(context, "big_flower") == 1 then
ScriptLib.SetGroupVariableValue(context, "big_flower", 0)
ScriptLib.RemoveExtraGroupSuite(context, 199001235, 2)
end
return 0
end
@@ -241,9 +243,12 @@ end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_235018(context, evt)
if evt.param1 == evt.param2 then return -1 end
if ScriptLib.GetGroupVariableValue(context, "big_flower") == 1 and ScriptLib.GetGadgetStateByConfigId(context, 199001235, 235004) == 303 then
ScriptLib.InitTimeAxis(context, "WindTimeB", {1,45}, false)
end
return 0
end
@@ -247,8 +247,10 @@ suites = {
function action_EVENT_GADGET_STATE_CHANGE_4003(context, evt)
if evt.param2 == 4002 and ScriptLib.GetGadgetStateByConfigId(context, 0, 4002) == 201 then
ScriptLib.SetGroupVariableValue(context, "put", 1)
ScriptLib.SetGadgetTalkByConfigId(context, 199002004, 4001, 6800323)
end
return 0
end
@@ -477,7 +479,8 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_4125(context, evt)
ScriptLib.RefreshGroup(context, { suite=1})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=1})
return 0
end
@@ -486,6 +489,7 @@ function action_EVENT_GROUP_REFRESH_4126(context, evt)
if ScriptLib.GetGroupVariableValue(context, "put") == 1 then
ScriptLib.SetGadgetTalkByConfigId(context, 199002004, 4001, 6800323)
end
return 0
end
@@ -208,14 +208,15 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_25016(context, evt)
if 25016 ~= evt.param1 then
if 25016 == evt.param1 then
else
if 0 == ScriptLib.TryRecordActivityPushTips(context, 2014016) then
ScriptLib.TryRecordActivityPushTips(context, 2014016)
ScriptLib.ShowClientTutorial(context, 1186, {})
end
end
return 0
end
@@ -202,14 +202,15 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_26013(context, evt)
if 26013 ~= evt.param1 then
if 26013 == evt.param1 then
else
if 0 == ScriptLib.TryRecordActivityPushTips(context, 2014016) then
ScriptLib.TryRecordActivityPushTips(context, 2014016)
ScriptLib.ShowClientTutorial(context, 1186, {})
end
end
return 0
end
@@ -229,14 +229,15 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_27017(context, evt)
if 27017 ~= evt.param1 then
if 27017 == evt.param1 then
else
if 0 == ScriptLib.TryRecordActivityPushTips(context, 2014016) then
ScriptLib.TryRecordActivityPushTips(context, 2014016)
ScriptLib.ShowClientTutorial(context, 1186, {})
end
end
return 0
end
@@ -222,14 +222,15 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_28020(context, evt)
if 28020 ~= evt.param1 then
if 28020 == evt.param1 then
else
if 0 == ScriptLib.TryRecordActivityPushTips(context, 2014017) then
ScriptLib.TryRecordActivityPushTips(context, 2014017)
ScriptLib.ShowClientTutorial(context, 1187, {})
end
end
return 0
end
@@ -209,14 +209,15 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_29015(context, evt)
if 29015 ~= evt.param1 then
if 29015 == evt.param1 then
else
if 0 == ScriptLib.TryRecordActivityPushTips(context, 2014017) then
ScriptLib.TryRecordActivityPushTips(context, 2014017)
ScriptLib.ShowClientTutorial(context, 1187, {})
end
end
return 0
end
@@ -217,14 +217,15 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_30015(context, evt)
if 30015 ~= evt.param1 then
if 30015 == evt.param1 then
else
if 0 == ScriptLib.TryRecordActivityPushTips(context, 2014017) then
ScriptLib.TryRecordActivityPushTips(context, 2014017)
ScriptLib.ShowClientTutorial(context, 1187, {})
end
end
return 0
end
@@ -104,8 +104,10 @@ suites = {
function action_EVENT_QUEST_START_35003(context, evt)
if 7902601 == evt.param1 then
ScriptLib.TryRecordActivityPushTips(context, 2014007)
ScriptLib.SetGroupVariableValue(context, "start", 3)
end
return 0
end
@@ -129,9 +131,11 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_35005(context, evt)
ScriptLib.GetHostQuestState(context,7902602)
if 2 == ScriptLib.GetHostQuestState(context,7902602) or 3 == ScriptLib.GetHostQuestState(context,7902602) then
ScriptLib.CreateGadget(context, {config_id=35002})
end
return 0
end
@@ -125,5 +125,6 @@ function action_EVENT_CUTSCENE_END_50004(context, evt)
if evt.param1 == 790271301 and evt.param2 == 1 then
ScriptLib.AddQuestProgress(context, "7902713finished")
end
return 0
end
@@ -210,8 +210,10 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_53011(context, evt)
ScriptLib.GetHostQuestState(context,7902613)
if 2 == ScriptLib.GetHostQuestState(context,7902613) then
ScriptLib.AddExtraGroupSuite(context, 0, 3)
end
return 0
end
@@ -78,5 +78,6 @@ function action_EVENT_ENTER_REGION_59002(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1018 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111183, { x = 490, y = 120, z = -713}, 150)
end
return 0
end
@@ -76,8 +76,10 @@ suites = {
-- 触发操作
function action_EVENT_ENTER_REGION_60002(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1019 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 598,y = 273,z = -513}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 598,y = 273,z = -513}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.ShowReminderRadius(context, 1111184, { x = 659, y = 120, z = -297}, 150)
end
return 0
end
@@ -110,9 +110,11 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_71005(context, evt)
ScriptLib.GetHostQuestState(context,7902603)
if 2 == ScriptLib.GetHostQuestState(context,7902603) or 3 == ScriptLib.GetHostQuestState(context,7902603) then
ScriptLib.CreateGadget(context, {config_id=71002})
end
return 0
end
@@ -111,9 +111,11 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_73005(context, evt)
ScriptLib.GetHostQuestState(context,7902603)
if 2 == ScriptLib.GetHostQuestState(context,7902603) or 3 == ScriptLib.GetHostQuestState(context,7902603) then
ScriptLib.CreateGadget(context, {config_id=73002})
end
return 0
end
@@ -110,9 +110,11 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_75005(context, evt)
ScriptLib.GetHostQuestState(context,7902603)
if 2 == ScriptLib.GetHostQuestState(context,7902603) or 3 == ScriptLib.GetHostQuestState(context,7902603) then
ScriptLib.CreateGadget(context, {config_id=75002})
end
return 0
end
@@ -125,9 +125,11 @@ end
-- 触发操作
function action_EVENT_GROUP_LOAD_77007(context, evt)
ScriptLib.GetHostQuestState(context,7902604)
if 2 == ScriptLib.GetHostQuestState(context,7902604) or 3 == ScriptLib.GetHostQuestState(context,7902604) then
ScriptLib.CreateGadget(context, {config_id=77002})
end
return 0
end
@@ -151,9 +151,13 @@ suites = {
-- 触发操作
function action_EVENT_GADGETTALK_DONE_106002(context, evt)
ScriptLib.SetGroupVariableValueByGroup(context, "state", 1, 199002143)
ScriptLib.SetGroupVariableValueByGroup(context, "state", 1, 199002140)
ScriptLib.SetGadgetTalkByConfigId(context, 199002140, 140001, 6800315)
ScriptLib.SetGadgetTalkByConfigId(context, 199002143, 143001, 6800317)
return 0
end
@@ -161,8 +165,10 @@ end
function action_EVENT_GADGET_STATE_CHANGE_106005(context, evt)
if evt.param2 == 106004 and ScriptLib.GetGadgetStateByConfigId(context, 0, 106004) == 201 then
ScriptLib.SetGroupVariableValue(context, "put", 1)
ScriptLib.SetGadgetTalkByConfigId(context, 199002106, 106001, 6800325)
end
return 0
end
@@ -379,6 +385,7 @@ function action_EVENT_GROUP_REFRESH_106043(context, evt)
ScriptLib.SetGadgetTalkByConfigId(context, 199002106, 106001, 6800313)
end
end
return 0
end
@@ -148,9 +148,13 @@ suites = {
-- 触发操作
function action_EVENT_GADGETTALK_DONE_140002(context, evt)
ScriptLib.SetGroupVariableValueByGroup(context, "state", 1, 199002106)
ScriptLib.SetGroupVariableValueByGroup(context, "state", 1, 199002143)
ScriptLib.SetGadgetTalkByConfigId(context, 199002106, 106001, 6800313)
ScriptLib.SetGadgetTalkByConfigId(context, 199002143, 143001, 6800317)
return 0
end
@@ -158,8 +162,10 @@ end
function action_EVENT_GADGET_STATE_CHANGE_140005(context, evt)
if evt.param2 == 140004 and ScriptLib.GetGadgetStateByConfigId(context, 0, 140004) == 201 then
ScriptLib.SetGroupVariableValue(context, "put", 1)
ScriptLib.SetGadgetTalkByConfigId(context, 199002140, 140001, 6800326)
end
return 0
end
@@ -376,6 +382,7 @@ function action_EVENT_GROUP_REFRESH_140041(context, evt)
ScriptLib.SetGadgetTalkByConfigId(context, 199002140, 140001, 6800315)
end
end
return 0
end
@@ -152,9 +152,13 @@ suites = {
-- 触发操作
function action_EVENT_GADGETTALK_DONE_143002(context, evt)
ScriptLib.SetGroupVariableValueByGroup(context, "state", 1, 199002106)
ScriptLib.SetGroupVariableValueByGroup(context, "state", 1, 199002140)
ScriptLib.SetGadgetTalkByConfigId(context, 199002106, 106001, 6800313)
ScriptLib.SetGadgetTalkByConfigId(context, 199002140, 140001, 6800315)
return 0
end
@@ -162,8 +166,10 @@ end
function action_EVENT_GADGET_STATE_CHANGE_143005(context, evt)
if evt.param2 == 143004 and ScriptLib.GetGadgetStateByConfigId(context, 0, 143004) == 201 then
ScriptLib.SetGroupVariableValue(context, "put", 1)
ScriptLib.SetGadgetTalkByConfigId(context, 199002143, 143001, 6800327)
end
return 0
end
@@ -368,6 +374,7 @@ function action_EVENT_GROUP_REFRESH_143045(context, evt)
ScriptLib.SetGadgetTalkByConfigId(context, 199002143, 143001, 6800317)
end
end
return 0
end
@@ -244,8 +244,10 @@ suites = {
function action_EVENT_GADGET_STATE_CHANGE_148003(context, evt)
if evt.param2 == 148002 and ScriptLib.GetGadgetStateByConfigId(context, 0, 148002) == 201 then
ScriptLib.SetGroupVariableValue(context, "put", 1)
ScriptLib.SetGadgetTalkByConfigId(context, 199002148, 148001, 6800349)
end
return 0
end
@@ -253,8 +255,10 @@ end
function action_EVENT_ENTER_REGION_148004(context, evt)
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
ScriptLib.SetGroupVariableValue(context, "reward", 1)
ScriptLib.SetGadgetTalkByConfigId(context, 199002148, 148001, 6800351)
end
return 0
end
@@ -418,9 +422,11 @@ function action_EVENT_GROUP_REFRESH_148143(context, evt)
ScriptLib.SetGadgetTalkByConfigId(context, 199002148, 148001, 6800349)
end
end
if ScriptLib.GetGroupVariableValue(context, "reward2") == 1 then
ScriptLib.CreateGadget(context, {config_id=148140})
end
return 0
end
@@ -91,17 +91,22 @@ suites = {
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_194006(context, evt)
if ScriptLib.CheckRemainGadgetCountByGroupId(context, {group_id=199002194 }) == 2 and ScriptLib.GetGroupVariableValue(context, "finish") == 0 then
if ScriptLib.CheckRemainGadgetCountByGroupId(context, {group_id=199002194 , gadget_id=0}) == 2 and ScriptLib.GetGroupVariableValue(context, "finish") == 0 then
ScriptLib.SetGroupVariableValue(context, "finish", 1)
ScriptLib.SetGadgetStateByConfigId(context,194005, GadgetState.Default)
ScriptLib.SetGadgetTalkByConfigId(context, 199002194, 194001, 6800357)
ScriptLib.GoToGroupSuite(context, 199002194, 2)
else
if ScriptLib.GetGroupVariableValue(context, "finish") == 0 and ScriptLib.GetGroupVariableValue(context, "time") == 0 then
ScriptLib.SetGroupVariableValue(context, "time", 1)
ScriptLib.InitTimeAxis(context, "temp", {2}, false)
end
end
return 0
end
@@ -109,10 +114,12 @@ end
function action_EVENT_GROUP_LOAD_194007(context, evt)
if ScriptLib.GetGroupVariableValue(context, "finish") == 1 then
ScriptLib.SetGadgetStateByConfigId(context,194005, GadgetState.Default)
ScriptLib.GoToGroupSuite(context, 199002194, 2)
else
ScriptLib.RefreshGroup(context, { suite=1})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=1})
end
return 0
end
@@ -251,5 +251,6 @@ function action_EVENT_GROUP_LOAD_2019(context, evt)
else
ScriptLib.SetGadgetStateByConfigId(context,2001, GadgetState.GearStop)
end
return 0
end
@@ -96,11 +96,16 @@ end
function action_EVENT_GADGET_STATE_CHANGE_6004(context, evt)
if ScriptLib.GetGadgetStateByConfigId(context, 0, 6001) == 201 and ScriptLib.GetGadgetStateByConfigId(context, 0, 6007) == 201 and ScriptLib.GetGadgetStateByConfigId(context, 0, 6005) == 201 then
ScriptLib.SetGroupVariableValueByGroup(context, "temp", 1, 199004050)
ScriptLib.SetGroupVariableValue(context, "temp", 2)
ScriptLib.SetGadgetStateByConfigId(context,6005, GadgetState.GearAction2)
ScriptLib.SetGadgetStateByConfigId(context,6007, GadgetState.GearAction2)
ScriptLib.AddQuestProgress(context, "Q7902529finish")
end
return 0
end
@@ -308,15 +308,22 @@ end
-- 触发操作
function action_EVENT_ENTER_REGION_14018(context, evt)
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) >= 1 then
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
ScriptLib.SetGroupVariableValue(context, "temp", 1)
ScriptLib.AddQuestProgress(context, "Q7902517finish")
ScriptLib.RemoveExtraGroupSuite(context, 199004014, 2)
ScriptLib.AddQuestProgress(context, "7902514fail")
ScriptLib.AddQuestProgress(context, "7902515fail")
ScriptLib.AddQuestProgress(context, "7902516fail")
ScriptLib.AddQuestProgress(context, "7902513fail")
end
return 0
end
@@ -102,6 +102,7 @@ function action_EVENT_LEVEL_TAG_CHANGE_27004(context, evt)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004027, 2)
end
return 0
end
@@ -110,5 +111,6 @@ function action_EVENT_GROUP_LOAD_27005(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1026 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 2)
end
return 0
end
@@ -90,6 +90,7 @@ function action_EVENT_LEVEL_TAG_CHANGE_28003(context, evt)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004028, 2)
end
return 0
end
@@ -98,5 +99,6 @@ function action_EVENT_GROUP_LOAD_28004(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 2)
end
return 0
end
@@ -77,7 +77,9 @@ suites = {
function action_EVENT_ENTER_REGION_30001(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1024 ) and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
ScriptLib.ShowReminderRadius(context, 1111172, { x = -156, y = 120, z = -466}, 150)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -341,y = 163,z = -629}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -341,y = 163,z = -629}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -77,7 +77,9 @@ suites = {
function action_EVENT_ENTER_REGION_32001(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1021 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111174, { x = -156, y = 120, z = -466}, 150)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -341,y = 163,z = -629}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -341,y = 163,z = -629}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -76,8 +76,10 @@ suites = {
-- 触发操作
function action_EVENT_ENTER_REGION_33001(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1025 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -341,y = 163,z = -629}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -341,y = 163,z = -629}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.ShowReminderRadius(context, 1111175, { x = -156, y = 120, z = -466}, 150)
end
return 0
end
@@ -78,20 +78,26 @@ function action_EVENT_ENTER_REGION_34001(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1021 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111176, { x = -360, y = 120, z = -641}, 270)
end
if ScriptLib.CheckSceneTag(context, 9,1021 ) and ScriptLib.CheckSceneTag(context, 9,1024 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111176, { x = -360, y = 120, z = -641}, 270)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111176, { x = -360, y = 120, z = -641}, 270)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111176, { x = -360, y = 120, z = -641}, 270)
end
if ScriptLib.CheckSceneTag(context, 9,1025 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111176, { x = -360, y = 120, z = -641}, 270)
end
if ScriptLib.CheckSceneTag(context, 9,1025 ) and ScriptLib.CheckSceneTag(context, 9,1024 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111176, { x = -360, y = 120, z = -641}, 270)
end
return 0
end
@@ -76,8 +76,10 @@ suites = {
-- 触发操作
function action_EVENT_ENTER_REGION_35001(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1012 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -710,y = 181,z = 19}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -710,y = 181,z = 19}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.ShowReminderRadius(context, 1111177, { x = -693, y = 120, z = 112}, 200)
end
return 0
end
@@ -87,8 +87,10 @@ function action_EVENT_ENTER_REGION_36002(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1013 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111179, { x = -846, y = 120, z = -175}, 150)
end
if ScriptLib.CheckSceneTag(context, 9,1012 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111179, { x = -846, y = 120, z = -175}, 150)
end
return 0
end
@@ -77,7 +77,9 @@ suites = {
function action_EVENT_ENTER_REGION_37002(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1013 ) and ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.GetPlayerVehicleType(context, context.uid) == 2 then
ScriptLib.ShowReminderRadius(context, 1111178, { x = -693, y = 120, z = 112}, 150)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -721,y = 231,z = -22.4}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -721,y = 231,z = -22.4}, duration = 3, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -78,5 +78,6 @@ function action_EVENT_ENTER_REGION_89002(context, evt)
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 and ScriptLib.TryRecordActivityPushTips(context, 2014008) == 0 then
ScriptLib.ShowClientTutorial(context, 1177, {})
end
return 0
end
@@ -324,10 +324,12 @@ function action_EVENT_LEVEL_TAG_CHANGE_97013(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1025 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 3)
end
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
end
return 0
end
@@ -341,39 +343,41 @@ function action_EVENT_GROUP_LOAD_97014(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1025 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 3)
end
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_97015(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1025 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004097, 3)
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_97016(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004097, 4)
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_97017(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.CheckSceneTag(context, 9,1025 ) and ScriptLib.GetGroupVariableValue(context, "finish") == 1 then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004097, 2)
end
return 0
end
@@ -219,23 +219,35 @@ end
function action_EVENT_GROUP_LOAD_113011(context, evt)
if ScriptLib.GetGroupVariableValueByGroup(context, "dq", 199004116) == 1 and ScriptLib.GetGroupVariableValueByGroup(context, "ly", 199004116) == 0 then
ScriptLib.SetGadgetStateByConfigId(context,113001, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113004, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113005, GadgetState.Default)
end
return 0
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_113012(context, evt)
if evt.param1 == evt.param2 then return -1 end
if ScriptLib.GetGroupVariableValue(context, "lock") == 1 then
ScriptLib.SetGadgetStateByConfigId(context,113001, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113004, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,113005, GadgetState.Default)
end
return 0
end
@@ -219,23 +219,35 @@ end
function action_EVENT_GROUP_LOAD_114011(context, evt)
if ScriptLib.GetGroupVariableValueByGroup(context, "dq", 199004116) == 1 and ScriptLib.GetGroupVariableValueByGroup(context, "md", 199004116) == 0 then
ScriptLib.SetGadgetStateByConfigId(context,114001, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114004, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114005, GadgetState.Default)
end
return 0
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_114012(context, evt)
if evt.param1 == evt.param2 then return -1 end
if ScriptLib.GetGroupVariableValue(context, "lock") == 1 then
ScriptLib.SetGadgetStateByConfigId(context,114001, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114004, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,114005, GadgetState.Default)
end
return 0
end
@@ -197,7 +197,8 @@ suites = {
-- 触发操作
function action_EVENT_GROUP_LOAD_116003(context, evt)
ScriptLib.SetPlatformPointArray(context, 116015, 900400011, {1}, {route_type=RouteType.OneWay, record_mode=RouteRecordMode.Prereach})
ScriptLib.SetPlatformPointArray(context, 116015, 900400011, {1}, {route_type=RouteType.OneWay, turn_mode=false, record_mode=RouteRecordMode.Prereach, speed_level=0, arrive_range=0})
return 0
end
@@ -261,46 +262,58 @@ end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_116010(context, evt)
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "md") == 1 and ScriptLib.GetGroupVariableValue(context, "ly") == 1 and ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.RefreshGroup(context, { suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
ScriptLib.AddExtraGroupSuite(context, 0, 2)
else
if evt.param2 == 7 then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "ly") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400009)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
end
end
else
if evt.param2 == 8 then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "md") == 1 and ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400010)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
end
end
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "dq") == 0 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
end
else
@@ -309,6 +322,7 @@ function action_EVENT_LEVEL_TAG_CHANGE_116010(context, evt)
end
end
end
return 0
end
@@ -321,13 +335,16 @@ function action_EVENT_GADGET_CREATE_116011(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) then
if ScriptLib.GetGroupVariableValue(context, "ly") == 1 and ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400009)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
end
end
@@ -335,24 +352,30 @@ function action_EVENT_GADGET_CREATE_116011(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) then
if ScriptLib.GetGroupVariableValue(context, "md") == 1 and ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400010)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
end
end
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "dq") == 0 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
end
else
@@ -362,39 +385,49 @@ function action_EVENT_GADGET_CREATE_116011(context, evt)
end
end
end
return 0
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_116012(context, evt)
if evt.param1 == evt.param2 then return -1 end
if evt.source_name == "ly" or evt.source_name == "md" or evt.source_name == "dq" then
if ScriptLib.GetGroupVariableValue(context, "ly") == 1 and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "md") == 1 then
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 2)
end
if ScriptLib.GetGroupVariableValue(context, "talk") ~= 3 then
if ScriptLib.GetGroupVariableValue(context, "talk") == 3 then
ScriptLib.SetGroupVariableValue(context, "talk", 3)
ScriptLib.ShowReminder(context, 1111369)
end
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "ly") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "ly") == 0 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400009)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "md") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "md") == 0 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400010)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1024 ) then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
end
end
@@ -403,58 +436,72 @@ function action_EVENT_VARIABLE_CHANGE_116012(context, evt)
end
end
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_116014(context, evt)
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "md") == 1 and ScriptLib.GetGroupVariableValue(context, "ly") == 1 and ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.RefreshGroup(context, { suite=2})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=2})
ScriptLib.AddExtraGroupSuite(context, 0, 2)
if ScriptLib.GetGroupVariableValue(context, "talk") == 3 then
else
ScriptLib.SetGroupVariableValue(context, "talk", 3)
ScriptLib.ShowReminder(context, 1111369)
end
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "ly") == 1 and ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400009)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
end
end
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "md") == 1 and ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
else
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400010)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
end
end
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
if ScriptLib.GetGroupVariableValue(context, "dq") == 0 then
ScriptLib.SetPlatformRouteId(context, 116013, 900400011)
ScriptLib.StartPlatform(context, 116013)
else
ScriptLib.SetPlatformRouteId(context, 116013, 900400031)
ScriptLib.StartPlatform(context, 116013)
end
else
@@ -463,6 +510,7 @@ function action_EVENT_GROUP_LOAD_116014(context, evt)
end
end
end
return 0
end
@@ -489,37 +537,50 @@ end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_116017(context, evt)
if evt.param1 == evt.param2 then return -1 end
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.CheckSceneTag(context, 9,1026 ) then
ScriptLib.SetGroupVariableValueByGroup(context, "lock", 1, 199004113)
end
if ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.SetGroupVariableValueByGroup(context, "lock", 1, 199004114)
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_116018(context, evt)
ScriptLib.SetGadgetStateByConfigId(context,116015, GadgetState.GearStart)
return 0
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_116019(context, evt)
if evt.param1 == evt.param2 then return -1 end
if evt.param1 == 1 and ScriptLib.GetGroupVariableValue(context, "talk") == 0 then
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1024 ) then
ScriptLib.SetGroupVariableValue(context, "talk", 1)
ScriptLib.ShowReminder(context, 1111363)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.SetGroupVariableValue(context, "talk", 2)
ScriptLib.ShowReminder(context, 1111367)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) then
ScriptLib.SetGroupVariableValue(context, "talk", 2)
ScriptLib.ShowReminder(context, 1111367)
end
end
return 0
end
@@ -527,17 +588,22 @@ end
function action_EVENT_ENTER_REGION_116020(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1024 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "talk") == 0 then
ScriptLib.ShowReminder(context, 1111363)
ScriptLib.SetGroupVariableValue(context, "talk", 1)
else
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "talk") == 1 then
ScriptLib.ShowReminder(context, 1111365)
ScriptLib.SetGroupVariableValue(context, "talk", 2)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1026 ) and ScriptLib.GetGroupVariableValue(context, "dq") == 1 and ScriptLib.GetGroupVariableValue(context, "talk") == 1 then
ScriptLib.ShowReminder(context, 1111365)
ScriptLib.SetGroupVariableValue(context, "talk", 2)
end
end
return 0
end
@@ -122,7 +122,8 @@ suites = {
-- 触发操作
function action_EVENT_GROUP_LOAD_170003(context, evt)
ScriptLib.RefreshGroup(context, { suite=1})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=1})
return 0
end
@@ -286,15 +287,19 @@ function action_EVENT_LEVEL_TAG_CHANGE_170011(context, evt)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004170, 4)
end
ScriptLib.AddExtraGroupSuite(context, 0, 3)
return 0
end
-- 触发操作
function action_EVENT_GROUP_REFRESH_170012(context, evt)
ScriptLib.AddExtraGroupSuite(context, 0, 3)
if ScriptLib.CheckSceneTag(context, 9,1024 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
return 0
end
@@ -318,32 +318,41 @@ end
function action_EVENT_LEVEL_TAG_CHANGE_206012(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1025 ) then
ScriptLib.SetGroupVariableValue(context, "temp", 0)
ScriptLib.AddExtraGroupSuite(context, 0, 4)
if ScriptLib.GetGroupVariableValue(context, "start") == 1 then
ScriptLib.KillEntityByConfigId(context, {group_id=199004206, config_id=206010, entity_type=EntityType.GADGET})
end
else
ScriptLib.RemoveExtraGroupSuite(context, 199004206, 4)
end
ScriptLib.AddExtraGroupSuite(context, 0, 3)
return 0
end
-- 触发操作
function action_EVENT_GROUP_REFRESH_206013(context, evt)
ScriptLib.AddExtraGroupSuite(context, 0, 3)
if ScriptLib.CheckSceneTag(context, 9,1025 ) then
ScriptLib.SetGroupVariableValue(context, "temp", 0)
ScriptLib.AddExtraGroupSuite(context, 0, 4)
if ScriptLib.GetGroupVariableValue(context, "start") == 1 then
ScriptLib.KillEntityByConfigId(context, {group_id=199004206, config_id=206010, entity_type=EntityType.GADGET})
end
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_206014(context, evt)
ScriptLib.RefreshGroup(context, { suite=1})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=1})
return 0
end
@@ -272,10 +272,14 @@ end
function action_EVENT_GADGET_STATE_CHANGE_216014(context, evt)
if evt.param2 == 216003 and evt.param1 == 201 then
ScriptLib.ActiveChallenge(context, 666, 2030, defs.duration, 2, 218, 8)
ScriptLib.AddExtraGroupSuite(context, 0, 2)
ScriptLib.MarkPlayerAction(context, 3002, 1, 1)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -423,10 +427,14 @@ end
function action_EVENT_GADGET_STATE_CHANGE_216022(context, evt)
if evt.param2 == 216017 and evt.param1 == 201 then
ScriptLib.ActiveChallenge(context, 666, 2030, defs.duration, 2, 218, 8)
ScriptLib.AddExtraGroupSuite(context, 0, 2)
ScriptLib.MarkPlayerAction(context, 3002, 1, 1)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
@@ -437,19 +445,19 @@ function action_EVENT_LEVEL_TAG_CHANGE_216024(context, evt)
else
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
if evt.param1 == 9 or evt.param1 == 11 then
else
ScriptLib.AddExtraGroupSuite(context, 0, 5)
end
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
if evt.param1 == 7 or evt.param1 == 13 then
else
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
end
end
return 0
end
@@ -592,33 +600,46 @@ end
function action_EVENT_GADGET_STATE_CHANGE_216030(context, evt)
if evt.param2 == 216049 and evt.param1 == 201 and ScriptLib.GetGroupVariableValue(context, "temp") == 0 then
ScriptLib.SetGroupVariableValue(context, "temp", 1)
ScriptLib.SetGadgetStateByConfigId(context,216052, GadgetState.GearStart)
ScriptLib.ActiveChallenge(context, 666, 2030, defs.duration, 2, 218, 8)
ScriptLib.AddExtraGroupSuite(context, 0, 2)
ScriptLib.MarkPlayerAction(context, 3002, 1, 1)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
if evt.param2 == 216052 and evt.param1 == 201 and ScriptLib.GetGroupVariableValue(context, "temp") == 0 then
ScriptLib.SetGroupVariableValue(context, "temp", 1)
ScriptLib.SetGadgetStateByConfigId(context,216049, GadgetState.GearStart)
ScriptLib.ActiveChallenge(context, 666, 2030, defs.duration, 2, 218, 8)
ScriptLib.AddExtraGroupSuite(context, 0, 2)
ScriptLib.MarkPlayerAction(context, 3002, 1, 1)
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = -323.5,y = 131.4594,z = -611.4}, duration = 2, is_force = false, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos =false, follow_pos = {x=0,y=0,z=0}, is_force_walk =true, is_change_play_mode = true, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.KEEP_ROT_X, custom_radius = 0})
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_216032(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 5)
end
if ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 5)
end
return 0
end
@@ -750,10 +771,12 @@ function action_EVENT_LEVEL_TAG_CHANGE_216039(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 8)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 7)
end
end
return 0
end
@@ -765,10 +788,12 @@ function action_EVENT_GROUP_LOAD_216040(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 8)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 7)
end
end
return 0
end
@@ -777,93 +802,109 @@ function action_EVENT_GADGET_CREATE_216041(context, evt)
if evt.param1 == 216001 then
if ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 9)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 4)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 5)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 6)
else
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 8)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 6)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 5)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 4)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 7)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 6)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 5)
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 4)
end
end
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_216043(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.CheckSceneTag(context, 9,1023 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 6)
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_216044(context, evt)
ScriptLib.SetGroupVariableValue(context, "temp", 0)
if ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 6)
else
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 5)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
end
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 2)
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_216045(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 4)
end
if ScriptLib.CheckSceneTag(context, 9,1023 ) and ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 4)
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_216046(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) and ScriptLib.CheckSceneTag(context, 9,1023 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 9)
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_216047(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 8)
end
return 0
end
-- 触发操作
function action_EVENT_LEVEL_TAG_CHANGE_216048(context, evt)
if ScriptLib.CheckSceneTag(context, 9,1023 ) then
else
ScriptLib.RemoveExtraGroupSuite(context, 199004216, 7)
end
return 0
end
@@ -183,8 +183,9 @@ end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_217011(context, evt)
if ScriptLib.GetGroupVariableValue(context, "chest") == 0 and evt.source_name == "temp" and evt.param1 == 1 then
ScriptLib.RefreshGroup(context, {group_id=199004217, suite=1})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=1})
end
return 0
end
@@ -192,7 +193,9 @@ end
function action_EVENT_GROUP_LOAD_217012(context, evt)
if ScriptLib.GetGroupVariableValue(context, "chest") == 0 then
ScriptLib.RemoveExtraGroupSuite(context, 199004217, 2)
ScriptLib.CreateGadget(context, {config_id=217002})
end
return 0
end
@@ -124,7 +124,8 @@ suites = {
-- 触发操作
function action_EVENT_GROUP_LOAD_218003(context, evt)
ScriptLib.RefreshGroup(context, { suite=1})
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=1})
return 0
end
@@ -295,15 +296,19 @@ function action_EVENT_LEVEL_TAG_CHANGE_218012(context, evt)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004218, 4)
end
ScriptLib.AddExtraGroupSuite(context, 0, 3)
return 0
end
-- 触发操作
function action_EVENT_GROUP_REFRESH_218013(context, evt)
ScriptLib.AddExtraGroupSuite(context, 0, 3)
if ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
return 0
end
@@ -124,16 +124,19 @@ function action_EVENT_LEVEL_TAG_CHANGE_219008(context, evt)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004219, 2)
end
if ScriptLib.GetGroupVariableValue(context, "chest2") == 0 and ScriptLib.CheckSceneTag(context, 9,1024 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 3)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004219, 3)
end
if ScriptLib.GetGroupVariableValue(context, "chest3") == 0 and ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
else
ScriptLib.RemoveExtraGroupSuite(context, 199004219, 4)
end
return 0
end
@@ -142,19 +145,25 @@ function action_EVENT_GROUP_LOAD_219009(context, evt)
if ScriptLib.GetGroupVariableValue(context, "chest1") == 0 and ScriptLib.CheckSceneTag(context, 9,1025 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 2)
end
if ScriptLib.GetGroupVariableValue(context, "chest2") == 0 and ScriptLib.CheckSceneTag(context, 9,1024 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 3)
end
if ScriptLib.GetGroupVariableValue(context, "chest3") == 0 and ScriptLib.CheckSceneTag(context, 9,1022 ) then
ScriptLib.AddExtraGroupSuite(context, 0, 4)
end
return 0
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_219010(context, evt)
if evt.param1 == evt.param2 then return -1 end
if ScriptLib.GetGroupVariableValue(context, "chest1") == 1 and ScriptLib.GetGroupVariableValue(context, "chest2") == 1 and ScriptLib.GetGroupVariableValue(context, "chest3") == 1 then
ScriptLib.GoToGroupSuite(context, 199004219, 5)
end
return 0
end
File diff suppressed because it is too large Load Diff