diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/craft/price.txt | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/npc/craft/price.txt b/npc/craft/price.txt index 88e90f5ce..e50af153a 100644 --- a/npc/craft/price.txt +++ b/npc/craft/price.txt @@ -50,10 +50,10 @@ function script _fix_cPrice { } // Increase the final price - debugmes("Price %d + %d GP (%dx %s)", .@price, getiteminfo(.@recipe_item, ITEMINFO_SELLPRICE), + //debugmes("Price %d + %d GP (%dx %s)", .@price, getiteminfo(.@recipe_item, ITEMINFO_SELLPRICE), .@recipe_qty, getitemname(.@recipe_item)); .@price += getiteminfo(.@recipe_item, ITEMINFO_SELLPRICE) * .@recipe_qty; - debugmes("New price: %d", .@price); + //debugmes("New price: %d", .@price); } // Update the final price @@ -61,7 +61,7 @@ function script _fix_cPrice { consoleinfo("Price for %s adjusted from %d (%d) to %d (%d) GP", getitemname(.@item), getiteminfo(.@item, ITEMINFO_BUYPRICE), getiteminfo(.@item, ITEMINFO_SELLPRICE), .@price * .@m / 10, .@price); setiteminfo(.@item, ITEMINFO_BUYPRICE, .@price * .@m / 10); setiteminfo(.@item, ITEMINFO_SELLPRICE, .@price); - debugmes("New Price for %s is now %d (%d) GP", getitemname(.@item), getiteminfo(.@item, ITEMINFO_BUYPRICE), getiteminfo(.@item, ITEMINFO_SELLPRICE)); + //debugmes("New Price for %s is now %d (%d) GP", getitemname(.@item), getiteminfo(.@item, ITEMINFO_BUYPRICE), getiteminfo(.@item, ITEMINFO_SELLPRICE)); } } debugmes "\n\n-------------------------------------------------------"; @@ -136,7 +136,45 @@ function script fix_cPrice { // And misc _fix_cPrice(TerranitePants); _fix_cPrice(TerraniteArmor); - _fix_cPrice(Skypiercer); + _fix_cPrice(Skypiercer, 40); + + // And shields + _fix_cPrice(WoodenShield); + _fix_cPrice(BladeShield); + _fix_cPrice(BraknarShield); + _fix_cPrice(BritShield); + _fix_cPrice(BromenalShield); + _fix_cPrice(BlueKnightShield); + _fix_cPrice(SteelShield); + _fix_cPrice(DragonShield); + _fix_cPrice(SaviorShield, 40); + + // Chest Armor + _fix_cPrice(LeatherShirt); + _fix_cPrice(LieutenantArmor); + _fix_cPrice(Chainmail); + _fix_cPrice(CopperArmor); + _fix_cPrice(LightPlatemail); + _fix_cPrice(GoldenLightPlatemail); + _fix_cPrice(WarlordPlate); + _fix_cPrice(GoldenWarlordPlate); + _fix_cPrice(BromenalChest); + _fix_cPrice(AssassinChest); + + // Pants + //_fix_cPrice(JeansShorts); + _fix_cPrice(RaidTrousers); + _fix_cPrice(LeatherTrousers); + _fix_cPrice(JeansChaps); + _fix_cPrice(SilkPants); + _fix_cPrice(ChainmailSkirt); + _fix_cPrice(BromenalPants); + _fix_cPrice(WarlordPants); + _fix_cPrice(AssassinPants); + + // TOOD: Gloves, Helmets + //_fix_cPrice(Kitana); + return; } |