mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 22:42:26 +08:00
更新配置表
This commit is contained in:
@@ -130,8 +130,9 @@ end
|
||||
-- 触发操作
|
||||
function action_EVENT_GROUP_LOAD_4003(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007116) == 3 or ScriptLib.GetGroupVariableValue(context, "doorOpen") == 1 then
|
||||
ScriptLib.RefreshGroup(context, { suite=3})
|
||||
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=3})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -233,8 +234,10 @@ end
|
||||
function action_EVENT_GROUP_LOAD_4008(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007116) == 3 then
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "DoorOpen", 1, 220137015)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137015, 15001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -242,7 +245,9 @@ end
|
||||
function action_EVENT_GROUP_REFRESH_4009(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007116) == 3 then
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "DoorOpen", 1, 220137015)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137015, 15001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -81,9 +81,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_6003(context, evt)
|
||||
if 6001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,6002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007104")
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,6001, 405)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -111,8 +114,10 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_6005(context, evt)
|
||||
if 6001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,6002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,6001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -120,7 +125,9 @@ end
|
||||
function action_EVENT_ENTER_REGION_6006(context, evt)
|
||||
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
|
||||
ScriptLib.TryRecordActivityPushTips(context, 2014013)
|
||||
|
||||
ScriptLib.ShowClientTutorial(context, 1188, {})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -82,9 +82,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_7004(context, evt)
|
||||
if 7001 == evt.param1 and 305 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7001, 305)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -92,9 +95,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_7005(context, evt)
|
||||
if 7001 == evt.param1 and 205 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7001, 205)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -102,9 +108,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_7006(context, evt)
|
||||
if 7001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -80,9 +80,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_8003(context, evt)
|
||||
if 8001 == evt.param1 and 205 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137009, 9001, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8001, 205)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -90,9 +93,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_8004(context, evt)
|
||||
if 8001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137009, 9001, GadgetState.ChestLocked)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -80,9 +80,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_9003(context, evt)
|
||||
if 9001 == evt.param1 and 205 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007108")
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9001, 205)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -90,8 +93,10 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_9004(context, evt)
|
||||
if 9001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -80,9 +80,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_10003(context, evt)
|
||||
if 10001 == evt.param1 and 605 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish1", 1, 220137021)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, GadgetState.ChestOpened)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -79,9 +79,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_11003(context, evt)
|
||||
if 11001 == evt.param1 and 605 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish2", 1, 220137021)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11001, GadgetState.ChestOpened)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -79,9 +79,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_12003(context, evt)
|
||||
if 12001 == evt.param1 and 605 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish3", 1, 220137021)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12001, GadgetState.ChestOpened)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -79,10 +79,14 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_13003(context, evt)
|
||||
if 13001 == evt.param1 and 205 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,13002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007116")
|
||||
ScriptLib.SetGadgetStateByConfigId(context,13001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,13001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "towerPosition", 1, 220137005)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -87,9 +87,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_16006(context, evt)
|
||||
if 16001 == evt.param1 or 205 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.GearStop)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.ChestLocked)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16001, 205)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -97,9 +100,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_16007(context, evt)
|
||||
if 16002 == evt.param1 and 205 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.ChestLocked)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16002, 205)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -107,9 +113,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_16008(context, evt)
|
||||
if 16001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -117,9 +126,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_16009(context, evt)
|
||||
if 16002 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -48,7 +48,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 2,
|
||||
@@ -168,7 +171,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 3,
|
||||
@@ -219,7 +225,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 4,
|
||||
@@ -316,7 +325,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 5,
|
||||
@@ -390,7 +402,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 6,
|
||||
@@ -418,7 +433,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 7,
|
||||
@@ -446,7 +464,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 8,
|
||||
@@ -497,7 +518,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 9,
|
||||
@@ -548,7 +572,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 10,
|
||||
@@ -599,7 +626,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 12,
|
||||
@@ -696,7 +726,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 13,
|
||||
@@ -747,6 +780,9 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user