EOSERV Forum > EO Server Building > Big Quest Release (Butchering Skill)
Page: << 1 >>
Big Quest Release (Butchering Skill)
Author Message
Post #201758 Big Quest Release (Butchering Skill)

Basically, butchering is a skill, like in other MMOs. If you make NPC's drop a "carcass" AKA their body, then you can bring it to a butcher quest NPC, and then butcher it to receive individual parts of the NPC, such as bones, eyes, etc., which could also be used for crafting and whatnot, maybe alchemy.

Each time you butcher carcass, you receive a butcher credit. The higher butcher credit you have...the more amount of items you get for butchering carcass. I believe it's 10 credits for every 1 level? Haven't played with this for a while, and this feature never made it to any servers. So I hope a few can eventually adapt to it and use it to see if players like it or not. I think it's a really cool feature. Something like this can also be used for an alchemy skill.

*note* you can only have 3 NPC's per quest because anymore takes too much space and quest file sizes can only be like 64KB or something. So you'd have to use multiple NPc's if you want butchering to be a big part of the game, having most NPC's drop their carcass.

Main
{
        questname       "Butchering Carcass"
        version         1.0
}
state Begin
{
    desc    "Learning the Ropes"
    action  AddNpcChat ( 36 , "Click me to learn butchery!");
    action  AddNpcText ( 36 , "Hey newbie! When it\'s done right, you can extract massive amounts of material from animal carcass. Would you like to learn the ropes of butchery?");
    action  AddNpcInput ( 36 , 1 , "Yes, please!");
    action  AddNpcInput ( 36 , 2 , "No I am good." );
    rule    InputNpc ( 1 ) goto Learning
    rule    InputNpc ( 2 ) goto Nevermind
}
state Nevermind
{
    desc    "Letting go of the Ropes"
    action  AddNpcText ( 36 , "Alrighty then, your loss! Come back to me if you are ever interested.");
    rule    TalkedToNpc ( 36 ) goto Begin
}
state Learning
{
    desc    "Butcher Credits"
    action  GiveItem(502, 1);
    action  ShowHint("You received Butcher Credit!")
    action  AddNpcText ( 36 , "Butcher Credits are used to increase your yields. With 1-9 butcher credits, you can only extract a limited amount of material from animal carcass. You can either earn 1 credit every time you butcher carcass, or you can do certain quests that may reward you with these credits.");
    action  AddNpcText ( 36 , "I am one butcher of many. The 3 carcasses I can butcher are Sheep, Butterflies, and Foxes. ");
    action  AddNpcInput ( 36 , 1 , "I\'ve learned enough");
    action  AddNpcInput ( 36 , 2 , "I want to learn more" );
    rule    InputNpc ( 1 ) goto MainMenu
    rule    InputNpc ( 2 ) goto LearnMore
}
state LearnMore
{
    desc    "Learning the Ropes"
    action  AddNpcText ( 36 , "There are butchers like me all over the world that you can talk to, and they all butcher 3 different carcasses. Every time you come to me with carcass to butcher, you will earn 1 Butcher Credit. Per 10 Butcher Credits, you will gain a new skill level in Butchery! Per skill level, you will be able to extract new and more materials from animal carcass!");
    action  AddNpcText ( 36 , "For example: with 1 butcher credit, you will be able to extract 4 bones and 2 wool from a sheep, or 4 bones and 2 fox fur from a fox.");
    action  AddNpcInput ( 36 , 1 , "I understand!");
    rule    InputNpc ( 1 ) goto MainMenu
}
state MainMenu
{
    desc    "Options for Butchery"
    action  AddNpcText ( 36 , "How can I help you?");
    action  AddNpcInput ( 36 , 1 , "Butcher Sheep Carcass");
    action  AddNpcInput ( 36 , 2 , "Butcher Butterfly Carcass" );
    action  AddNpcInput ( 36 , 3 , "Butcher Fox Carcass" );
    rule    InputNpc ( 1 ) goto Sheep
    rule    InputNpc ( 2 ) goto Butterfly
    rule    InputNpc ( 3 ) goto Fox
}
state NotEnough
{
    desc    "Butcher Level 5"
    action  AddNpcText ( 36 , "You don\'t have that much carcass! Come back to me when you have the required amount for a successful extraction.");
    rule    TalkedToNpc ( 36 ) goto MainMenu
}
state ButcherLeveling1
{
    desc    "Butcher Credits"
    action  AddNpcText ( 36 , "Earn more credits by butchering to receive more materials from animal carcass!");
    rule    TalkedToNpc ( 36 ) goto MainMenu
}

