Reformat and clean up npc scripts
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
Rosey (On Train) 2041001
|
||||
**/
|
||||
Rosey (On Train) 2041001
|
||||
**/
|
||||
|
||||
var status = 0;
|
||||
|
||||
@@ -38,13 +38,15 @@ function action(mode, type, selection) {
|
||||
cm.dispose();
|
||||
} else {
|
||||
if (status == 1) {
|
||||
cm.sendNext ("Alright, see you next time. Take care.");
|
||||
cm.sendNext("Alright, see you next time. Take care.");
|
||||
status++;
|
||||
} else if (status == 2) {
|
||||
if (cm.getPlayer().getMapId() == 200000122)
|
||||
cm.warp(200000121, 0);// back to orbis
|
||||
else
|
||||
cm.warp(220000110,0);// back to Ludi
|
||||
if (cm.getPlayer().getMapId() == 200000122) {
|
||||
cm.warp(200000121, 0);
|
||||
}// back to orbis
|
||||
else {
|
||||
cm.warp(220000110, 0);
|
||||
}// back to Ludi
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user