From The Mana World
< User:Nard
Revision as of 08:28, 12 December 2012 by Nard (talk | contribs)

Concept

Lora Tay says she can sew Silk Robes provided you give her some silk sheets.

  • "Six sheets should do fine, if they're the usual double-elbow squares."

When you ask her how to get silk sheets, she answers :

  • "Oh, Hetchel on the Tulimshar Marketplace can weave them for you."

But :

  • "I didn't see her there the last time I visited, though. She may be visiting family. Tough luck."

The idea is to make Hetchel availabe in a market or in her workshop, at random times in the week; let's say three days a week, when she is not visiting her family. She should sell silk sheets provided the player gives raw material:

  • Since a robe is 150 Silk cocoons, 6 sheets= 150 silk cocoons thus: 1 sheet is 25 silk cocoons.
  • Sell price: Hurnscald-Tulimshar travel :500 gp (*2). The sheet price should be (10000-1000-LoraCraftingFee)/6 = 1500gp max. If we assume a LoraCraftingFee with sheets of 6000, 3000/6=500 is left for each sheet.

Note : After the Agostine is completed, Lora also says :

"She glares at your boots, her lips forming barely more than a thin line. Deep furrows form above her brows."
"I can't believe it! He copied Illana's design but used fluffy fur in place of ice wolf fur
"Fluffy fur! Of all things! Who would wear such an atrocity of fashion! Everyone knows that you need ice-white, not pale-white, to go with such leather!"

It might be interesting to find Illana somewhere in Kaizei and make her craft wolvern pelt boots, gloves, hat.... (maybe all leather goods: squirrel gloves):

To do

Graphics

  • NPCHetchel

NPCHetchel.png

  • ItemSilkSheet

(They should be dyable) Generic-Silk-sheet-1.png Generic-silk-sheet-2.png

databases

  • create Hetchel script
  • add Silk Sheet to Itemdb
#ID,    Name,                           Label,                              Type,   Price,      Sell,       Weight,     ATK,    DEF,    Range,  Mbonus, Slot,   Gender, Loc,        wLV,    eLV,    View,   {UseScript},                                                            {EquipScript}
8XX,    SilkSheet,                       Silk Sheet,                          3,      1000,       250,       5,         ,       ,       ,       ,       ,       ,       ,           ,       ,       ,       {},                                                                     {}
  • add Silk Sheet item description:
    • "A double-elbow silk sheet square"
  • modify Lora Tay script to allow sheet use
    • add globals :
      Hetchel Code :
          set @SHEET_COCOONS_NR, 25; <br/>    set @SHEETS_ZENY, 500;

      Lora Code :
          set @ROBE_SHEETS_NR, 6; <br/>    set @ROBE_SHEETS_ZENY, 6000;
    • modify subs at labels L_robe, L_robe_menu, L_robe_nosilk,

Script Code

  • Hetchel  : create
  • Lora Tay : modify script to allow sheet use
    • add globals :
      Hetchel Code :
          set @SHEET_COCOONS_NR, 25; <br/>    set @SHEETS_ZENY, 500;

      Lora Code :
          set @ROBE_SHEETS_NR, 6; <br/>    set @ROBE_SHEETS_ZENY, 6000;
    • modify subs at labels L_robe, L_robe_menu, L_robe_nosilk,

Hetchel

Hetchel is supposed to be located ar the Tulimshar's Bazaar (001-1), but she could also be located in Tulimshar center (021-1), In Nothern market in the workshop (021-2), or in her workshop (to be designed and added to 021-2)

//  Hetchel the Silk Weaver
//  Hetchel is referred to by Lora Tay. 
//  She weaves and sells standard double elbow square silk sheets.
//  She could also sell, dyed sheets, Silk robes from Lora Tay 
//  (6000 with coccons, 40000 (?) with no cocoons).
//  
//
//  @SHEET_COCOONS_NR : Number of cocoons required  per sheet.
//  Might ne calculated from @ROBE_COCOONS_NR/@ROBE_SHEETS_NR
//  Actually: 150∕6 = 25
//  @SHEET_ZENY       : Money to pay per sheet: A sixth of 10000-2*500-6000

