Added Mysterious Cookie Shop NPC (#7915)

* NPC who opens several barter shops. Each shop exchange mileage coupons (obtainable via events, cash shop) to etc costume stones (used to enchant costumes) or costumes.

Thanks to @Lemongrass3110 !
This commit is contained in:
Atemo 2023-09-07 15:11:20 +02:00 committed by GitHub
parent f4fa967991
commit cdf377e071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2116 additions and 0 deletions

View File

@ -59,3 +59,4 @@ Footer:
- Path: npc/re/merchants/barters/rgsr_in.yml
- Path: npc/re/merchants/barters/enchan_illusion_dungeons.yml
- Path: npc/re/merchants/barters/quests_exp_175.yml
- Path: npc/re/merchants/barters/mysterious_cookie_shop.yml

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,96 @@
//===== rAthena Script =======================================
//= Mysterious Cookie Shop
//===== Changelogs: ==========================================
//= 1.0 Initial version from replays. [Capuche]
//============================================================
malangdo,124,152,3 script Mysterious Cookie Shop#stone 4_COOKIEHOUSE,{
mes "[Mysterious Cookie Shop]";
mes "" + mesitemlink(7000) + " can be exchanged for anything you crave.";
next;
switch( select( "^4d4dffTop^000000 Stones", "^1C8008Middle^000000 Stones", "^ff0000Lower^000000 Stones", "^9905d8Garment^000000 Stones", "^8B4513Dual and effect^000000 Stones", "^9905d8Costumes^000000 on the ¡Ùclo¡Úthe¡Ùsline¡Ú" ) ) {
case 1:
mes "[Mysterious Cookie Shop]";
mes "Let's see what stones you can turn into with your mileage!";
close2;
callshop( "barter_stone_top" );
end;
case 2:
mes "[Mysterious Cookie Shop]";
mes "Let's see what stones you can turn into with your mileage!";
close2;
callshop( "barter_stone_mid" );
end;
case 3:
mes "[Mysterious Cookie Shop]";
mes "Let's see what stones you can turn into with your mileage!";
close2;
callshop( "barter_stone_low" );
end;
case 4:
mes "[Mysterious Cookie Shop]";
mes "Let's see what stones you can turn into with your mileage!";
close2;
callshop( "barter_stone_garment" );
end;
case 5:
mes "[Mysterious Cookie Shop]";
mes "Let's see what stones you can turn into with your mileage!";
close2;
callshop( "barter_stone_dual" );
end;
case 6:
mes "[Mysterious Cookie Shop]";
mes "Use the mileage you have to shake off the clothesline where all kinds of clothes are hanging!";
next;
switch( select( "First clothesline", "Second clothesline" ) ) {
case 1:
callshop( "barter_costume_1" );
end;
case 2:
callshop( "barter_costume_2" );
end;
}
}
}
malangdo,116,152,3 script Fashion Stone Mannequin#Models1 HIDDEN_NPC,{
end;
OnInit:
.@npc_id = getnpcid(0);
setunitdata .@npc_id, UNPC_CLASS, JOB_MINSTREL;
setunitdata .@npc_id, UNPC_SEX, 1;
setunitdata .@npc_id, UNPC_HAIRSTYLE, 30;
end;
}
malangdo,118,152,3 script Fashion Stone Mannequin#Models2 HIDDEN_NPC,{
end;
OnInit:
.@npc_id = getnpcid(0);
setunitdata .@npc_id, UNPC_CLASS, JOB_CARDINAL;
setunitdata .@npc_id, UNPC_CLOTHCOLOR, 3;
setunitdata .@npc_id, UNPC_HAIRSTYLE, 27;
setunitdata .@npc_id, UNPC_HEADTOP, 1550;
end;
}
malangdo,120,152,3 script Fashion Stone Mannequin#Models3 HIDDEN_NPC,{
end;
OnInit:
.@npc_id = getnpcid(0);
setunitdata .@npc_id, UNPC_CLASS, JOB_BIOLO;
setunitdata .@npc_id, UNPC_SEX, 1;
setunitdata .@npc_id, UNPC_HAIRSTYLE, 27;
end;
}
malangdo,122,152,7 script Fashion Stone Mannequin#Models4 HIDDEN_NPC,{
end;
OnInit:
.@npc_id = getnpcid(0);
setunitdata .@npc_id, UNPC_CLASS, JOB_MECHANIC;
setunitdata .@npc_id, UNPC_SEX, 1;
setunitdata .@npc_id, UNPC_HAIRSTYLE, 27;
end;
}

View File

@ -152,6 +152,7 @@ npc: npc/re/merchants/InfiniteSpace_merchants.txt
npc: npc/re/merchants/inn.txt
npc: npc/re/merchants/malangdo_costume.txt
npc: npc/re/merchants/moro_cav_exchange.txt
npc: npc/re/merchants/mysterious_cookie_shop.txt
npc: npc/re/merchants/new_insurance.txt
npc: npc/re/merchants/nightmare_biolab.txt
npc: npc/re/merchants/novice_vending_machine.txt