// TMW2 Script // Author: // Jesusalva // Description: // Trades Strange Coins for useful items 001-1,243,26,0 script Aeros Trader NPC_M_COINKEEPER,{ mesn; mesq l("Oh, hello there! Welcome to the Mana Plane Of Existence!"); next; mesn; mesq l("In this wonderful realm, you can find and earn many @@, our currency!", getitemlink(StrangeCoin)); next; mesn; mesq l("You can then trade these coins for items with me!"); next; openshop; closedialog; close; OnInit: .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, TopHat); setunitdata(.@npcId, UDT_HEADMIDDLE, GoldenWarlordPlate); setunitdata(.@npcId, UDT_WEAPON, JeansChaps); setunitdata(.@npcId, UDT_HEADBOTTOM, AssassinBoots); setunitdata(.@npcId, UDT_HAIRSTYLE, 25); setunitdata(.@npcId, UDT_HAIRCOLOR, 4); .sex = G_MALE; .distance = 5; tradertype(NST_CUSTOM); // Rare Equipment selection. // *these* are really rare! // Maximum 30,000 sellitem MysteriousFruit,10000; // This is OP sellitem DoggyDog,9000; sellitem CattyCat,9000; sellitem DarkPulsar,6000; sellitem ThunderStaff,5000; sellitem PiouEgg,3915; sellitem DeliciousCookie,3240; sellitem SmileyCap, 1820; sellitem EyePatch, 1620; sellitem Doll, 1420; sellitem TopHat, 1220; sellitem HeartGlasses,960; sellitem BowlerHat, 720; sellitem AshUrn,630; sellitem BrimmedFeatherHat, 540; sellitem Googles,540; sellitem LeatherBall, 480; sellitem ClericCap, 440; sellitem Barrel,400; // Temporary, Seasonal, for events, rare drops, next release sellitem MercBoxEE,1200; sellitem MercBoxDD,950; sellitem MercBoxE,900; sellitem MercBoxD,600; sellitem ArcmageBoxset,500; sellitem BoneAmmoBox,180; sellitem ThornAmmoBox,80; // Dye Shop // RARE 3 sellitem PurpleDye, 300; sellitem DarkRedDye, 270; sellitem BlackDye, 250; // RARE 2 sellitem SilverDye, 200; sellitem NavyBlueDye, 200; sellitem BlueGrayDye, 200; sellitem FuschiaDye, 200; sellitem BrownDye, 200; sellitem MauveDye, 200; // Rare 1 sellitem RedDye, 100; sellitem CamelDye, 100; sellitem CrimsonDye, 100; sellitem KhakiDye, 100; sellitem MintDye, 100; // Normal sellitem TealDye, 45; sellitem PinkDye, 45; sellitem GreenDye, 45; // Quest sellitem LimeDye, 30; // Shop, 1200 GP // Low rarity sellitem BlueDye, 22; sellitem YellowDye, 22; sellitem ChocolateDye, 22; sellitem OrangeDye, 22; // Shop, 495 GP // Consumables sellitem MagicApple,115; sellitem SacredLifePotion,60; sellitem SacredManaPotion,60; sellitem ElixirOfLife,32; sellitem ScrollMagnusHealA,28; sellitem WhiskeyAle,28; sellitem YerbaMate,22; sellitem CelestiaTea,17; sellitem BottleOfDivineWater, 15; sellitem PrecisionPotion,9; sellitem DodgePotion,9; sellitem Curshroom,6; sellitem PetcaringGuide,5; // I needed to add this somewhere sellitem ScrollSCave,3; sellitem SmokeGrenade,3; end; /* set currency to be item 828 */ OnCountFunds: setcurrency(countitem(StrangeCoin)); end; /* @price is total cost. @points is if we accept two items as currency. */ OnPayFunds: //dispbottom "Hi: price="+@price+" and points="+@points; if( countitem(StrangeCoin) < @price ) end; delitem StrangeCoin,@price; purchaseok(); end; }