Jump to content
  • 0

Question

Posted

Hi Can I request a refiner NPC where it does the following:

- refines using elunium & oridecon (player can choose to "Safe refine" (e.g. the safe upgrade of garment is +4)

- refines using enriched elunium & enriched oridecon (player can choose to "Safe refine" (e.g. the safe upgrade of garment is +4)

 

- player can input desired number from 1-10 then the NPC will verify if that's his/her last decision. then the npc will refine the item.

 

 

3 answers to this question

Recommended Posts

Posted

The first and third option are already in the standard script refine.txt - just change the lines in the section Weapon/Armor refiners:

  callfunc "refinemain","<npc name>",0; -> 1
 

Posted (edited)

This one may be of your interest too

screenstarlingro012.jpg

 

 

 

JUST REPLACE WITH THIS
 
// Ori/Elu Functions
//============================================================
function    script    orimain    {
    if (checkweight(1201,1) == 0) {
        mes "- Wait a minute !! -";
        mes "- Currently you're carrying -";
        mes "- too many items with you. -";
        mes "- Please try again -";
        mes "- after you loose some weight. -";
        close;
    }
    mes "[" + getarg(0) + "]";
    mes "I can purify your";
    mes "Rough Oridecons or";
    mes "Rough Eluniums. I'll need";
    mes "5 Rough Stones to make";
    mes "1 pure one for you.";
    next;
    switch(select("Make Oridecon:Make Elunium:Ask about Enchanted Stones")) {
case 1:
        if (countitem(756) > 4) {
            mes "I can make ^FF0000" + countitem(756)/5 + "^000000 Oridecon";
            mes "from your ^0000FF" + countitem(756) + "^000000 Rough Oridecon.";
            if (select("Yes","No") == 1) {
                set .@ori,countitem(756)/5;
                delitem 756, .@ori * 5;        //delete the rough oridecons
                getitem 984, .@ori;        //get oridecons
                mes " ";
                mes "Here's your Oridecon!";
            }
            close;
        }
        else {
            mes "[" + getarg(0) + "]";
            mes "You're kidding me, right?";
            mes "I just told you that I need 5 Rough Oridecons to make a pure Oridecon.";
            close;
        }
    case 2:
        if (countitem(757) > 4) {
            mes "I can make ^FF0000" + countitem(757)/5 + "^000000 Elunium";
            mes "from your ^0000FF" + countitem(757) + "^000000 Rough Elunium.";
            if (select("Yes","No") == 1) {
                set .@elu,countitem(757)/5;
                delitem 757, .@elu * 5;        //delete the rough eluniums
                getitem 985, .@elu;        //get eluniums
                mes " ";
                mes "Here's your Elunium!";
            }
            close;
        }
        else {
            mes "[" + getarg(0) + "]";
            mes "You're kidding me, right?";
            mes "I just told you that I need 5 Rough Eluniums to make a pure Elunium.";
            close;
        }
    case 3:
        mes "[" + getarg(0) + "]";
        mes "Enchanted Stones...?";
        mes "I've been a stonesmith for 20 years, so I've heard a lot about them. Supposedly, there are";
        mes "four different kinds.";
        next;
        mes "[" + getarg(0) + "]";
        mes "Each Enchanted Stone possesses one of the following elemental properties: Earth, Wind, Water and Fire.";
        next;
        mes "[" + getarg(0) + "]";
        mes "If someone combines a Enchanted Stone with a weapon while smithing, that weapon will possess the same property as the Stone.";
        next;
        mes "[" + getarg(0) + "]";
        mes "Needless to say, you need to have some smithing skill to produce this kind of elemental weapon.";
        close;
    }
}
Edited by iraciz

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...