Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LornaScript : NpcScript
- {
- public override void Load()
- {
- SetRace(10001);
- SetName("_tutorial_lorna");
- SetBody(height: 0.4f);
- SetFace(skinColor: 16, eyeType: 27, eyeColor: 43, mouthType: 89);
- if (IsEventActive("aura_thanksgiving_event"))
- SetLocation(14, 35436, 34343, 29);
- EquipItem(Pocket.Face, 3936, 0x00770000, 0x003C61AC, 0x00DCEFE4);
- EquipItem(Pocket.Hair, 3022, 0x004070A0, 0x004070A0, 0x004070A0);
- EquipItem(Pocket.Armor, 15026, 0x00B0C0FF, 0x00FFFFFF, 0x00103080);
- EquipItem(Pocket.Shoe, 17002, 0x003F463E, 0x00FFD912, 0x00D7E584);
- EquipItem(Pocket.Head, 18016, 0x00103080, 0x007E4D01, 0x00FAB757);
- EquipItem(Pocket.RightHand1, 40393, 0x00808080, 0x00808080, 0x00808080);
- EquipItem(Pocket.RightHand2, 40004, 0x00000000, 0x00000000, 0x00A09030);
- EquipItem(Pocket.LeftHand1, 40394, 0x00808080, 0x00808080, 0x00808080);
- AddPhrase("WHAT DID YOU SAY?!");
- AddPhrase("I think I ate too much turkey...");
- AddPhrase("Lets make a feast for all of Uladh.");
- AddPhrase("Hello, I'm Lorna Rissa.");
- AddPhrase("Ahaha, he he, Haah..");
- AddPhrase("My heart is pounding.");
- AddPhrase("Inhale. Exhale.");
- }
- protected override async Task Talk()
- {
- SetBgm("NPC_LornaPan.mp3");
- await Intro(L("A petite girl in a long, flowing skirt.<br/>She has lively blue eyes and straightforward expression.<br/>Her face lights up when your gaze meets hers, and she approaches."));
- Msg("<npcportrait name='lorna'/>Hello, <username/>. How are you?", Button("Coupon Exchange", "@coupon"), Button("End Conversation","@EndChat"));
- switch (await Select())
- {
- case "@coupon":
- Msg("<npcportrait name='lorna'/>Would you like to exchange coupons?", Button("Sturdy ToolBox x5", "@SturdyToolbox"), Button("Thanksgiving Giftbox x10", "@ThanksgivingBox"), Button("Lorna && Pan Giftbox x15","@LornaPanBox"), Button("End Conversation", "@EndChat"));
- switch (await Select())
- {
- case "@SturdyToolbox":
- if (HasItem(70295, 5))
- {
- RemoveItem(70295, 5);
- GiveItem(92653);
- Msg("<npcportrait name='lorna'/>All right here you go, one Participation Commemoration Box, containing sturdy tools.");
- break;
- }
- else
- {
- Msg("<npcportrait name='lorna'/>You don't have enough Thanksgiving Coupons. Come back when you have enough.");
- break;
- }
- case "@ThanksgivingBox":
- if (HasItem(70295, 10))
- {
- RemoveItem(70295, 10);
- GiveItem(91431);
- Msg("<npcportrait name='lorna'/>All right here you go, one Thanksgiving Bust Gift Box.");
- break;
- }
- else
- {
- Msg("<npcportrait name='lorna'/>You don't have enough Thanksgiving Coupons. Come back when you have enough.");
- break;
- }
- case "@LornaPanBox":
- if (HasItem(70295, 15))
- {
- RemoveItem(70295, 15);
- GiveItem(91264);
- Msg("<npcportrait name='lorna'/>All right here you go, a special gift from Pan and I.");
- break;
- }
- else
- {
- Msg("<npcportrait name='lorna'/>You don't have enough Thanksgiving Coupons. Come back when you have enough.");
- break;
- }
- case "@EndChat":
- break;
- }
- break;
- case "@EndChat":
- break;
- }
- End();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement