Reformat and clean up portal scripts
This commit is contained in:
@@ -18,14 +18,16 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
Author: kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
if (!pi.isQuestCompleted(21011)) {
|
||||
pi.message("You must complete the quest before proceeding to the next map..");
|
||||
return false;
|
||||
}
|
||||
pi.playPortalSound(); pi.warp(140090300, 1);
|
||||
return true;
|
||||
if (!pi.isQuestCompleted(21011)) {
|
||||
pi.message("You must complete the quest before proceeding to the next map..");
|
||||
return false;
|
||||
}
|
||||
pi.playPortalSound();
|
||||
pi.warp(140090300, 1);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user