Files
sweetgum-server/scripts/portal/enter_earth01.js
2021-09-09 23:35:59 +02:00

10 lines
250 B
JavaScript

function enter(pi) {
if (!pi.haveItem(4031890)) {
pi.getPlayer().dropMessage(6, "You need a warp card to activate this portal.");
return false;
}
pi.playPortalSound();
pi.warp(120000101, "earth01");
return true;
}