001-1.gat,34,36,0|script|Hetchel|151,{   //or 30,30 with stand on left

    set @SHEET_COCOONS_NR, 25;  
    set @SHEET_ZENY, 500; 

    mes "[Hetchel the seamstress]";
    mes "\"Hello I am Hetchel, I seam fine textiles, what can I do for you?\"";
    next;

L_main_menu:
    menu
        "Sorry to bother,I'm new to this country, just visting", L_end,
        "I am looking for silk sheets, Lora tay told me that I could  find some in this market. Can you help?", -,
//        "Do you have any silk robe I could buy?", L_robe,
//        "Goodbye.", L_end;
    next;
    mes "[Hetchel the Weaver]";
    mes "\"Sure but you need to provide raw materials.\"";
    mes "\"I'll need " + @SHEET_COCOONS_NR +" silk cocoons per sheet.\"";
    mes "\"and also " + @SHEET_ZENY +" GP per sheet for my work.\"";
    next;
    if (countitem("SilkCocoon") == 0)
        goto L_sheet_no_cocoon;

L_sheet_menu:
    menu
        "I have what you asked for.",-,
        "Sorry I didn't pay attention enough, what do you need ?",L_how_many_cocoons;
        "Oops! sorry, I'll come back soon with them.",L_end;
    next;

L_sheet:
    if (countitem("SilkCocoon") < @SHEET_COCOONS_NR)
        goto L_sheet_missing_cocoons;
    if (Zeny < @SHEET_ZENY)
        goto L_sheet_missing_Zeny;
    getinventorylist;
    if (@inventorylist_count == 100 && countitem("SilkCocoon") > @SHEET_COCOONS_NR)
        goto L_TooMany;
    set Zeny, Zeny - @SHEET_ZENY;
    delitem "SilkCocoon", @SHEET_COCOONS_NR;
    getitem "Silksheet", 1;
    goto L_end;

L_sheet_missing_cocoons:
    mes "[Hetchel the Weaver]";
    mes "\"I'm sorry, but I need " + @SHEET_COCOONS_NR + ", not " + countitem("SilkCocoon") + ".";
    next;
    goto L_end;

L_sheet_missing_Zeny:
    mes "[Hetchel the Weaver]";
    mes "\"No, no no. The way this works is that you give me the GP first and I give you the sheets afterwards. You're " + (@SHEET_ZENY - Zeny) + " GP short, so come back when you can afford the sheet!\"";
    next;
    goto L_end;

L_how_many_cocoons:
    mes "[Hetchel the Weaver]";
    mes "\"I need an average of "+ @SHEET_COCOONS_NR + " cocoons per sheet\"";
    mes "\"and also " + @SHEET_ZENY +" GP per sheet for my work.\"";
    next;
    goto L_main_menu;

L_sheet_no_cocoon:
    mes "[Hetchel the Weaver]";
    mes "\"You don't have any cocoon? I'm sorry I can't do anything for you.\"";
    menu
        "I'll seek for them.",L_end,
        "Where can I get cocoons?",-;
    next;
    mes "[Hetchel the Weaver]";
    mes "\"Silk cocoons come from Silkworms. Silkworms live in the woodland area around Hurnscald.\"";
    mes "\"Silkworms like especially woods and dark areas. You can go there by taking the ferry.\"";
    next;
    goto L_end;

//L_robe:
//    mes "[Hetchel the Weaver]";
//    mes "\"I am not a seamstress but I have a few silk robes from Lora Tay left.\"";
//    next;

//L_robe_menu:
//    goto L_main_menu;

L_TooMany:
    mes "[Hetchel the Weaver]";
    mes "\"Your bag hasn't room enough. Store some things and come back.\"";
    next;
    close;

L_end:
    close;
}

Lora Tay

Lora Tay is ar Dimond's cove 3rd foor, (010-2) tmwa-server-data/blob/master/world/map/npc/010-2/loratay.txt

L_robe:
    mes "[Lora Tay the Seamstress]";
    mes "\"A robe? Well, as long as you're not asking me to make it out of cotton...\"";
    next;
    if (countitem("SilkCocoon") == 0)
        goto L_robe_nosilk;