state Sheep
{
        rule      GotItems(502, 50) goto Sheep6
        rule      GotItems(502, 40) goto Sheep5
        rule      GotItems(502, 30) goto Sheep4
        rule      GotItems(502, 20) goto Sheep3
        rule      GotItems(502, 10) goto Sheep2
        rule      GotItems(502, 1) goto Sheep1
}
state Butterfly
{
        rule      GotItems(502, 50) goto Butterfly6
        rule      GotItems(502, 40) goto Butterfly5
        rule      GotItems(502, 30) goto Butterfly4
        rule      GotItems(502, 20) goto Butterfly3
        rule      GotItems(502, 10) goto Butterfly2
        rule      GotItems(502, 1) goto Butterfly1  
}
state Fox
{
        rule      GotItems(502, 50) goto Fox6
        rule      GotItems(502, 40) goto Fox5
        rule      GotItems(502, 30) goto Fox4
        rule      GotItems(502, 20) goto Fox3
        rule      GotItems(502, 10) goto Fox2
        rule      GotItems(502, 1) goto Fox1  
}

state Sheep1
{
    desc    "Butcher Level 1"
    action  AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 sheep carcass");
    action  AddNpcInput ( 36 , 2 , "20 sheep carcass" );
    rule    InputNpc ( 1 ) goto tensheep0
    rule    InputNpc ( 2 ) goto twentysheep0
}
state Sheep2
{
    desc    "Butcher Level 2"
    action  AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 sheep carcass");
    action  AddNpcInput ( 36 , 2 , "20 sheep carcass" );
    rule    InputNpc ( 1 ) goto tensheep1
    rule    InputNpc ( 2 ) goto twentysheep1
}
state Sheep3
{
    desc    "Butcher Level 3"
    action  AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 sheep carcass");
    action  AddNpcInput ( 36 , 2 , "20 sheep carcass" );
    rule    InputNpc ( 1 ) goto tensheep2
    rule    InputNpc ( 2 ) goto twentysheep2
}
state Sheep4
{
    desc    "Butcher Level 4"
    action  AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 sheep carcass");
    action  AddNpcInput ( 36 , 2 , "20 sheep carcass" );
    rule    InputNpc ( 1 ) goto tensheep3
    rule    InputNpc ( 2 ) goto twentysheep3
}
state Sheep5
{
    desc    "Butcher Level 5"
    action  AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 sheep carcass");
    action  AddNpcInput ( 36 , 2 , "20 sheep carcass" );
    rule    InputNpc ( 1 ) goto tensheep4
    rule    InputNpc ( 2 ) goto twentysheep4
}
state Sheep6
{
    desc    "Butcher Level 6"
    action  AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 sheep carcass");
    action  AddNpcInput ( 36 , 2 , "20 sheep carcass" );
    rule    InputNpc ( 1 ) goto tensheep5
    rule    InputNpc ( 2 ) goto twentysheep5
}

state tensheep0
{
    desc    "Butcher Level 0"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 10) goto Givetensheep
    else    goto NotEnough
}
state twentysheep0
{
    desc    "Butcher Level 0"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 20) goto Givetwentysheep
    else    goto NotEnough
}

state tensheep1
{
    desc    "Butcher Level 1"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 10) goto Give11Sheep
    else    goto NotEnough
}
state twentysheep1
{
    desc    "Butcher Level 1"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 20) goto Give21Sheep
    else    goto NotEnough
}

