Mystic Doors review + Togglable SrvMessage-BossHP + Map-Event patch
Reviewed Mystic Doors. Fixed several issues showing up on Duey in uncommon scenarios. Fixed a concurrency issue with XMLDomMapleData. Scheduled forward the "lock disposal" action within the source. Now, it's expected that, after a set while, no method should require usage of a disposed lock and, during that while, a supposed "disposed lock" is still available to run (although no new processes is expected to require use of these locks). Fixed concurrency issues with player's current event instance, generating several inconsistencies when swiftly registering/unregistering from events. Implemented a mutually exclusive approach for server message - Boss HPbar. Fixed item-making Kage requiring lv71~80 ETC instead of the expected 81~90. Removed the possibility to buy cosmetic coupons with mesos through the NPCs. Sleepywood JQ's no longer gives cash items when they finish the quest repeatedly. Added Duey trucks in several maps lacking it. Added NPC Duey in New Leaf City. Fixed scripted quests not calculating QUEST_RATE (if applied) when rewarding experience and meso.
This commit is contained in:
@@ -41,12 +41,9 @@ function action(mode, type, selection) {
|
||||
} else {
|
||||
status++;
|
||||
if (status == 0)
|
||||
cm.sendSimple("I'm the head of this hair salon. If you have a #b#t5150001##k or a #b#t5151001##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150001##t5150001##l\r\n#L2#Dye your hair: #i5151001##t5151001##l");
|
||||
cm.sendSimple("I'm the head of this hair salon. If you have a #b#t5150001##k or a #b#t5151001##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150001##t5150001##l\r\n#L2#Dye your hair: #i5151001##t5151001##l");
|
||||
else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150001##t5150001##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151001##t5151001##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm Brittany the assistant. If you have #b#t5150010##k or #b#t5151000##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150010##t5150010##l\r\n#L2#Dye your hair: #i5151000##t5151000##l");
|
||||
cm.sendSimple("I'm Brittany the assistant. If you have #b#t5150010##k or #b#t5151000##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150010##t5150010##l\r\n#L2#Dye your hair: #i5151000##t5151000##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150010##t5150010##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151000##t5151000##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -47,17 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Well, hello! Welcome to the Henesys Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152001##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152001##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to the Henesys Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152001##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152001, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++)
|
||||
|
||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152000##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152000##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152000##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152000, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hello! I'm Don Giovanni, head of the beauty salon! If you have either #b#t5150003##k or #b#t5151003##k, why don't you let me take care of the rest? Decide what you want to do with your hair...\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150003##t5150003##l\r\n#L2#Dye your hair: #i5151003##t5151003##l");
|
||||
cm.sendSimple("Hello! I'm Don Giovanni, head of the beauty salon! If you have either #b#t5150003##k or #b#t5151003##k, why don't you let me take care of the rest? Decide what you want to do with your hair...\r\n#L1#Haircut: #i5150003##t5150003##l\r\n#L2#Dye your hair: #i5151003##t5151003##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150003##t5150003##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151003##t5151003##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm Andre, Don's assistant. Everyone calls me Andre, though. If you have a #b#t5150011##k or a #b#t5151002##k, please let me change your hairdo!\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150011##t5150011##l\r\n#L2#Dye your hair: #i5151002##t5151002##l");
|
||||
cm.sendSimple("I'm Andre, Don's assistant. Everyone calls me Andre, though. If you have a #b#t5150011##k or a #b#t5151002##k, please let me change your hairdo!\r\n#L1#Haircut: #i5150011##t5150011##l\r\n#L2#Dye your hair: #i5151002##t5151002##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150011##t5150011##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151002##t5151002##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -27,11 +27,11 @@ var selectedMap = -1;
|
||||
|
||||
function start() {
|
||||
cm.sendNext("You feel a mysterious force surrounding this statue.");
|
||||
if (cm.isQuestStarted(2054))
|
||||
if (cm.isQuestStarted(2054) || cm.isQuestCompleted(2054))
|
||||
zones = 3;
|
||||
else if (cm.isQuestStarted(2053))
|
||||
else if (cm.isQuestStarted(2053) || cm.isQuestCompleted(2053))
|
||||
zones = 2;
|
||||
else if (cm.isQuestStarted(2052))
|
||||
else if (cm.isQuestStarted(2052) || cm.isQuestCompleted(2052))
|
||||
zones = 1;
|
||||
else
|
||||
zones = 0;
|
||||
|
||||
@@ -21,29 +21,29 @@
|
||||
*/
|
||||
/* John JQ Flower pile #1
|
||||
*/
|
||||
|
||||
var repeatablePrizes = [[4010000, 3], [4010001, 3], [4010002, 3], [4010003, 3], [4010004, 3], [4010005, 3]];
|
||||
|
||||
function start() {
|
||||
var prizes = Array(1040051, 1040127, 1040128, 1040133, 1040138, 1041000, 1041001, 1041110, 1041130, 1041139, 1042015, 1042017, 1042023, 1702001, 1702025);
|
||||
var chances = Array(10, 10, 10, 10, 5, 10, 10, 10, 10, 5, 8, 8, 8, 9, 7);
|
||||
var totalodds = 0;
|
||||
var choice = 0;
|
||||
for (var i = 0; i < chances.length; i++) {
|
||||
var itemGender = (Math.floor(prizes[i]/1000)%10);
|
||||
if ((cm.getPlayer().getGender() != itemGender) && (itemGender != 2))
|
||||
chances[i] = 0;
|
||||
}
|
||||
for (var i = 0; i < chances.length; i++)
|
||||
totalodds += chances[i];
|
||||
var randomPick = Math.floor(Math.random()*totalodds)+1;
|
||||
for (var i = 0; i < chances.length; i++) {
|
||||
randomPick -= chances[i];
|
||||
if (randomPick <= 0) {
|
||||
choice = i;
|
||||
randomPick = totalodds + 100;
|
||||
if (cm.isQuestStarted(2052) && !cm.haveItem(4031025,10)) {
|
||||
if(!cm.canHold(4031025,10)) {
|
||||
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (cm.isQuestStarted(2052))
|
||||
|
||||
cm.gainItem(4031025,10);
|
||||
else cm.gainItem(prizes[choice],1);
|
||||
} else {
|
||||
if(cm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.ETC).getNumFreeSlot() < 1) {
|
||||
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
var itemPrize = repeatablePrizes[Math.floor((Math.random() * repeatablePrizes.length))];
|
||||
cm.gainItem(itemPrize[0], itemPrize[1]);
|
||||
}
|
||||
|
||||
cm.warp(105040300, 0);
|
||||
cm.dispose();
|
||||
}
|
||||
@@ -21,29 +21,29 @@
|
||||
|
||||
/* John JQ Flower pile #2
|
||||
*/
|
||||
|
||||
var repeatablePrizes = [[4020000, 4], [4020002, 4], [4020006, 4]];
|
||||
|
||||
function start() {
|
||||
var prizes = Array(1060034, 1060040, 1060049, 1060113, 1060121, 1061000, 1061001, 1061073, 1061089, 1061142, 1062010, 1062020, 1702140, 1702115);
|
||||
var chances = Array(10, 10, 10, 10, 5, 10, 10, 10, 10, 5, 8, 8, 8, 8);
|
||||
var totalodds = 0;
|
||||
var choice = 0;
|
||||
for (var i = 0; i < chances.length; i++) {
|
||||
var itemGender = (Math.floor(prizes[i]/1000)%10);
|
||||
if ((cm.getPlayer().getGender() != itemGender) && (itemGender != 2))
|
||||
chances[i] = 0;
|
||||
}
|
||||
for (var i = 0; i < chances.length; i++)
|
||||
totalodds += chances[i];
|
||||
var randomPick = Math.floor(Math.random()*totalodds)+1;
|
||||
for (var i = 0; i < chances.length; i++) {
|
||||
randomPick -= chances[i];
|
||||
if (randomPick <= 0) {
|
||||
choice = i;
|
||||
randomPick = totalodds + 100;
|
||||
if (cm.isQuestStarted(2053) && !cm.haveItem(4031026,20)) {
|
||||
if(!cm.canHold(4031026,20)) {
|
||||
cm.sendNext("Check for a available slot on your ETC inventory.")
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (cm.isQuestStarted(2053))
|
||||
|
||||
cm.gainItem(4031026,20);
|
||||
else cm.gainItem(prizes[choice],1);
|
||||
} else {
|
||||
if(cm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.ETC).getNumFreeSlot() < 1) {
|
||||
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
var itemPrize = repeatablePrizes[Math.floor((Math.random() * repeatablePrizes.length))];
|
||||
cm.gainItem(itemPrize[0], itemPrize[1]);
|
||||
}
|
||||
|
||||
cm.warp(105040300, 0);
|
||||
cm.dispose();
|
||||
}
|
||||
@@ -19,31 +19,31 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// John JQ Flower pile #3
|
||||
/* John JQ Flower pile #3
|
||||
*/
|
||||
|
||||
var repeatablePrizes = [[4010006, 4], [4010007, 4], [4020007, 4]];
|
||||
|
||||
function start() {
|
||||
var prizes = Array(1050004, 1050015, 1050041, 1050044, 1050124, 1051021, 1051036, 1051075, 1051111, 1051138, 1052003, 1052006, 1052011, 1702024, 1702026);
|
||||
var chances = Array(10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 9, 9, 8, 8);
|
||||
var totalodds = 0;
|
||||
var choice = 0;
|
||||
for (var i = 0; i < chances.length; i++) {
|
||||
var itemGender = (Math.floor(prizes[i]/1000)%10);
|
||||
if (cm.getPlayer().getGender() != itemGender && itemGender != 2)
|
||||
chances[i] = 0;
|
||||
}
|
||||
for (var i = 0; i < chances.length; i++)
|
||||
totalodds += chances[i];
|
||||
var randomPick = Math.floor(Math.random()*totalodds)+1;
|
||||
for (var i = 0; i < chances.length; i++) {
|
||||
randomPick -= chances[i];
|
||||
if (randomPick <= 0) {
|
||||
choice = i;
|
||||
randomPick = totalodds + 100;
|
||||
if (cm.isQuestStarted(2054) && !cm.haveItem(4031028,30)) {
|
||||
if(!cm.canHold(4031028,30)) {
|
||||
cm.sendNext("Check for a available slot on your ETC inventory.")
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (cm.isQuestStarted(2054))
|
||||
|
||||
cm.gainItem(4031028,30);
|
||||
else cm.gainItem(prizes[choice],1);
|
||||
} else {
|
||||
if(cm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.ETC).getNumFreeSlot() < 1) {
|
||||
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
var itemPrize = repeatablePrizes[Math.floor((Math.random() * repeatablePrizes.length))];
|
||||
cm.gainItem(itemPrize[0], itemPrize[1]);
|
||||
}
|
||||
|
||||
cm.warp(105040300, 0);
|
||||
cm.dispose();
|
||||
}
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hello I'm Mino. If you have either a #b#t5150005##k or a #b#t5151005##k, then please let me take care of your hair. Choose what you want to do with it.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150005##t5150005##l\r\n#L2#Dye your hair: #i5151005##t5151005##l");
|
||||
cm.sendSimple("Hello I'm Mino. If you have either a #b#t5150005##k or a #b#t5151005##k, then please let me take care of your hair. Choose what you want to do with it.\r\n#L1#Haircut: #i5150005##t5150005##l\r\n#L2#Dye your hair: #i5151005##t5151005##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150005##t5150005##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151005##t5151005##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Well well well, welcome to the Orbis Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152005##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152005##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well well well, welcome to the Orbis Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152005##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152005, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++) {
|
||||
|
||||
@@ -31,7 +31,7 @@ var fhair = Array(31040, 31000, 31250, 31220, 31260, 31240, 31110, 31270, 31030,
|
||||
var hairnew = Array();
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("I'm Rinz, the assistant. Do you have #b#t5150013##k or #b#t5151004##k with you? If so, what do you think about letting me take care of your hairdo? What do you want to do with your hair?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150013##t5150013##l\r\n#L2#Dye your hair: #i5151004##t5151004##l");
|
||||
cm.sendSimple("I'm Rinz, the assistant. Do you have #b#t5150013##k or #b#t5151004##k with you? If so, what do you think about letting me take care of your hairdo? What do you want to do with your hair?\r\n#L1#Haircut: #i5150013##t5150013##l\r\n#L2#Dye your hair: #i5151004##t5151004##l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -40,10 +40,7 @@ function action(mode, type, selection) {
|
||||
else {
|
||||
status++;
|
||||
if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150013##t5150013##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151004##t5151004##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
|
||||
@@ -27,7 +27,7 @@ var price = 1000000;
|
||||
var skin = Array(0, 1, 2, 3, 4);
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("Well, hello! Welcome to the Orbis Skin-Care~! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153001##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L1#I would like to buy a #b#t5153001##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to the Orbis Skin-Care~! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153001##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -43,15 +43,7 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5153001, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
cm.dispose();
|
||||
} else if (selection == 2)
|
||||
if (selection == 2)
|
||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||
}
|
||||
else if (status == 2){
|
||||
|
||||
@@ -30,7 +30,7 @@ var fface = Array(21000, 21001, 21002, 21003, 21004, 21005, 21006, 21007, 21008,
|
||||
var facenew = Array();
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152004##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152004##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152004##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -39,15 +39,7 @@ function action(mode, type, selection) {
|
||||
} else {
|
||||
status++;
|
||||
if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if (cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152004, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
for (var i = 0; i < mface.length; i++)
|
||||
@@ -59,13 +51,15 @@ function action(mode, type, selection) {
|
||||
}
|
||||
}
|
||||
else if (status == 2){
|
||||
cm.dispose();
|
||||
if (cm.haveItem(5152004)){
|
||||
cm.gainItem(5152004, -1);
|
||||
cm.setFace(facenew[Math.floor(Math.random() * facenew.length)]);
|
||||
cm.sendOk("Enjoy your new and improved face!");
|
||||
} else
|
||||
} else {
|
||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Well, I'm bored, so I'll help out the doctor. For a #b#t5152006##k, I will change the way you look. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152006##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, I'm bored, so I'll help out the doctor. For a #b#t5152006##k, I will change the way you look. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152006, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Welcome, welcome, welcome to the Ludibrium Hair Salon! Do you, by any chance, have a #b#t5150007##k or a #b#t5151007##k? If so, how about letting me take care of your hair? Please choose what you want to do with it...\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150007##t5150007##l\r\n#L2#Dye your hair: #i5151007##t5151007##l");
|
||||
cm.sendSimple("Welcome, welcome, welcome to the Ludibrium Hair Salon! Do you, by any chance, have a #b#t5150007##k or a #b#t5151007##k? If so, how about letting me take care of your hair? Please choose what you want to do with it...\r\n#L1#Haircut: #i5150007##t5150007##l\r\n#L2#Dye your hair: #i5151007##t5151007##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150007##t5150007##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151007##t5151007##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hi, I'm the assistant here. Don't worry, I'm plenty good enough for this. If you have #b#t5150012##k or #b#t5151006##k by any chance, then allow me to take care of the rest, alright?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150012##t5150012##l\r\n#L2#Dye your hair: #i5151006##t5151006##l");
|
||||
cm.sendSimple("Hi, I'm the assistant here. Don't worry, I'm plenty good enough for this. If you have #b#t5150012##k or #b#t5151006##k by any chance, then allow me to take care of the rest, alright?\r\n#L1#Haircut: #i5150012##t5150012##l\r\n#L2#Dye your hair: #i5151006##t5151006##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150012##t5150012##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151006##t5151006##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Well, hello! Welcome to the Ludibrium Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152007##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152007##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to the Ludibrium Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152007##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152007, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++) {
|
||||
|
||||
@@ -41,18 +41,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Oh, hello! Welcome to the Ludibrium Skin-Care! Are you interested in getting tanned and looking sexy? How about a beautiful, snow-white skin? If you have #b#t5153002##k, you can let us take care of the rest and have the kind of skin you've always dreamed of!\r\n#L1#I would like to buy a #b#t5153002##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5153002, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
cm.sendSimple("Oh, hello! Welcome to the Ludibrium Skin-Care! Are you interested in getting tanned and looking sexy? How about a beautiful, snow-white skin? If you have #b#t5153002##k, you can let us take care of the rest and have the kind of skin you've always dreamed of!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 2) {
|
||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ var fhair = Array(31040, 31250, 31310, 31220, 31300, 31680, 31160, 31030, 31230)
|
||||
var hairnew = Array();
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("Welcome to the Mu Lung hair shop. If you have a #b#t5150025##k, or a #b#t5151020##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150025##t5150025##l\r\n#L2#Dye your hair: #i5151020##t5151020##l");
|
||||
cm.sendSimple("Welcome to the Mu Lung hair shop. If you have a #b#t5150025##k, or a #b#t5151020##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150025##t5150025##l\r\n#L2#Dye your hair: #i5151020##t5151020##l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -47,10 +47,7 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150025##t5150025##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151020##t5151020##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm a hair assistant in this shop. If you have #b#t5150024##k or #b#t5151019##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150024##t5150024##l\r\n#L2#Dye your hair: #i5151019##t5151019##l");
|
||||
cm.sendSimple("I'm a hair assistant in this shop. If you have #b#t5150024##k or #b#t5151019##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150024##t5150024##l\r\n#L2#Dye your hair: #i5151019##t5151019##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150024##t5150024##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151019##t5151019##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -44,18 +44,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Well, hello! Welcome to the Mu Lung Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153006##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L1#I would like to buy a #b#t5153006##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to the Mu Lung Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153006##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5153006, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hey, I'm Pata, and I am a cosmetic lens expert here in Mu Lung. I believe your eyes are the most important feature in your body, and with #b#t5152042##k or #b#t5152041##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152042##t5152042##l\r\n#L2#Cosmetic Lenses: #i5152041##t5152041##l");
|
||||
cm.sendSimple("Hey, I'm Pata, and I am a cosmetic lens expert here in Mu Lung. I believe your eyes are the most important feature in your body, and with #b#t5152042##k or #b#t5152041##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152042##t5152042##l\r\n#L2#Cosmetic Lenses: #i5152041##t5152041##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152042##t5152042##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152041##t5152041##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
var current = cm.getPlayer().getFace()
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hey, I'm Noma, and I am assiting Pata in changing faces into beautiful things here in Mu Lung. With #b#t5152027##k or #b#t5152028##k, I can change the way you look. Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Plastic Surgery: #i5152027##t5152027##l\r\n#L2#Plastic Surgery: #i5152028##t5152028##l");
|
||||
cm.sendSimple("Hey, I'm Noma, and I am assiting Pata in changing faces into beautiful things here in Mu Lung. With #b#t5152027##k or #b#t5152028##k, I can change the way you look. Now, what would you like to use?\r\n#L1#Plastic Surgery: #i5152027##t5152027##l\r\n#L2#Plastic Surgery: #i5152028##t5152028##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Plastic Surgery for " + regprice + " mesos: #i5152027##t5152027##l\r\n#L1#Plastic Surgery for " + vipprice + " mesos: #i5152028##t5152028##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -111,8 +111,8 @@ function action(mode, type, selection) {
|
||||
var matQtySet = [[5,5],[5,5,5],[5,5,5,5,1],[5,5],[5,5,5],[5,5,5,5,1],[1,1],[1,1],[1,1],[1,1]];
|
||||
var costSet = [100000,200000,300000,125000,250000,375000,500000,500000,500000,500000, 25000, 25000, 25000, 25000];
|
||||
}else if (selectedType == 2) { //eye accessory refine
|
||||
var matSet = [[4001006, 4003002, 4000082, 4031203], [4000073, 4011008], [4000073, 4011008], [4000073, 4011008, 4000082], [4001006, 4003002, 4003000, 4003001]];
|
||||
var matQtySet = [[2, 2, 5, 10], [50, 2], [75, 3], [75, 3, 10], [2, 2, 10, 5]];
|
||||
var matSet = [[4001006, 4003002, 4000082, 4031203], [4001005, 4011008], [4001005, 4011008], [4001005, 4011008, 4000082], [4001006, 4003002, 4003000, 4003001]];
|
||||
var matQtySet = [[2, 2, 5, 10], [3, 2], [4, 3], [5, 3, 10], [2, 2, 10, 5]];
|
||||
var costSet = [250000, 250000, 300000, 400000, 200000];
|
||||
}else if (selectedType == 3) { //belt & medals refine
|
||||
var matSet = [[4001006, 4003005, 4003004], [7777, 7777]];
|
||||
|
||||
@@ -68,7 +68,7 @@ function action(m,t,s) {
|
||||
cm.sendNext("Welcome! I heard what happened from Baby Moon Bunny I'm glad you came since I was Planning on requesting some help. Gaga is a friend of mine who has helped me before and often stops by to say hello. Unfortunaley, he was kidnapped by aliens.");
|
||||
} else {
|
||||
selected = 2;
|
||||
cm.sendYesNo("At the Space Mine, you can find special ores called #bKrypto Crystals#k that contain the mysterious power of space. #bKrypto Crystals#l are usually emerald in color, but will turn brown if hit with the Spaceship's #bSpace Beam#k. Remember, in order to thwart this alien conspracy, #b10 Brown Krypto Crystal's and 10 Emerald Krypto Crystal's are needed. But since even #b1 Krypto Crystal#k can be of help, brign me as many as possible. Oh, and one more thing! The Space Mines are protected by the Space Mateons. They are extemely strong due to the power of the #Krypto Crystals#k, so don't try to defeat them. Simply concentrate on quickly collecting the crystals.");
|
||||
cm.sendYesNo("At the Space Mine, you can find special ores called #bKrypto Crystals#k that contains the mysterious power of space. #bKrypto Crystals#l are usually emerald in color, but will turn brown if hit with the Spaceship's #bSpace Beam#k. Remember, in order to thwart this alien conspracy, #b10 Brown Krypto Crystal's and 10 Emerald Krypto Crystal's are needed. But since even #b1 Krypto Crystal#k can be of help, brign me as many as possible. Oh, and one more thing! The Space Mines are protected by the Space Mateons. They are extemely strong due to the power of the #Krypto Crystals#k, so don't try to defeat them. Simply concentrate on quickly collecting the crystals.");
|
||||
}
|
||||
} else if (status == 2) {
|
||||
if(selected == 1) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Welcome to the Showa hair shop. If you have a #b#t5150009##k, or a #b#t5151009##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
||||
cm.sendSimple("Welcome to the Showa hair shop. If you have a #b#t5150009##k, or a #b#t5151009##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150009##t5150009##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151009##t5151009##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm the head of Showa hair salon. If you have a #b#t5150009##k or a #b#t5151009##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
||||
cm.sendSimple("I'm the head of Showa hair salon. If you have a #b#t5150009##k or a #b#t5151009##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150009##t5150009##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151009##t5151009##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -44,12 +44,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0)
|
||||
cm.sendSimple("Hi, there~! I'm Dr. Lenu, in charge of the cosmetic lenses here at the Henesys Plastic Surgery Shop! With #b#t5152010##k or #b#t5152013##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152010##t5152010##l\r\n#L2#Cosmetic Lenses: #i5152013##t5152013##l");
|
||||
cm.sendSimple("Hi, there~! I'm Dr. Lenu, in charge of the cosmetic lenses here at the Henesys Plastic Surgery Shop! With #b#t5152010##k or #b#t5152013##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152010##t5152010##l\r\n#L2#Cosmetic Lenses: #i5152013##t5152013##l");
|
||||
else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152010##t5152010##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152013##t5152013##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
var current = cm.getPlayer().getFace()% 100 + 20000;
|
||||
|
||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hello, I'm Dr. Rhomes, head of the cosmetic lens department here at the Orbis Plastic Surgery Shop.\r\nMy goal here is to add personality to everyone's eyes through the wonders of cosmetic lenses, and with #b#t5152011##k or #b#t5152014##k, I can do the same for you, too! Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152011##t5152011##l\r\n#L2#Cosmetic Lenses: #i5152014##t5152014##l");
|
||||
cm.sendSimple("Hello, I'm Dr. Rhomes, head of the cosmetic lens department here at the Orbis Plastic Surgery Shop.\r\nMy goal here is to add personality to everyone's eyes through the wonders of cosmetic lenses, and with #b#t5152011##k or #b#t5152014##k, I can do the same for you, too! Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152011##t5152011##l\r\n#L2#Cosmetic Lenses: #i5152014##t5152014##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152011##t5152011##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152014##t5152014##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
var current = cm.getPlayer().getFace()
|
||||
|
||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Um... hi, I'm Dr. Bosch, and I am a cosmetic lens expert here at the Ludibrium Plastic Surgery Shop. I believe your eyes are the most important feature in your body, and with #b#t5152012##k or #b#t5152015##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152012##t5152012##l\r\n#L2#Cosmetic Lenses: #i5152015##t5152015##l");
|
||||
cm.sendSimple("Um... hi, I'm Dr. Bosch, and I am a cosmetic lens expert here at the Ludibrium Plastic Surgery Shop. I believe your eyes are the most important feature in your body, and with #b#t5152012##k or #b#t5152015##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152012##t5152012##l\r\n#L2#Cosmetic Lenses: #i5152015##t5152015##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152012##t5152012##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152015##t5152015##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Welcome to the Amoria hair shop. If you have a #b#t5150020##k, or a #b#t5151017##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150020##t5150020##l\r\n#L2#Dye your hair: #i5151017##t5151017##l");
|
||||
cm.sendSimple("Welcome to the Amoria hair shop. If you have a #b#t5150020##k, or a #b#t5151017##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150020##t5150020##l\r\n#L2#Dye your hair: #i5151017##t5151017##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150020##t5150020##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151017##t5151017##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
||||
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150019##t5150019##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151016##t5151016##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
@@ -145,12 +142,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
||||
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150019##t5150019##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151016##t5151016##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hi, there~! I'm Dr.Roberts, in charge of the cosmetic lenses here at the Amoria Plastic Surgery Shop! With #b#t5152025##k or #b#t5152026##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152025##t5152025##l\r\n#L2#Cosmetic Lenses: #i5152026##t5152026##l");
|
||||
cm.sendSimple("Hi, there~! I'm Dr.Roberts, in charge of the cosmetic lenses here at the Amoria Plastic Surgery Shop! With #b#t5152025##k or #b#t5152026##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152025##t5152025##l\r\n#L2#Cosmetic Lenses: #i5152026##t5152026##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152025##t5152025##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152026##t5152026##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||
|
||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Well, hello! Welcome to Amoria Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152022##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152022##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to Amoria Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152022##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152022, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++) {
|
||||
|
||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152021##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152021##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152021##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152021, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
for(var i = 0; i < mface.length; i++) {
|
||||
|
||||
@@ -44,18 +44,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hi, there~! I'm Bomack. If you have a #b#t5152035##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to do?\r\n#L1#I would like to buy a #b#t5152035##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Hi, there~! I'm Bomack. If you have a #b#t5152035##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to do?\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152035, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||
}
|
||||
|
||||
@@ -44,18 +44,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("Hey, there~! I'm J.J.! I'm in charge of the cosmetic lenses here at NLC Shop! If you have a #b#t5152036##k, I can get you the best cosmetic lenses you have ever had! Now, what would you like to do?\r\n#L1#I would like to buy a #b#t5152036##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Hey, there~! I'm J.J.! I'm in charge of the cosmetic lenses here at NLC Shop! If you have a #b#t5152036##k, I can get you the best cosmetic lenses you have ever had! Now, what would you like to do?\r\n#L2#I already have a Coupon!#l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152036, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else {
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
}
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||
}
|
||||
|
||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 0) {
|
||||
cm.sendSimple("I'm Ari the assistant. If you have #b#t5150030##k or #b#t5151025##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150030##t5150030##l\r\n#L2#Dye your hair: #i5151025##t5151025##l");
|
||||
cm.sendSimple("I'm Ari the assistant. If you have #b#t5150030##k or #b#t5151025##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150030##t5150030##l\r\n#L2#Dye your hair: #i5151025##t5151025##l");
|
||||
} else if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150030##t5150030##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151025##t5151025##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0) {
|
||||
|
||||
@@ -31,7 +31,7 @@ var fhair = Array(31150, 31310, 31220, 31300, 31260, 31160, 31730, 31410, 31410)
|
||||
var hairnew = Array();
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("I'm the head of this hair salon Mani. If you have a #b#t5150031##k or a #b#t5151026##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150031##t5150031##l\r\n#L2#Dye your hair: #i5151026##t5151026##l");
|
||||
cm.sendSimple("I'm the head of this hair salon Mani. If you have a #b#t5150031##k or a #b#t5151026##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150031##t5150031##l\r\n#L2#Dye your hair: #i5151026##t5151026##l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -47,10 +47,7 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1) {
|
||||
if (selection == 0) {
|
||||
beauty = 0;
|
||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150031##t5150031##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151026##t5151026##l");
|
||||
} else if (selection == 1) {
|
||||
if (selection == 1) {
|
||||
beauty = 1;
|
||||
hairnew = Array();
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
|
||||
@@ -27,7 +27,7 @@ var price = 1000000;
|
||||
var skin = Array(0, 1, 2, 3, 4);
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("Well, hello! Welcome to the NLC Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153009##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L1#I would like to buy a #b#t5153009##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to the NLC Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153009##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -43,25 +43,19 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5153009, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
cm.dispose();
|
||||
} else if (selection == 2)
|
||||
if (selection == 2)
|
||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||
}
|
||||
else if (status == 2){
|
||||
cm.dispose();
|
||||
if (cm.haveItem(5153009)){
|
||||
cm.gainItem(5153009, -1);
|
||||
cm.setSkin(skin[selection]);
|
||||
cm.sendOk("Enjoy your new and improved skin!");
|
||||
} else
|
||||
} else {
|
||||
cm.sendOk("Um...you don't have the skin-care coupon you need to receive the treatment. Sorry, but I am afraid we can't do it for you...");
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -30,7 +30,7 @@ var fface = Array(21001, 21002, 21003, 21004, 21005, 21006, 21008, 21012, 21014,
|
||||
var facenew = Array();
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("Well, hello! Welcome to the New Leaf City Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152034##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152034##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Well, hello! Welcome to the New Leaf City Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152034##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -46,15 +46,7 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152034, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
for(var i = 0; i < mface.length; i++)
|
||||
@@ -66,13 +58,15 @@ function action(mode, type, selection) {
|
||||
}
|
||||
}
|
||||
else if (status == 2){
|
||||
cm.dispose();
|
||||
if (cm.haveItem(5152034)){
|
||||
cm.gainItem(5152034, -1);
|
||||
cm.setFace(facenew[selection]);
|
||||
cm.sendOk("Enjoy your new and improved face!");
|
||||
} else
|
||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||
} else {
|
||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ var fface = Array(21001, 21002, 21003, 21004, 21005, 21006, 21008, 21012, 21014,
|
||||
var facenew = Array();
|
||||
|
||||
function start() {
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152033##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152033##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152033##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
@@ -47,15 +47,7 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1) {
|
||||
if (selection == 1) {
|
||||
if(cm.getMeso() >= price) {
|
||||
cm.gainMeso(-price);
|
||||
cm.gainItem(5152033, 1);
|
||||
cm.sendOk("Enjoy!");
|
||||
} else
|
||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
||||
cm.dispose();
|
||||
} else if (selection == 2) {
|
||||
if (selection == 2) {
|
||||
facenew = Array();
|
||||
if (cm.getPlayer().getGender() == 0)
|
||||
for(var i = 0; i < mface.length; i++)
|
||||
@@ -66,13 +58,15 @@ function action(mode, type, selection) {
|
||||
cm.sendYesNo("If you use the regular coupon, your face may transform into a random new look...do you still want to do it using #b#t5152033##k?");
|
||||
}
|
||||
} else if (status == 2){
|
||||
cm.dispose();
|
||||
if (cm.haveItem(5152033)){
|
||||
cm.gainItem(5152033, -1);
|
||||
cm.setFace(facenew[Math.floor(Math.random() * facenew.length)]);
|
||||
cm.sendOk("Enjoy your new and improved face!");
|
||||
} else
|
||||
} else {
|
||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ function start() {
|
||||
if (inMap[i] == cm.getPlayer().getMap().getId()) {
|
||||
if(inMap[i] == 550000000) {
|
||||
toMap[1][1] = cm.getPlayer().peekSavedLocation("WORLDTOUR");
|
||||
if(toMap[1][1] == -1) toMap[1][1] = 541000000;
|
||||
}
|
||||
|
||||
location = i;
|
||||
@@ -116,6 +117,7 @@ function action(mode, type, selection) {
|
||||
}
|
||||
else {
|
||||
travelMap = cm.getPlayer().getSavedLocation("WORLDTOUR");
|
||||
if(travelMap == -1) travelMap = toMap[1][1];
|
||||
}
|
||||
|
||||
cm.warp(travelMap, travelSp);
|
||||
|
||||
@@ -115,6 +115,7 @@ function writeFeatureTab_MonstersMapsReactors() {
|
||||
addFeature("Implemented Zombify disease status.");
|
||||
addFeature("Added Boss HP Bar for dozens of bosses.");
|
||||
addFeature("Game will favor showing the targeted boss HPbar.");
|
||||
addFeature("Boss HPBar & Srv Message toggle - GabrielSin's idea.");
|
||||
addFeature("Dmg overtime on maps and neutralizers functional.");
|
||||
addFeature("Items will consistently stay within the walking area.");
|
||||
addFeature("Boats, elevator and other travel mechanics functional.");
|
||||
|
||||
Reference in New Issue
Block a user