Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-03.htm
- ===================================================================
- --- dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-03.htm (revision 7809)
- +++ dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-03.htm (working copy)
- @@ -1,3 +1,3 @@
- <html><body>Head Blacksmith Ferris:<br>
- -I need some <font color="LEVEL">enchanted iron</font>. It's made by applying magic to Iron Ore. There aren't any Mystics around, so we'll have to improvise... A creature known as the <font color="LEVEL">enchanted iron golem</font> can be found in the vicinity of the Ivory Tower. Peel off some of its scrap and bring it to me! I'll need about <font color="LEVEL">five</font> pieces. These golems are quite durable, and won't peel away easily. Give it all you've got!
- +I need some <font color="LEVEL">Reinforced Iron Piece</font>. It's made by applying magic to Iron Ore. There aren't any Mystics around, so we'll have to improvise... Creatures known as <font color="LEVEL">Lost Steel Golem</font> and <font color="LEVEL">Frost Steel Golem</font> can be found in Frozen Labyrinth. Peel off some of its scrap and bring it to me! I'll need about <font color="LEVEL">five</font> pieces. These golems are quite durable, and won't peel away easily. Give it all you've got!
- </body></html>
- \ No newline at end of file
- Index: dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-04.html
- ===================================================================
- --- dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-04.html (revision 7809)
- +++ dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-04.html (working copy)
- @@ -1,3 +1,3 @@
- <html><body>Head Blacksmith Ferris:<br>
- -What are you still doing here? Where is the <font color="LEVEL">enchanted iron</font> you said you'd bring me? Remember? Find the <font color="LEVEL">enchanted iron golem</font> in the vicinity of the Ivory Tower, peel off some of its skin and bring it to me! I'll need <font color="LEVEL">five</font> pieces. That golem is a sturdy fellow, you'll really need to use all your strength!
- +What are you still doing here? Where is the <font color="LEVEL">Reinforced Iron Pieces</font> you said you'd bring me? Remember? Find the <font color="LEVEL">Lost Steel Golem</font> and <font color="LEVEL">Frost Steel Golem</font> in Frozen Labyrinth, peel off some of its skin and bring it to me! I'll need <font color="LEVEL">five</font> pieces. That golem is a sturdy fellow, you'll really need to use all your strength!
- </body></html>
- \ No newline at end of file
- Index: dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-05.html
- ===================================================================
- --- dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-05.html (revision 7809)
- +++ dist/game/data/scripts/quests/Q00036_MakeASewingKit/30847-05.html (working copy)
- @@ -1,5 +1,5 @@
- <html><body>Head Blacksmith Ferris:<br>
- -Are these them? Let me see... Ah, yes! The luster, color and hardness... yes, It's definitely enchanted iron! Good job!<br>
- +Are these them? Let me see... Ah, yes! The luster, color and hardness... yes, It's definitely Reinforced Iron Piece! Good job!<br>
- I hate to ask this, but could you do just one more thing? I'm still lacking some of the ingredients I need to make the Sewing kit. Would you obtain them for me too?<br>
- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00036_MakeASewingKit 30847-06.html">"What else do you need?"</Button>
- </body></html>
- \ No newline at end of file
- Index: dist/game/data/scripts/quests/Q00036_MakeASewingKit/Q00036_MakeASewingKit.java
- ===================================================================
- --- dist/game/data/scripts/quests/Q00036_MakeASewingKit/Q00036_MakeASewingKit.java (revision 7809)
- +++ dist/game/data/scripts/quests/Q00036_MakeASewingKit/Q00036_MakeASewingKit.java (working copy)
- @@ -25,7 +25,7 @@
- /**
- * Make a Sewing Kit (36)
- - * @author malyelfik
- + * @author malyelfik, CostyKiller
- */
- public class Q00036_MakeASewingKit extends Quest
- {
- @@ -32,16 +32,18 @@
- // NPC
- private static final int FERRIS = 30847;
- // Monster
- - private static final int REINFORCED_IRON_GOLEM = 20566;
- + private static final int LOST_STEEL_GOLEM = 22091;
- + private static final int FROST_STEEL_GOLEM = 22092;
- // Items
- private static final int IRON_ORE = 36521;
- private static final int COKES = 36561;
- private static final int SEWING_KIT = 7078;
- - private static final int REINFORCED_IRON = 7163;
- + private static final int REINFORCED_IRON_PIECE = 7163;
- // Misc
- private static final int MIN_LEVEL = 85;
- - private static final int IRON_COUNT = 5;
- - private static final int COUNT = 10;
- + private static final int REINFORCED_IRON_PIECE_COUNT = 5;
- + private static final int IRON_ORE_COUNT = 180;
- + private static final int COKES_COUNT = 360;
- public Q00036_MakeASewingKit()
- {
- @@ -48,8 +50,8 @@
- super(36);
- addStartNpc(FERRIS);
- addTalkId(FERRIS);
- - addKillId(REINFORCED_IRON_GOLEM);
- - registerQuestItems(REINFORCED_IRON);
- + addKillId(LOST_STEEL_GOLEM, FROST_STEEL_GOLEM);
- + registerQuestItems(REINFORCED_IRON_PIECE);
- }
- @Override
- @@ -71,17 +73,17 @@
- }
- case "30847-06.html":
- {
- - if (getQuestItemsCount(player, REINFORCED_IRON) < IRON_COUNT)
- + if (getQuestItemsCount(player, REINFORCED_IRON_PIECE) < REINFORCED_IRON_PIECE_COUNT)
- {
- return getNoQuestMsg(player);
- }
- - takeItems(player, REINFORCED_IRON, -1);
- + takeItems(player, REINFORCED_IRON_PIECE, -1);
- qs.setCond(3, true);
- break;
- }
- case "30847-09.html":
- {
- - if ((getQuestItemsCount(player, IRON_ORE) >= COUNT) && (getQuestItemsCount(player, COKES) >= COUNT))
- + if ((getQuestItemsCount(player, IRON_ORE) >= IRON_ORE_COUNT) && (getQuestItemsCount(player, COKES) >= COKES_COUNT))
- {
- takeItems(player, IRON_ORE, 180);
- takeItems(player, COKES, 360);
- @@ -109,8 +111,8 @@
- final PlayerInstance member = getRandomPartyMember(player, 1);
- if ((member != null) && getRandomBoolean())
- {
- - giveItems(player, REINFORCED_IRON, 1);
- - if (getQuestItemsCount(player, REINFORCED_IRON) >= IRON_COUNT)
- + giveItems(player, REINFORCED_IRON_PIECE, 1);
- + if (getQuestItemsCount(player, REINFORCED_IRON_PIECE) >= REINFORCED_IRON_PIECE_COUNT)
- {
- getQuestState(member, false).setCond(2, true);
- }
- @@ -151,7 +153,7 @@
- }
- case 3:
- {
- - htmltext = ((getQuestItemsCount(player, IRON_ORE) >= COUNT) && (getQuestItemsCount(player, COKES) >= COUNT)) ? "30847-07.html" : "30847-08.html";
- + htmltext = ((getQuestItemsCount(player, IRON_ORE) >= IRON_ORE_COUNT) && (getQuestItemsCount(player, COKES) >= COKES_COUNT)) ? "30847-07.html" : "30847-08.html";
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement