Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 , "It seems you don\'t have as much as you claimed. Come back to me when you have the required amount for a successful butchery.");
- rule TalkedToNpc ( 36 ) goto MainMenu
- }
- state ButcherLeveling
- {
- desc "Butcher Credits"
- action GiveItem(502, 1);
- action ShowHint("You earned 1 Butcher Credit!");
- action AddNpcText ( 36 , "Good job! Per 10 Butcher Credits you earn, you will level up your Butchery skill!");
- rule TalkedToNpc ( 36 ) goto MainMenu
- }
- state Sheep
- {
- desc "Butchering Sheep"
- if GotItems(502, 1) goto Sheep1
- else if GotItems(502,10) goto Sheep2
- else if GotItems(502,20) goto Sheep3
- else if GotItems(502,30) goto Sheep4
- else if GotItems(502,40) goto Sheep5
- else if GotItems(502,50) goto Sheep6
- else goto MainMenu
- }
- state Butterfly
- {
- desc "Butchering Butterfly"
- if GotItems(502, 1) goto Butterfly1
- else if GotItems(502, 10) goto Butterfly2
- else if GotItems(502, 20) goto Butterfly3
- else if GotItems(502, 30) goto Butterfly4
- else if GotItems(502, 40) goto Butterfly5
- else if GotItems(502, 50) goto Butterfly6
- else goto MainMenu
- }
- state Fox
- {
- desc "Butchering Fox"
- if GotItems(502, 1) goto Fox1
- else if GotItems(502, 10) goto Fox2
- else if GotItems(502, 20) goto Fox3
- else if GotItems(502, 30) goto Fox4
- else if GotItems(502, 40) goto Fox5
- else if GotItems(502, 50) goto Fox6
- else goto MainMenu
- }
- 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"
- if GotItems(489, 10) goto Givetensheep
- else goto NotEnough
- }
- state twentysheep0
- {
- desc "Butcher Level 0"
- if GotItems(489, 20) goto Givetwentysheep
- else goto NotEnough
- }
- state tensheep1
- {
- desc "Butcher Level 1"
- if GotItems(489, 10) goto Give11Sheep
- else goto NotEnough
- }
- state twentysheep1
- {
- desc "Butcher Level 1"
- if GotItems(489, 20) goto Give21Sheep
- else goto NotEnough
- }
- state tensheep2
- {
- desc "Butcher Level 2"
- if GotItems(489, 10) goto Give12Sheep
- else goto NotEnough
- }
- state twentysheep2
- {
- desc "Butcher Level 2"
- if GotItems(489, 20) goto Give22Sheep
- else goto NotEnough
- }
- state tensheep3
- {
- desc "Butcher Level 3"
- if GotItems(489, 10) goto Give13Sheep
- else goto NotEnough
- }
- state twentysheep3
- {
- desc "Butcher Level 3"
- if GotItems(489, 20) goto Give23Sheep
- else goto NotEnough
- }
- state tensheep4
- {
- desc "Butcher Level 4"
- if GotItems(489, 10) goto Give14Sheep
- else goto NotEnough
- }
- state twentysheep4
- {
- desc "Butcher Level 4"
- if GotItems(489, 20) goto Give24Sheep
- else goto NotEnough
- }
- state tensheep5
- {
- desc "Butcher Level 5"
- if GotItems(489, 10) goto Give15Sheep
- else goto NotEnough
- }
- state twentysheep5
- {
- desc "Butcher Level 5"
- if GotItems(489, 20) goto Give25Sheep
- else goto NotEnough
- }
- state givetensheep
- {
- desc "Butcher Level 0"
- action RemoveItem(489, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 7);
- action GiveItem(490, 4);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state givetwentysheep
- {
- desc "Butcher Level 0"
- action RemoveItem(489, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 14);
- action GiveItem(490, 8);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give11sheep
- {
- desc "Butcher Level 1"
- action RemoveItem(489, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 12);
- action GiveItem(490, 9);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give21sheep
- {
- desc "Butcher Level 1"
- action RemoveItem(489, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 24);
- action GiveItem(490, 18);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give12sheep
- {
- desc "Butcher Level 2"
- action RemoveItem(489, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 17);
- action GiveItem(490, 14);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give22sheep
- {
- desc "Butcher Level 2"
- action RemoveItem(489, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 34);
- action GiveItem(490, 24);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give13sheep
- {
- desc "Butcher Level 3"
- action RemoveItem(489, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 22);
- action GiveItem(490, 19);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give23sheep
- {
- desc "Butcher Level 3"
- action RemoveItem(489, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 44);
- action GiveItem(490, 38);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give14sheep
- {
- desc "Butcher Level 4"
- action RemoveItem(489, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 27);
- action GiveItem(490, 24);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give24sheep
- {
- desc "Butcher Level 4"
- action RemoveItem(489, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 54);
- action GiveItem(490, 48);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give15sheep
- {
- desc "Butcher Level 5"
- action RemoveItem(489, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 32);
- action GiveItem(490, 29);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give25sheep
- {
- desc "Butcher Level 5"
- action RemoveItem(489, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(488, 64);
- action GiveItem(490, 58);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- 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"
- if GotItems(491, 10) goto Givetenbutterfly
- else goto NotEnough
- }
- state twentybutterfly0
- {
- desc "Butcher Level 0"
- if GotItems(491, 20) goto Givetwentybutterfly
- else goto NotEnough
- }
- state tenbutterfly1
- {
- desc "Butcher Level 1"
- if GotItems(491, 10) goto Give11butterfly
- else goto NotEnough
- }
- state twentybutterfly1
- {
- desc "Butcher Level 1"
- if GotItems(491, 20) goto Give21butterfly
- else goto NotEnough
- }
- state tenbutterfly2
- {
- desc "Butcher Level 2"
- if GotItems(491, 10) goto Give12butterfly
- else goto NotEnough
- }
- state twentybutterfly2
- {
- desc "Butcher Level 2"
- if GotItems(491, 20) goto Give22butterfly
- else goto NotEnough
- }
- state tenbutterfly3
- {
- desc "Butcher Level 3"
- if GotItems(491, 10) goto Give13butterfly
- else goto NotEnough
- }
- state twentybutterfly3
- {
- desc "Butcher Level 3"
- if GotItems(491, 20) goto Give23butterfly
- else goto NotEnough
- }
- state tenbutterfly4
- {
- desc "Butcher Level 4"
- if GotItems(491, 10) goto Give14butterfly
- else goto NotEnough
- }
- state twentybutterfly4
- {
- desc "Butcher Level 4"
- if GotItems(491, 20) goto Give24butterfly
- else goto NotEnough
- }
- state tenbutterfly5
- {
- desc "Butcher Level 5"
- if GotItems(491, 10) goto Give15butterfly
- else goto NotEnough
- }
- state twentybutterfly5
- {
- desc "Butcher Level 5"
- if GotItems(491, 20) goto Give25butterfly
- else goto NotEnough
- }
- state givetenbutterfly
- {
- desc "Butcher Level 0"
- action RemoveItem(491, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 7);
- action GiveItem(492, 4);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state givetwentybutterfly
- {
- desc "Butcher Level 0"
- action RemoveItem(491, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 14);
- action GiveItem(492, 8);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give11butterfly
- {
- desc "Butcher Level 1"
- action RemoveItem(491, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 12);
- action GiveItem(492, 9);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give21butterfly
- {
- desc "Butcher Level 1"
- action RemoveItem(491, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 24);
- action GiveItem(492, 18);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give12butterfly
- {
- desc "Butcher Level 2"
- action RemoveItem(491, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 17);
- action GiveItem(492, 14);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give22butterfly
- {
- desc "Butcher Level 2"
- action RemoveItem(491, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 34);
- action GiveItem(492, 24);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give13butterfly
- {
- desc "Butcher Level 3"
- action RemoveItem(491, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 22);
- action GiveItem(492, 19);
- action GiveItem(505, 12);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give23butterfly
- {
- desc "Butcher Level 3"
- action RemoveItem(491, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 44);
- action GiveItem(492, 38);
- action GiveItem(505, 24);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give14butterfly
- {
- desc "Butcher Level 4"
- action RemoveItem(491, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 27);
- action GiveItem(492, 24);
- action GiveItem(505, 17);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give24butterfly
- {
- desc "Butcher Level 4"
- action RemoveItem(491, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 54);
- action GiveItem(492, 48);
- action GiveItem(505, 34);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give15butterfly
- {
- desc "Butcher Level 5"
- action RemoveItem(491, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 32);
- action GiveItem(492, 29);
- action GiveItem(505, 22);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give25butterfly
- {
- desc "Butcher Level 5"
- action RemoveItem(491, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(504, 64);
- action GiveItem(492, 58);
- action GiveItem(505, 44);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- 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"
- if GotItems(493, 10) goto Givetenfox
- else goto NotEnough
- }
- state twentyfox0
- {
- desc "Butcher Level 0"
- if GotItems(493, 20) goto Givetwentyfox
- else goto NotEnough
- }
- state tenfox1
- {
- desc "Butcher Level 1"
- if GotItems(493, 10) goto Give11fox
- else goto NotEnough
- }
- state twentyfox1
- {
- desc "Butcher Level 1"
- if GotItems(493, 20) goto Give21fox
- else goto NotEnough
- }
- state tenfox2
- {
- desc "Butcher Level 2"
- if GotItems(493, 10) goto Give12fox
- else goto NotEnough
- }
- state twentyfox2
- {
- desc "Butcher Level 2"
- if GotItems(493, 20) goto Give22fox
- else goto NotEnough
- }
- state tenfox3
- {
- desc "Butcher Level 3"
- if GotItems(493, 10) goto Give13fox
- else goto NotEnough
- }
- state twentyfox3
- {
- desc "Butcher Level 3"
- if GotItems(493, 20) goto Give23fox
- else goto NotEnough
- }
- state tenfox4
- {
- desc "Butcher Level 4"
- if GotItems(493, 10) goto Give14fox
- else goto NotEnough
- }
- state twentyfox4
- {
- desc "Butcher Level 4"
- if GotItems(493, 20) goto Give24fox
- else goto NotEnough
- }
- state tenfox5
- {
- desc "Butcher Level 5"
- if GotItems(493, 10) goto Give15fox
- else goto NotEnough
- }
- state twentyfox5
- {
- desc "Butcher Level 5"
- if GotItems(493, 20) goto Give25fox
- else goto NotEnough
- }
- state givetenfox
- {
- desc "Butcher Level 0"
- action RemoveItem(493, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 7);
- action GiveItem(252, 4);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state givetwentyfox
- {
- desc "Butcher Level 0"
- action RemoveItem(493, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 14);
- action GiveItem(252, 8);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give11fox
- {
- desc "Butcher Level 1"
- action RemoveItem(493, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 12);
- action GiveItem(252, 9);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give21fox
- {
- desc "Butcher Level 1"
- action RemoveItem(493, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 24);
- action GiveItem(252, 18);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give12fox
- {
- desc "Butcher Level 2"
- action RemoveItem(493, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 17);
- action GiveItem(252, 14);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give22fox
- {
- desc "Butcher Level 2"
- action RemoveItem(493, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 34);
- action GiveItem(252, 24);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give13fox
- {
- desc "Butcher Level 3"
- action RemoveItem(493, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 22);
- action GiveItem(252, 19);
- action GiveItem(506, 12);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give23fox
- {
- desc "Butcher Level 3"
- action RemoveItem(493, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 44);
- action GiveItem(252, 38);
- action GiveItem(506, 24);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give14fox
- {
- desc "Butcher Level 4"
- action RemoveItem(493, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 27);
- action GiveItem(252, 24);
- action GiveItem(506, 17);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give24fox
- {
- desc "Butcher Level 4"
- action RemoveItem(493, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 54);
- action GiveItem(252, 48);
- action GiveItem(506, 34);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give15fox
- {
- desc "Butcher Level 5"
- action RemoveItem(493, 10);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 32);
- action GiveItem(252, 29);
- action GiveItem(506, 22);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
- state give25fox
- {
- desc "Butcher Level 5"
- action RemoveItem(493, 20);
- action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
- action GiveItem(494, 64);
- action GiveItem(252, 58);
- action GiveItem(506, 44);
- action ShowHint("You successfully extracted material from the carcass.");
- rule TalkedToNpc ( 36 ) goto ButcherLeveling
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement