From The Mana World
Line 31: Line 31:
*create Hetchel script
*create Hetchel script
*add Silk Sheet to Itemdb
*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:
*add Silk Sheet item description:
** "A double-elbow silk sheet square"
** "A double-elbow silk sheet square"
Line 36: Line 38:
** add globals :<br/>Hetchel Code :<br/><pre>    set @SHEET_COCOONS_NR, 25; <br/>    set @SHEETS_ZENY, 500;</pre><br/>Lora Code :<br/><pre>    set @ROBE_SHEETS_NR, 6; <br/>    set @ROBE_SHEETS_ZENY, 6000;</pre>
** add globals :<br/>Hetchel Code :<br/><pre>    set @SHEET_COCOONS_NR, 25; <br/>    set @SHEETS_ZENY, 500;</pre><br/>Lora Code :<br/><pre>    set @ROBE_SHEETS_NR, 6; <br/>    set @ROBE_SHEETS_ZENY, 6000;</pre>
** modify subs at labels L_robe, L_robe_menu, L_robe_nosilk,
** modify subs at labels L_robe, L_robe_menu, L_robe_nosilk,


=Code=
=Code=

Revision as of 22:01, 2 December 2012

Context

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....:

Job to do

Graphics

  • NPCHetchel

NPCHetchel.png

  • ItemSilkSheet

Generic-Silk-sheet-1.pngGeneric-silk-sheet-2.png

Code

  • 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,

Code

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;

Hetchel

Hetchel is supposed to be located ar the Tulimshar's Bazaar, 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)