L_robe_menu:
    menu
        "Here, I have some silk cocoons!", -,
        "Here, I have some silk sheets!", L_robe_nosilk,
        "Where can I find silk?", L_where_silk,
        "How much silk do you need?", L_how_much_silk,
        "Oh, never mind.", L_main_menu;
    mes "[Lora Tay the Seamstress]";
    mes "The seamstress stares at you as if you had gone out of your mind.";
    mes "\"And what precisely do you expect me to do with Silk Cocoons? String them together in some baubly chain? Somehow remove the thread and spin and weave it so that some random person can have their robe?\"";
    next;
    menu
        "Will you trade cocoons for sheets?", -,
        "Never mind.", L_main_menu;
    mes "[Lora Tay the Seamstress]";
    mes "Lora frowns.";
    mes "\"It's not all that easy to get properly processed silk around here. Easier for me than for you, I admit...\"";
    next;
    mes "[Lora Tay the Seamstress]";
    mes "She sighs.";
    mes "\"All right, very well then. I have enough spare silk sheets right now, but you pay the silk processing for your cocoons.\"";
    next;
    mes "[Lora Tay the Seamstress]";
    mes "\"Let's see... " + @ROBE_COCOONS_NR + " silk cocoons and " + @ROBE_ZENY + " GP should just about cover that.\"";
    next;
    menu
        "I'm not interested.", L_main_menu,
        "Very well then, here you are.", -;
    if (countitem("SilkCocoon") < @ROBE_COCOONS_NR)
        goto L_robe_missing_cocoons;
    if (Zeny < @ROBE_ZENY)
        goto L_robe_missing_Zeny;
    getinventorylist;
    if (@inventorylist_count == 100 && countitem("SilkCocoon") > @ROBE_COCOONS_NR)
        goto L_TooMany;
    set Zeny, Zeny - @ROBE_ZENY;
    delitem "SilkCocoon", @ROBE_COCOONS_NR;
    getitem "SilkRobe", 1;
    mes "[Lora Tay the Seamstress]";
    mes "The seamstress puts your cocoons and GP away, takes your measurements and pulls out several silk sheets. She asks you to stretch out your arms, then pins the silk sheets in place all over your body.";
    next;
    mes "[Lora Tay the Seamstress]";
    mes "She proceeds to make a number of mysterious marks on the sheets with a charcoal pen. Meanwhile, your arms are getting tired, but you're afraid to lower them-- she used a lot of pins to put everything into place, and you lost track of where they went...";
    next;
    mes "[Lora Tay the Seamstress]";
    mes "\"Splendid.\"";
    mes "After removing the sheets (and pins!), she picks up a pair of scissors and plows through the cloth at her usual amazing pace, only stopping briefly to sew together parts here and there.";
    next;
    mes "[Lora Tay the Seamstress]";
    mes "She then treats the seams with some odorless liquid, making them vanish completely. Finally she hands you the finished robe.";
    mes "\"Here you are now, this will fit. And don't you dare tell anyone that I did this! I'm not about to start a silk cocoon collection!\"";
    next;
    goto L_main_menu;

L_robe_missing_cocoons:
    mes "[Lora Tay the Seamstress]";
    mes "\"" + @ROBE_COCOONS_NR + " cocoons is what I said, not " + countitem("SilkCocoon") + ".";
    mes @ROBE_COCOONS_NR + " is " + (@ROBE_COCOONS_NR / 10) + " as many times as you have fingers, in case that helps.\"";
    next;
    goto L_main_menu;

L_robe_missing_Zeny:
    mes "[Lora Tay the Seamstress]";
    mes "\"No, no no. The way this works is that you give me the GP first and I give you the robe afterwards. You're " + (@ROBE_ZENY - Zeny) + " GP short, so come back when you can afford the robe!\"";
    next;
    goto L_main_menu;

L_where_silk:
    mes "[Lora Tay the Seamstress]";
    mes "\"Oh, Hetchel on the Tulimshar Marketplace can weave them for you.\"";
    next;
    mes "[Lora Tay the Seamstress]";
    mes "She hesitates.";
    mes "\"I didn't see her there the last time I visited, though. She may be visiting family. Tough luck.\"";
    next;
    goto L_robe_menu;

L_how_much_silk:
    mes "[Lora Tay the Seamstress]";
    mes "\"Six sheets should do fine, if they're the usual double-elbow squares.\"";
    next;
    goto L_robe_menu;

L_robe_nosilk:
    mes "[Lora Tay the Seamstress]";
    mes "\"What is that? You don't have any silk? Well, you're out of luck, I would say. I shan't make one out of those cotton rags; you might as well be wearing an apple sack.\"";
    next;
    goto L_main_menu;

L_end:
    close;