Ludibrium PQ + MapleIdRetriever
Implemented LPQ. New application tool that realizes fetches by names and returns respective ids, over all items depicted in the GM handbook.
This commit is contained in:
@@ -24,16 +24,17 @@ LudiPQ - 1 - 2 Portal
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
var nextMap = 922010500;
|
||||
var eim = pi.getPlayer().getEventInstance()
|
||||
var nextMap = 922010600;
|
||||
var eim = pi.getPlayer().getEventInstance();
|
||||
var target = eim.getMapInstance(nextMap);
|
||||
var targetPortal = target.getPortal("st00");
|
||||
// only let people through if the eim is ready
|
||||
var avail = eim.getProperty("4stageclear");
|
||||
var avail = eim.getProperty("5stageclear");
|
||||
if (avail == null) {
|
||||
// can't go thru eh?
|
||||
pi.getPlayer().dropMessage(5, "Some seal is blocking this door.");
|
||||
return false; }
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
pi.getPlayer().changeMap(target, targetPortal);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user