state tensheep2
{
    desc    "Butcher Level 2"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 10) goto Give12Sheep
    else    goto NotEnough
}
state twentysheep2
{
    desc    "Butcher Level 2"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 20) goto Give22Sheep
    else    goto NotEnough
}

state tensheep3
{
    desc    "Butcher Level 3"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 10) goto Give13Sheep
    else    goto NotEnough
}
state twentysheep3
{
    desc    "Butcher Level 3"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 20) goto Give23Sheep
    else    goto NotEnough
}

state tensheep4
{
    desc    "Butcher Level 4"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 10) goto Give14Sheep
    else    goto NotEnough
}
state twentysheep4
{
    desc    "Butcher Level 4"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 20) goto Give24Sheep
    else    goto NotEnough
}

state tensheep5
{
    desc    "Butcher Level 5"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 10) goto Give15Sheep
    else    goto NotEnough
}
state twentysheep5
{
    desc    "Butcher Level 5"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(489, 20) goto Give25Sheep
    else    goto NotEnough
}

state givetensheep
{
    desc    "Butcher Level 0"
    action  RemoveItem(489, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(488, 7);
    action  GiveItem(490, 4);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state givetwentysheep
{
    desc    "Butcher Level 0"
    action  RemoveItem(489, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(488, 14);
    action  GiveItem(490, 8);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give11sheep
{
    desc    "Butcher Level 1"
    action  RemoveItem(489, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(488, 12);
    action  GiveItem(490, 9);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give21sheep
{
    desc    "Butcher Level 1"
    action  RemoveItem(489, 20);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(488, 24);
    action  GiveItem(490, 18);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give12sheep
{
    desc    "Butcher Level 2"
    action  RemoveItem(489, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(488, 17);
    action  GiveItem(490, 14);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give22sheep
{
    desc    "Butcher Level 2"
    action  RemoveItem(489, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(488, 34);
    action  GiveItem(490, 24);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give13sheep
{
    desc    "Butcher Level 3"
    action  RemoveItem(489, 10);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(488, 22);
    action  GiveItem(490, 19);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give23sheep
{
    desc    "Butcher Level 3"
    action  RemoveItem(489, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(488, 44);
    action  GiveItem(490, 38);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give14sheep
{
    desc    "Butcher Level 4"
    action  RemoveItem(489, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(488, 27);
    action  GiveItem(490, 24);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give24sheep
{
    desc    "Butcher Level 4"
    action  RemoveItem(489, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(488, 54);
    action  GiveItem(490, 48);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give15sheep
{
    desc    "Butcher Level 5"
    action  RemoveItem(489, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(488, 32);
    action  GiveItem(490, 29);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give25sheep
{
    desc    "Butcher Level 5"
    action  RemoveItem(489, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(488, 64);
    action  GiveItem(490, 58);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state butterfly1
{
    desc    "Butcher Level 0"
    action  AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 butterfly carcass");
    action  AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
    rule    InputNpc ( 1 ) goto tenbutterfly0
    rule    InputNpc ( 2 ) goto twentybutterfly0
}
state butterfly2
{
    desc    "Butcher Level 1"
    action  AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 butterfly carcass");
    action  AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
    rule    InputNpc ( 1 ) goto tenbutterfly1
    rule    InputNpc ( 2 ) goto twentybutterfly1
}
state butterfly3
{
    desc    "Butcher Level 2"
    action  AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 butterfly carcass");
    action  AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
    rule    InputNpc ( 1 ) goto tenbutterfly2
    rule    InputNpc ( 2 ) goto twentybutterfly2
}
state butterfly4
{
    desc    "Butcher Level 3"
    action  AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 butterfly carcass");
    action  AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
    rule    InputNpc ( 1 ) goto tenbutterfly3
    rule    InputNpc ( 2 ) goto twentybutterfly3
}
state butterfly5
{
    desc    "Butcher Level 4"
    action  AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 butterfly carcass");
    action  AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
    rule    InputNpc ( 1 ) goto tenbutterfly4
    rule    InputNpc ( 2 ) goto twentybutterfly4
}
state butterfly6
{
    desc    "Butcher Level 5"
    action  AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 butterfly carcass");
    action  AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
    rule    InputNpc ( 1 ) goto tenbutterfly5
    rule    InputNpc ( 2 ) goto twentybutterfly5
}

state tenbutterfly0
{
    desc    "Butcher Level 0"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 10) goto Givetenbutterfly
    else    goto NotEnough
}
state twentybutterfly0
{
    desc    "Butcher Level 0"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 20) goto Givetwentybutterfly
    else    goto NotEnough
}

state tenbutterfly1
{
    desc    "Butcher Level 1"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 10) goto Give11butterfly
    else    goto NotEnough
}
state twentybutterfly1
{
    desc    "Butcher Level 1"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 20) goto Give21butterfly
    else    goto NotEnough
}

state tenbutterfly2
{
    desc    "Butcher Level 2"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 10) goto Give12butterfly
    else    goto NotEnough
}
state twentybutterfly2
{
    desc    "Butcher Level 2"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 20) goto Give22butterfly
    else    goto NotEnough
}

state tenbutterfly3
{
    desc    "Butcher Level 3"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 10) goto Give13butterfly
    else    goto NotEnough
}
state twentybutterfly3
{
    desc    "Butcher Level 3"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 20) goto Give23butterfly
    else    goto NotEnough
}

state tenbutterfly4
{
    desc    "Butcher Level 4"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 10) goto Give14butterfly
    else    goto NotEnough
}
state twentybutterfly4
{
    desc    "Butcher Level 4"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 20) goto Give24butterfly
    else    goto NotEnough
}

state tenbutterfly5
{
    desc    "Butcher Level 5"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 10) goto Give15butterfly
    else    goto NotEnough
}
state twentybutterfly5
{
    desc    "Butcher Level 5"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(491, 20) goto Give25butterfly
    else    goto NotEnough
}

state givetenbutterfly
{
    desc    "Butcher Level 0"
    action  RemoveItem(491, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(504, 7);
    action  GiveItem(492, 4);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state givetwentybutterfly
{
    desc    "Butcher Level 0"
    action  RemoveItem(491, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(504, 14);
    action  GiveItem(492, 8);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give11butterfly
{
    desc    "Butcher Level 1"
    action  RemoveItem(491, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(504, 12);
    action  GiveItem(492, 9);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give21butterfly
{
    desc    "Butcher Level 1"
    action  RemoveItem(491, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(504, 24);
    action  GiveItem(492, 18);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give12butterfly
{
    desc    "Butcher Level 2"
    action  RemoveItem(491, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(504, 17);
    action  GiveItem(492, 14);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give22butterfly
{
    desc    "Butcher Level 2"
    action  RemoveItem(491, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(504, 34);
    action  GiveItem(492, 24);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give13butterfly
{
    desc    "Butcher Level 3"
    action  RemoveItem(491, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(504, 22);
    action  GiveItem(492, 19);
    action  GiveItem(505, 12);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give23butterfly
{
    desc    "Butcher Level 3"
    action  RemoveItem(491, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(504, 44);
    action  GiveItem(492, 38);
    action  GiveItem(505, 24);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give14butterfly
{
    desc    "Butcher Level 4"
    action  RemoveItem(491, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(504, 27);
    action  GiveItem(492, 24);
    action  GiveItem(505, 17);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give24butterfly
{
    desc    "Butcher Level 4"
    action  RemoveItem(491, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(504, 54);
    action  GiveItem(492, 48);
    action  GiveItem(505, 34);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give15butterfly
{
    desc    "Butcher Level 5"
    action  RemoveItem(491, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(504, 32);
    action  GiveItem(492, 29);
    action  GiveItem(505, 22);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give25butterfly
{
    desc    "Butcher Level 5"
    action  RemoveItem(491, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(504, 64);
    action  GiveItem(492, 58);
    action  GiveItem(505, 44);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state fox1
{
    desc    "Butcher Level 0"
    action  AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 fox carcass");
    action  AddNpcInput ( 36 , 2 , "20 fox carcass" );
    rule    InputNpc ( 1 ) goto tenfox0
    rule    InputNpc ( 2 ) goto twentyfox0
}
state fox2
{
    desc    "Butcher Level 1"
    action  AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 fox carcass");
    action  AddNpcInput ( 36 , 2 , "20 fox carcass" );
    rule    InputNpc ( 1 ) goto tenfox1
    rule    InputNpc ( 2 ) goto twentyfox1
}
state fox3
{
    desc    "Butcher Level 2"
    action  AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 fox carcass");
    action  AddNpcInput ( 36 , 2 , "20 fox carcass" );
    rule    InputNpc ( 1 ) goto tenfox2
    rule    InputNpc ( 2 ) goto twentyfox2
}
state fox4
{
    desc    "Butcher Level 3"
    action  AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 fox carcass");
    action  AddNpcInput ( 36 , 2 , "20 fox carcass" );
    rule    InputNpc ( 1 ) goto tenfox3
    rule    InputNpc ( 2 ) goto twentyfox3
}
state fox5
{
    desc    "Butcher Level 4"
    action  AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 fox carcass");
    action  AddNpcInput ( 36 , 2 , "20 fox carcass" );
    rule    InputNpc ( 1 ) goto tenfox4
    rule    InputNpc ( 2 ) goto twentyfox4
}
state fox6
{
    desc    "Butcher Level 5"
    action  AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
   
    action  AddNpcInput ( 36 , 1 , "10 fox carcass");
    action  AddNpcInput ( 36 , 2 , "20 fox carcass" );
    rule    InputNpc ( 1 ) goto tenfox5
    rule    InputNpc ( 2 ) goto twentyfox5
}

state tenfox0
{
    desc    "Butcher Level 0"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 10) goto Givetenfox
    else    goto NotEnough
}
state twentyfox0
{
    desc    "Butcher Level 0"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 20) goto Givetwentyfox
    else    goto NotEnough
}

state tenfox1
{
    desc    "Butcher Level 1"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 10) goto Give11fox
    else    goto NotEnough
}
state twentyfox1
{
    desc    "Butcher Level 1"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 20) goto Give21fox
    else    goto NotEnough
}

state tenfox2
{
    desc    "Butcher Level 2"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 10) goto Give12fox
    else    goto NotEnough
}
state twentyfox2
{
    desc    "Butcher Level 2"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 20) goto Give22fox
    else    goto NotEnough
}

state tenfox3
{
    desc    "Butcher Level 3"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 10) goto Give13fox
    else    goto NotEnough
}
state twentyfox3
{
    desc    "Butcher Level 3"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 20) goto Give23fox
    else    goto NotEnough
}

state tenfox4
{
    desc    "Butcher Level 4"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 10) goto Give14fox
    else    goto NotEnough
}
state twentyfox4
{
    desc    "Butcher Level 4"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 20) goto Give24fox
    else    goto NotEnough
}

state tenfox5
{
    desc    "Butcher Level 5"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 10) goto Give15fox
    else    goto NotEnough
}
state twentyfox5
{
    desc    "Butcher Level 5"
   
    action  AddNpcText ( 36 , "(Puts the carcass on the table, and starts cutting)");
   
    if      GotItems(493, 20) goto Give25fox
    else    goto NotEnough
}

state givetenfox
{
    desc    "Butcher Level 0"
    action  RemoveItem(493, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(494, 7);
    action  GiveItem(252, 4);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state givetwentyfox
{
    desc    "Butcher Level 0"
    action  RemoveItem(493, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(494, 14);
    action  GiveItem(252, 8);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give11fox
{
    desc    "Butcher Level 1"
    action  RemoveItem(493, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(494, 12);
    action  GiveItem(252, 9);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give21fox
{
    desc    "Butcher Level 1"
    action  RemoveItem(493, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(494, 24);
    action  GiveItem(252, 18);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give12fox
{
    desc    "Butcher Level 2"
    action  RemoveItem(493, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(494, 17);
    action  GiveItem(252, 14);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give22fox
{
    desc    "Butcher Level 2"
    action  RemoveItem(493, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(494, 34);
    action  GiveItem(252, 24);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give13fox
{
    desc    "Butcher Level 3"
    action  RemoveItem(493, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(494, 22);
    action  GiveItem(252, 19);
    action  GiveItem(506, 12);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give23fox
{
    desc    "Butcher Level 3"
    action  RemoveItem(493, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(494, 44);
    action  GiveItem(252, 38);
    action  GiveItem(506, 24);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give14fox
{
    desc    "Butcher Level 4"
    action  RemoveItem(493, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(494, 27);
    action  GiveItem(252, 24);
    action  GiveItem(506, 17);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give24fox
{
    desc    "Butcher Level 4"
    action  RemoveItem(493, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(494, 54);
    action  GiveItem(252, 48);
    action  GiveItem(506, 34);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

state give15fox
{
    desc    "Butcher Level 5"
    action  RemoveItem(493, 10);
   
    action  GiveItem(502, 1);
     
    action  GiveItem(494, 32);
    action  GiveItem(252, 29);
    action  GiveItem(506, 22);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 1 Butcher Credit.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}
state give25fox
{
    desc    "Butcher Level 5"
    action  RemoveItem(493, 20);
   
    action  GiveItem(502, 2);
     
    action  GiveItem(494, 64);
    action  GiveItem(252, 58);
    action  GiveItem(506, 44);
    action  AddNpcText ( 36 , "You successfully extracted material from the carcass & earned 2 Butcher Credits.");
    rule    TalkedToNpc ( 36 ) goto ButcherLeveling1
}

7 years, 19 weeks ago
Post #201760 Re: Big Quest Release (Butchering Skill)

This quest will not function as you have intended. You have stacked GotItem rules on top of each other within the same state for the same item. If you are collecting items you are always going to trigger the quantity of one rule and never any other. Once a quest rule is triggered the state moves. I would almost suggest a database counter here and probably some customizing to EO+ to fit this quest. It is unusable in its current state.

7 years, 19 weeks ago
Post #201761 Re: Big Quest Release (Butchering Skill)

You would have to do multiple states for each item like check for one item then move to next state to check again

7 years, 19 weeks ago
Post #201762 Re: Big Quest Release (Butchering Skill)

Maybe I should mention there is no check for the items to actually be in the inventory before trying to remove them either. 

7 years, 19 weeks ago
Post #201765 Re: Big Quest Release (Butchering Skill)
Apollo posted: (12th Dec 2016, 02:32 pm)

This quest will not function as you have intended. You have stacked GotItem rules on top of each other within the same state for the same item. If you are collecting items you are always going to trigger the quantity of one rule and never any other. Once a quest rule is triggered the state moves. I would almost suggest a database counter here and probably some customizing to EO+ to fit this quest. It is unusable in its current state.


Thanks for saying that. I remember having some type of problem with it long ago. But for the most part it was working properly.
7 years, 19 weeks ago
Post #201771 Re: Big Quest Release (Butchering Skill)
lolss posted: (12th Dec 2016, 08:15 pm)

Apollo posted: (12th Dec 2016, 02:32 pm)

This quest will not function as you have intended. You have stacked GotItem rules on top of each other within the same state for the same item. If you are collecting items you are always going to trigger the quantity of one rule and never any other. Once a quest rule is triggered the state moves. I would almost suggest a database counter here and probably some customizing to EO+ to fit this quest. It is unusable in its current state.


Thanks for saying that. I remember having some type of problem with it long ago. But for the most part it was working properly.


Are you Savage, from my server? I believe you mentioned this to me this morning.

7 years, 19 weeks ago
Page: << 1 >>

EOSERV Forum > EO Server Building > Big Quest Release (Butchering Skill)