diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-07-03 01:32:11 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-07-03 01:32:11 +0200 |
commit | ca6cf1156216b356f33ba818b8a560a6cab73261 (patch) | |
tree | e31189280418d0687949c0c40dd5b21c72052232 | |
parent | 236a05f41d0244ba0ed7a200f023f4b52fe87ee8 (diff) | |
download | serverdata-ca6cf1156216b356f33ba818b8a560a6cab73261.tar.gz serverdata-ca6cf1156216b356f33ba818b8a560a6cab73261.tar.bz2 serverdata-ca6cf1156216b356f33ba818b8a560a6cab73261.tar.xz serverdata-ca6cf1156216b356f33ba818b8a560a6cab73261.zip |
Flip ingot_create() args to make more sense
-rw-r--r-- | npc/003-8/jhedia.txt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt index fe07e526c..28ea60bd7 100644 --- a/npc/003-8/jhedia.txt +++ b/npc/003-8/jhedia.txt @@ -10,13 +10,13 @@ 003-8,28,30,0 script Jhedia NPC_ELVEN_FEMALE,{ goto L_Menu; - // ingot_create( BaseItem, PrizeItem, Amount, Amount_Coal, Price ) + // ingot_create( PrizeItem, Price, OreId, OreAmount, CoalAmount ) function ingot_create { - .@ore_id = getarg(0); - .@prize = getarg(1); - .@ore_amount = getarg(2); - .@coal_amount = getarg(3); - .@price = getarg(4); + .@prize = getarg(0); + .@price = getarg(1); + .@ore_id = getarg(2); + .@ore_amount = getarg(3); + .@coal_amount = getarg(4); .@price = POL_AdjustPrice(.@price); @@ -89,37 +89,37 @@ L_Menu: // ingot_create(Ore, Ingot, Nº of Ore, Nº of Coal, Price); switch (@menu) { case 1: - ingot_create(IronOre, IronIngot, 6, 9, 740); + ingot_create(IronIngot, 740, IronOre, 6, 9); break; case 2: - ingot_create(CopperOre, CopperIngot, 4, 7, 750); + ingot_create(CopperIngot, 750, CopperOre, 4, 7); break; case 3: - ingot_create(TinOre, TinIngot, 4, 9, 750); + ingot_create(TinIngot, 750, TinOre, 4, 9); break; case 4: - ingot_create(SilverOre, SilverIngot, 3, 7, 650); + ingot_create(SilverIngot, 650, SilverOre, 3, 7); break; case 5: - ingot_create(GoldOre, GoldIngot, 3, 9, 850); + ingot_create(GoldIngot, 850, GoldOre, 3, 9); break; case 6: - ingot_create(GoldOre, GoldPieces, 1, 20, 1100); + ingot_create(GoldPieces, 1100, GoldOre, 1, 20); break; case 7: - ingot_create(LeadOre, LeadIngot, 4, 1, 760); + ingot_create(LeadIngot, 760, LeadOre, 4, 1); break; case 8: - ingot_create(TitaniumOre, TitaniumIngot, 4, 9, 800); + ingot_create(TitaniumIngot, 800, TitaniumOre, 4, 9); break; case 9: - ingot_create(IridiumOre, IridiumIngot, 4, 10, 1100); + ingot_create(IridiumIngot, 1100, IridiumOre, 4, 10); break; case 10: - ingot_create(PlatinumOre, PlatinumIngot, 3, 10, 1650); + ingot_create(PlatinumIngot, 1650, PlatinumOre, 3, 10); break; case 11: - ingot_create(TerraniteOre, TerraniteIngot, 10, 20, 2000); + ingot_create(TerraniteIngot, 2000, TerraniteOre, 10, 20); break; default: goto L_Close; |