Files
sweetgum-server/scripts/portal/glpqPortal0.js
ronancpl a7beff1bb4 CWKPQ inclusion
Added some CWKPQ imports for the server. Enabled basic mechanics for a
run, but still WIP.
2017-06-26 01:34:56 -03:00

12 lines
269 B
JavaScript

function enter(pi) {
if (pi.getEventInstance().getIntProperty("glpq1") == 0) {
pi.getEventInstance().dropMessage(5, "This path is currently blocked.");
return false;
} else {
pi.warp(610030200, 0);
return true;
}
}