Overall wedding implementation
Implementation of the wedding feature.
This commit is contained in:
@@ -19,51 +19,11 @@
|
||||
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/>.
|
||||
*/
|
||||
/* victora
|
||||
by Angel (get31720 ragezone)
|
||||
/* Victoria
|
||||
by Ronan
|
||||
*/
|
||||
|
||||
var wui = 0;
|
||||
|
||||
function start() {
|
||||
cm.sendSimple ("Welcome to the Cathedral. What would you like to do? \r\n#L0##bI need invitations for my guests#k #l\r\n#L1##bI'd like to prepare a wedding#k #l\r\n#L2##bCan you explain how I should prepare a wedding?#k #l\r\n#L3##bI am either the groom or bride and I'd like to go in#k #l\r\n#L4##bI am a guest and I'd like to go in#k #l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
cm.sendOk("Welcome to the Cathedral.\r\n\r\n#bCouples#k wanting to marry on the Cathedral should first #barrange a reservation#k with #r#p9201005##k. When the arranged time comes #bboth#k must show up here, on the same channel from the reservation, and start the ceremony (there is a 10-minutes fault policy to this) by talking to #r#p9201002##k. Once arranged, both can #bdistribute tickets#k to friends or acquainteds to become the guests for the marriage.\r\n\r\nThe ceremony will start accepting #bguests#k after the groom and the bride has entered the building. Show the #b#t4000313##k to #r#p9201005##k to access the inner rooms. No one without a ticket is allowed to enter the stage!");
|
||||
cm.dispose();
|
||||
if (selection == 0) {
|
||||
if (cm.haveItem(4214002)) {
|
||||
cm.sendNext("Alright here are you invitations make sure your guest have them or they can't come in!");
|
||||
cm.gainItem(4031395,10);
|
||||
|
||||
} else {
|
||||
cm.sendOk("Sorry but please make sure you have your premium wedding receipt or you won't be able to have your wedding");
|
||||
status = 9;
|
||||
}
|
||||
} else if (selection == 1) {
|
||||
if (cm.haveItem(5251003)) {
|
||||
cm.sendNext("Alright, I'll give you your premium wedding receipt and make sure you don't lose it! If you lose your receipt you won't be able to get invitations or enter the cathedral!");
|
||||
cm.gainItem(4214002,1);
|
||||
} else if (selection == 2) {
|
||||
cm.sendNext("Have both the bride and groom buy a premium cathedral wedding ticket from the cash shop. Then ask me to prepare your wedding and i'll give you a wedding receipt. Talk to me if you want invitations so other guests can join. When you're ready just have everyone come to me and i'll let you or the guests in. Inside Debbie will warp you out to Amoria if you chose to leave. Nicole will warp you to the next map.");
|
||||
} else if (selection == 3) {
|
||||
if (cm.haveItem(4214002)) {
|
||||
cm.sendNext("Okay go on in. Once you're ready click the Priest and he'll get you married.");
|
||||
cm.warp(680000210, 2);
|
||||
} else {
|
||||
cm.sendOk("Sorry but you don't have a wedding receipt.");
|
||||
status = 9;
|
||||
}
|
||||
} else if (selection == 4) {
|
||||
if (cm.haveItem(4031395)) {
|
||||
cm.sendNext("Okay go on in. Once the bride and groom is ready click Nicole on the bottom to warp to the next map. Or use Debbie to leave to Amoria.");
|
||||
cm.warp(680000210,0);
|
||||
|
||||
} else {
|
||||
cm.sendOk("Sorry but you don't have a premium wedding invitation.");
|
||||
status = 9;
|
||||
}
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user