Added some CWKPQ imports for the server. Enabled basic mechanics for a run, but still WIP.
12 lines
269 B
JavaScript
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;
|
|
}
|
|
}
|
|
|