mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-23 14:32:27 +08:00
更新配置表
This commit is contained in:
@@ -146,8 +146,9 @@ end
|
||||
-- 触发操作
|
||||
function action_EVENT_GROUP_LOAD_6003(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007211) == 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
|
||||
|
||||
|
||||
@@ -84,11 +84,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_8003(context, evt)
|
||||
if 8001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007205")
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8001, 405)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138008, config_id=8005, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138008, config_id=8006, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -96,10 +101,14 @@ 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.SetGadgetStateByConfigId(context,8001, GadgetState.Default)
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=8005})
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=8006})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -127,7 +136,9 @@ end
|
||||
function action_EVENT_ENTER_REGION_8008(context, evt)
|
||||
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
|
||||
ScriptLib.TryRecordActivityPushTips(context, 2014014)
|
||||
|
||||
ScriptLib.ShowClientTutorial(context, 1189, {})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -82,11 +82,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_9003(context, evt)
|
||||
if 9001 == evt.param1 and 105 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007207")
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9001, 105)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9001, GadgetState.ChestFrozen)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138009, config_id=9006, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138009, config_id=9007, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -94,10 +99,14 @@ 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)
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=9006})
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=9007})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -82,11 +82,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_10003(context, evt)
|
||||
if 10001 == evt.param1 and 204 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007215")
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, 204)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, GadgetState.GearAction2)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138010, config_id=10006, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138010, config_id=10007, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -94,10 +99,14 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_10004(context, evt)
|
||||
if 10001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, GadgetState.Default)
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=10006})
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=10007})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -82,11 +82,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_11003(context, evt)
|
||||
if 11001 == evt.param1 and 206 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007216")
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11001, 206)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138011, config_id=11006, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138011, config_id=11007, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -94,10 +99,14 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_11004(context, evt)
|
||||
if 11001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,11001, GadgetState.Default)
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=11006})
|
||||
|
||||
ScriptLib.CreateGadget(context, {config_id=11007})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -124,11 +124,16 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_12022(context, evt)
|
||||
if 12001 == evt.param1 and 605 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish1", 1, 220138022)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138012, config_id=12015, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138012, config_id=12016, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -133,9 +133,13 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_13016(context, evt)
|
||||
if 13001 == evt.param1 and 604 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,13002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish2", 1, 220138022)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,13001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,13001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138013, config_id=13006, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -133,10 +133,15 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_14015(context, evt)
|
||||
if 14001 == evt.param1 and 605 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,14004, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish3", 1, 220138022)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,14001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,14001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138014, config_id=14008, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138014, config_id=14009, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -453,10 +453,14 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_15017(context, evt)
|
||||
if 15015 == evt.param1 and 404 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,15016, GadgetState.GearStart)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,15015, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,15015, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138015, config_id=15023, entity_type=EntityType.GADGET})
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220138015, config_id=15027, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -573,8 +577,9 @@ end
|
||||
-- 触发操作
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_15024(context, evt)
|
||||
if 15015 == evt.param1 and 0 == 0 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,15014, 102)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,15014, GadgetState.ChestOpened)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -71,7 +71,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 4,
|
||||
@@ -168,7 +171,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 5,
|
||||
@@ -219,7 +225,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 6,
|
||||
@@ -293,7 +302,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 7,
|
||||
@@ -367,7 +379,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 8,
|
||||
@@ -441,7 +456,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 9,
|
||||
@@ -492,7 +510,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 10,
|
||||
@@ -543,7 +564,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 11,
|
||||
@@ -594,7 +618,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 12,
|
||||
@@ -645,7 +672,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 13,
|
||||
@@ -742,7 +772,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 14,
|
||||
@@ -885,7 +918,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 15,
|
||||
@@ -959,6 +995,9 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user