Reformat and clean up npc scripts

This commit is contained in:
P0nk
2021-09-09 23:35:02 +02:00
parent 0c1545f81d
commit d893309b4f
665 changed files with 19932 additions and 19046 deletions

View File

@@ -20,15 +20,15 @@
*/
/**
-- Odin JavaScript --------------------------------------------------------------------------------
Xinga - Pilot
-- By ---------------------------------------------------------------------------------------------
Information
-- Version Info -----------------------------------------------------------------------------------
1.0 - First Version by Information
2.0 - Second Version by Jayd
---------------------------------------------------------------------------------------------------
**/
-- Odin JavaScript --------------------------------------------------------------------------------
Xinga - Pilot
-- By ---------------------------------------------------------------------------------------------
Information
-- Version Info -----------------------------------------------------------------------------------
1.0 - First Version by Information
2.0 - Second Version by Jayd
---------------------------------------------------------------------------------------------------
**/
var status = 0;
@@ -38,16 +38,17 @@ function start() {
function action(mode, type, selection) {
if (mode != 1) {
if (mode == 0)
if (mode == 0) {
cm.sendOk("Please hold on for a sec, and plane will be taking off. Thanks for your patience.");
}
cm.dispose();
return;
}
status++;
if (status == 1) {
cm.sendNext("The ticket is not refundable, hope to see you again!");
} else if(status == 2){
cm.warp(103000000);
cm.dispose();
} else if (status == 2) {
cm.warp(103000000);
cm.dispose();
}
}