SRL Archive - SRL Archives

First three functions of GrandExchane.scar!


Gu3st...

2008-04-27 08:52:30

I've made some functions that gets the market price of an item you enter.
GetPrice('Dragon Axe') results 2400000 (2.4m).

//-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- » GrandExchange Routines --//
//-----------------------------------------------------------------//

// » function GetGEPrice(IDNumber: Integer): string; | by Zytex!
// » function GetName(IDNumber: Integer): string; | by Zytex!
// » function GetPrice(SearchName: String): string; | by Zytex!

{*******************************************************************************
function GetName(IDNumber): string;
By: Zytex!
Description: Outputs name of the id
Example: GetName(440); = Iron Ore
*******************************************************************************}

function GetName(IDNumber: Integer) : string;
begin
Result := Between('0;"> ', '</h2', GetPage('http://itemdb-rs.runescape.com/viewitem.ws?obj=' + IntToStr(IDNumber)));
end;

{*******************************************************************************
function GetGEPrice(IDNumber): string;
By: Zytex!
Description: Outputs price of the id
Example: GetPrice(440); = 90
*******************************************************************************}

function GetGEPrice(IDNumber: Integer) : string;
begin
Result := Between('t price:</b> ', '</sp', GetPage('http://itemdb-rs.runescape.com/viewitem.ws?obj=' + IntToStr(IDNumber)));
end;

{*******************************************************************************
function GetPrice(SearchName: string): string;
By: Zytex!
Description: Outputs price of the name
Example: GetGEPrice('Iron Ore'); = 90
*******************************************************************************}

function GetPrice(SearchName: string):string;
var
ID, I : Integer;
begin
case LowerCase(SearchName) of
'cannonball': ID := 2;
'cannon base': ID := 6;
'cannon stand': ID := 8;
'cannon barrels': ID := 10;
'cannon furnace': ID := 12;
'candle': ID := 36;
'bronze arrowtips': ID := 39;
'iron arrowtips': ID := 40;
'steel arrowtips': ID := 41;
'mithril arrowtips': ID := 42;
'adamant arrowtips': ID := 43;
'rune arrowtips': ID := 44;
'opal bolt tips': ID := 45;
'pearl bolt tips': ID := 46;
'barb bolttips': ID := 47;
'longbow (u)': ID := 48;
'shortbow (u)': ID := 50;
'arrow shaft': ID := 52;
'headless arrow': ID := 53;
'oak shortbow (u)': ID := 54;
'oak longbow (u)': ID := 56;
'willow longbow (u)': ID := 58;
'willow shortbow (u)': ID := 60;
'maple longbow (u)': ID := 62;
'maple shortbow (u)': ID := 64;
'yew longbow (u)': ID := 66;
'yew shortbow (u)': ID := 68;
'magic longbow (u)': ID := 70;
'magic shortbow (u)': ID := 72;
'guam potion(unf)': ID := 91;
'marrentill potion(unf)': ID := 93;
'tarromin potion(unf)': ID := 95;
'harralander potion(unf)': ID := 97;
'ranarr potion(unf)': ID := 99;
'irit potion(unf)': ID := 101;
'avantoe potion(unf)': ID := 103;
'kwuarm potion(unf)': ID := 105;
'cadantine potion(unf)': ID := 107;
'dwarf weed potion(unf)': ID := 109;
'torstol potion(unf)': ID := 111;
'strength potion(4)': ID := 113;
'strength potion(3)': ID := 115;
'strength potion(2)': ID := 117;
'strength potion(1)': ID := 119;
'attack potion(3)': ID := 121;
'attack potion(2)': ID := 123;
'attack potion(1)': ID := 125;
'restore potion(3)': ID := 127;
'restore potion(2)': ID := 129;
'restore potion(1)': ID := 131;
'defence potion(3)': ID := 133;
'defence potion(2)': ID := 135;
'defence potion(1)': ID := 137;
'prayer potion(3)': ID := 139;
'prayer potion(2)': ID := 141;
'prayer potion(1)': ID := 143;
'super attack(3)': ID := 145;
'super attack(2)': ID := 147;
'super attack(1)': ID := 149;
'fishing potion(3)': ID := 151;
'fishing potion(2)': ID := 153;
'fishing potion(1)': ID := 155;
'super strength(3)': ID := 157;
'super strength(2)': ID := 159;
'super strength(1)': ID := 161;
'super defence(3)': ID := 163;
'super defence(2)': ID := 165;
'super defence(1)': ID := 167;
'ranging potion(3)': ID := 169;
'ranging potion(2)': ID := 171;
'ranging potion(1)': ID := 173;
'antipoison(3)': ID := 175;
'antipoison(2)': ID := 177;
'antipoison(1)': ID := 179;
'super antipoison(3)': ID := 181;
'super antipoison(2)': ID := 183;
'super antipoison(1)': ID := 185;
'weapon poison': ID := 187;
'zamorak brew(3)': ID := 189;
'zamorak brew(2)': ID := 191;
'zamorak brew(1)': ID := 193;
'potion': ID := 195;
'poison chalice': ID := 197;
'grimy guam': ID := 199;
'grimy marrentill': ID := 201;
'grimy tarromin': ID := 203;
'grimy harralander': ID := 205;
'grimy ranarr': ID := 207;
'grimy irit': ID := 209;
'grimy avantoe': ID := 211;
'grimy kwuarm': ID := 213;
'grimy cadantine': ID := 215;
'grimy dwarf weed': ID := 217;
'grimy torstol': ID := 219;
'eye of newt': ID := 221;
'red spiders'' eggs': ID := 223;
'limpwurt root': ID := 225;
'vial of water': ID := 227;
'vial': ID := 229;
'snape grass': ID := 231;
'pestle and mortar': ID := 233;
'unicorn horn dust': ID := 235;
'unicorn horn': ID := 237;
'white berries': ID := 239;
'dragon scale dust': ID := 241;
'blue dragon scale': ID := 243;
'wine of zamorak': ID := 245;
'jangerberries': ID := 247;
'clean guam': ID := 249;
'clean marrentill': ID := 251;
'clean tarromin': ID := 253;
'clean harralander': ID := 255;
'clean ranarr': ID := 257;
'clean irit': ID := 259;
'clean avantoe': ID := 261;
'clean kwuarm': ID := 263;
'clean cadantine': ID := 265;
'clean dwarf weed': ID := 267;
'clean torstol': ID := 269;
'goblin mail': ID := 288;
'mithril seeds': ID := 299;
'lobster pot': ID := 301;
'small fishing net': ID := 303;
'big fishing net': ID := 305;
'fishing rod': ID := 307;
'fly fishing rod': ID := 309;
'harpoon': ID := 311;
'fishing bait': ID := 313;
'feather': ID := 314;
'shrimps': ID := 315;
'raw shrimps': ID := 317;
'anchovies': ID := 319;
'raw anchovies': ID := 321;
'sardine': ID := 325;
'raw sardine': ID := 327;
'salmon': ID := 329;
'raw salmon': ID := 331;
'trout': ID := 333;
'raw trout': ID := 335;
'cod': ID := 339;
'raw cod': ID := 341;
'raw herring': ID := 345;
'herring': ID := 347;
'raw pike': ID := 349;
'pike': ID := 351;
'raw mackerel': ID := 353;
'mackerel': ID := 355;
'raw tuna': ID := 359;
'tuna': ID := 361;
'raw bass': ID := 363;
'bass': ID := 365;
'raw swordfish': ID := 371;
'swordfish': ID := 373;
'raw lobster': ID := 377;
'lobster': ID := 379;
'raw shark': ID := 383;
'shark': ID := 385;
'raw manta ray': ID := 389;
'manta ray': ID := 391;
'raw sea turtle': ID := 395;
'sea turtle': ID := 397;
'seaweed': ID := 401;
'edible seaweed': ID := 403;
'casket': ID := 405;
'oyster': ID := 407;
'empty oyster': ID := 409;
'oyster pearl': ID := 411;
'oyster pearls': ID := 413;
'priest gown': ID := 426;
'priest gown': ID := 428;
'clay': ID := 434;
'copper ore': ID := 436;
'tin ore': ID := 438;
'iron ore': ID := 440;
'silver ore': ID := 442;
'gold ore': ID := 444;
'mithril ore': ID := 447;
'adamantite ore': ID := 449;
'runite ore': ID := 451;
'coal': ID := 453;
'strange fruit': ID := 464;
'pickaxe handle': ID := 466;
'broken pickaxe': ID := 468;
'broken pickaxe': ID := 470;
'broken pickaxe': ID := 472;
'broken pickaxe': ID := 474;
'broken pickaxe': ID := 476;
'broken pickaxe': ID := 478;
'bronze pick head': ID := 480;
'iron pick head': ID := 482;
'steel pick head': ID := 484;
'mithril pick head': ID := 486;
'adamant pick head': ID := 488;
'rune pick head': ID := 490;
'broken axe': ID := 494;
'broken axe': ID := 496;
'broken axe': ID := 498;
'broken axe': ID := 500;
'broken axe': ID := 502;
'broken axe': ID := 504;
'broken axe': ID := 506;
'bones': ID := 526;
'burnt bones': ID := 528;
'bat bones': ID := 530;
'big bones': ID := 532;
'babydragon bones': ID := 534;
'dragon bones': ID := 536;
'druid''s robe': ID := 538;
'druid''s robe': ID := 540;
'monk''s robe': ID := 542;
'monk''s robe': ID := 544;
'newcomer map': ID := 550;
'fire rune': ID := 554;
'water rune': ID := 555;
'air rune': ID := 556;
'earth rune': ID := 557;
'mind rune': ID := 558;
'body rune': ID := 559;
'death rune': ID := 560;
'nature rune': ID := 561;
'chaos rune': ID := 562;
'law rune': ID := 563;
'cosmic rune': ID := 564;
'blood rune': ID := 565;
'soul rune': ID := 566;
'unpowered orb': ID := 567;
'fire orb': ID := 569;
'water orb': ID := 571;
'air orb': ID := 573;
'earth orb': ID := 575;
'wizard robe': ID := 577;
'wizard hat': ID := 579;
'black robe': ID := 581;
'bailing bucket': ID := 583;
'bailing bucket': ID := 585;
'tinderbox': ID := 590;
'ashes': ID := 592;
'unlit torch': ID := 596;
'bronze fire arrows': ID := 598;
'astronomy book': ID := 600;
'boots': ID := 626;
'boots': ID := 628;
'boots': ID := 630;
'boots': ID := 632;
'boots': ID := 634;
'robe top': ID := 636;
'robe top': ID := 638;
'robe top': ID := 640;
'robe top': ID := 642;
'robe top': ID := 644;
'robe bottoms': ID := 646;
'robe bottoms': ID := 648;
'robe bottoms': ID := 650;
'robe bottoms': ID := 652;
'robe bottoms': ID := 654;
'hat': ID := 656;
'hat': ID := 658;
'hat': ID := 660;
'hat': ID := 662;
'hat': ID := 664;
'cadava berries': ID := 753;
'bronze thrownaxe': ID := 800;
'iron thrownaxe': ID := 801;
'steel thrownaxe': ID := 802;
'mithril thrownaxe': ID := 803;
'addy thrownaxe': ID := 804;
'rune thrownaxe': ID := 805;
'bronze dart': ID := 806;
'iron dart': ID := 807;
'steel dart': ID := 808;
'mithril dart': ID := 809;
'adamant dart': ID := 810;
'rune dart': ID := 811;
'bronze dart(p)': ID := 812;
'iron dart(p)': ID := 813;
'steel dart(p)': ID := 814;
'mithril dart(p)': ID := 815;
'adamant dart(p)': ID := 816;
'rune dart(p)': ID := 817;
'bronze dart tip': ID := 819;
'iron dart tip': ID := 820;
'steel dart tip': ID := 821;
'mithril dart tip': ID := 822;
'adamant dart tip': ID := 823;
'rune dart tip': ID := 824;
'bronze javelin': ID := 825;
'iron javelin': ID := 826;
'steel javelin': ID := 827;
'mithril javelin': ID := 828;
'adamant javelin': ID := 829;
'rune javelin': ID := 830;
'bronze javelin(p)': ID := 831;
'iron javelin(p)': ID := 832;
'steel javelin(p)': ID := 833;
'mithril javelin(p)': ID := 834;
'adamant javelin(p)': ID := 835;
'rune javelin(p)': ID := 836;
'crossbow': ID := 837;
'longbow': ID := 839;
'shortbow': ID := 841;
'oak shortbow': ID := 843;
'oak longbow': ID := 845;
'willow longbow': ID := 847;
'willow shortbow': ID := 849;
'maple longbow': ID := 851;
'maple shortbow': ID := 853;
'yew longbow': ID := 855;
'yew shortbow': ID := 857;
'magic longbow': ID := 859;
'magic shortbow': ID := 861;
'iron knife': ID := 863;
'bronze knife': ID := 864;
'steel knife': ID := 865;
'mithril knife': ID := 866;
'adamant knife': ID := 867;
'rune knife': ID := 868;
'black knife': ID := 869;
'bronze knife(p)': ID := 870;
'iron knife(p)': ID := 871;
'steel knife(p)': ID := 872;
'mithril knife(p)': ID := 873;
'black knife(p)': ID := 874;
'adamant knife(p)': ID := 875;
'rune knife(p)': ID := 876;
'bronze bolts': ID := 877;
'bronze bolts(p)': ID := 878;
'opal bolts': ID := 879;
'pearl bolts': ID := 880;
'barbed bolts': ID := 881;
'bronze arrow': ID := 882;
'bronze arrow(p)': ID := 883;
'iron arrow': ID := 884;
'iron arrow(p)': ID := 885;
'steel arrow': ID := 886;
'steel arrow(p)': ID := 887;
'mithril arrow': ID := 888;
'mithril arrow(p)': ID := 889;
'adamant arrow': ID := 890;
'adamant arrow(p)': ID := 891;
'rune arrow': ID := 892;
'rune arrow(p)': ID := 893;
'bronze fire arrows': ID := 942;
'knife': ID := 946;
'bear fur': ID := 948;
'silk': ID := 950;
'spade': ID := 952;
'rope': ID := 954;
'grey wolf fur': ID := 958;
'plank': ID := 960;
'christmas cracker': ID := 962;
'papyrus': ID := 970;
'charcoal': ID := 973;
'machete': ID := 975;
'disk of returning': ID := 981;
'brass key': ID := 983;
'tooth half of a key': ID := 985;
'loop half of a key': ID := 987;
'crystal key': ID := 989;
'muddy key': ID := 991;
'sinister key': ID := 993;
'white apron': ID := 1005;
'cape': ID := 1007;
'brass necklace': ID := 1009;
'blue skirt': ID := 1011;
'pink skirt': ID := 1013;
'black skirt': ID := 1015;
'wizard hat': ID := 1017;
'cape': ID := 1019;
'cape': ID := 1021;
'cape': ID := 1023;
'eye patch': ID := 1025;
'cape': ID := 1027;
'cape': ID := 1029;
'cape': ID := 1031;
'zamorak robe': ID := 1033;
'zamorak robe': ID := 1035;
'red partyhat': ID := 1038;
'yellow partyhat': ID := 1040;
'blue partyhat': ID := 1042;
'green partyhat': ID := 1044;
'purple partyhat': ID := 1046;
'white partyhat': ID := 1048;
'santa hat': ID := 1050;
'green h''ween mask': ID := 1053;
'blue h''ween mask': ID := 1055;
'red h''ween mask': ID := 1057;
'leather gloves': ID := 1059;
'leather boots': ID := 1061;
'leather vambraces': ID := 1063;
'green d''hide vamb': ID := 1065;
'iron platelegs': ID := 1067;
'steel platelegs': ID := 1069;
'mithril platelegs': ID := 1071;
'adamant platelegs': ID := 1073;
'bronze platelegs': ID := 1075;
'black platelegs': ID := 1077;
'rune platelegs': ID := 1079;
'iron plateskirt': ID := 1081;
'steel plateskirt': ID := 1083;
'mithril plateskirt': ID := 1085;
'bronze plateskirt': ID := 1087;
'black plateskirt': ID := 1089;
'adamant plateskirt': ID := 1091;
'rune plateskirt': ID := 1093;
'leather chaps': ID := 1095;
'studded chaps': ID := 1097;
'green d''hide chaps': ID := 1099;
'iron chainbody': ID := 1101;
'bronze chainbody': ID := 1103;
'steel chainbody': ID := 1105;
'black chainbody': ID := 1107;
'mithril chainbody': ID := 1109;
'adamant chainbody': ID := 1111;
'rune chainbody': ID := 1113;
'iron platebody': ID := 1115;
'bronze platebody': ID := 1117;
'steel platebody': ID := 1119;
'mithril platebody': ID := 1121;
'adamant platebody': ID := 1123;
'black platebody': ID := 1125;
'rune platebody': ID := 1127;
'leather body': ID := 1129;
'hardleather body': ID := 1131;
'studded body': ID := 1133;
'green d''hide body': ID := 1135;
'iron med helm': ID := 1137;
'bronze med helm': ID := 1139;
'steel med helm': ID := 1141;
'mithril med helm': ID := 1143;
'adamant med helm': ID := 1145;
'rune med helm': ID := 1147;
'dragon med helm': ID := 1149;
'black med helm': ID := 1151;
'iron full helm': ID := 1153;
'bronze full helm': ID := 1155;
'steel full helm': ID := 1157;
'mithril full helm': ID := 1159;
'adamant full helm': ID := 1161;
'rune full helm': ID := 1163;
'black full helm': ID := 1165;
'leather cowl': ID := 1167;
'coif': ID := 1169;
'wooden shield': ID := 1171;
'bronze sq shield': ID := 1173;
'iron sq shield': ID := 1175;
'steel sq shield': ID := 1177;
'black sq shield': ID := 1179;
'mithril sq shield': ID := 1181;
'adamant sq shield': ID := 1183;
'rune sq shield': ID := 1185;
'dragon sq shield': ID := 1187;
'bronze kiteshield': ID := 1189;
'iron kiteshield': ID := 1191;
'steel kiteshield': ID := 1193;
'black kiteshield': ID := 1195;
'mithril kiteshield': ID := 1197;
'adamant kiteshield': ID := 1199;
'rune kiteshield': ID := 1201;
'iron dagger': ID := 1203;
'bronze dagger': ID := 1205;
'steel dagger': ID := 1207;
'mithril dagger': ID := 1209;
'adamant dagger': ID := 1211;
'rune dagger': ID := 1213;
'dragon dagger': ID := 1215;
'black dagger': ID := 1217;
'iron dagger(p)': ID := 1219;
'bronze dagger(p)': ID := 1221;
'steel dagger(p)': ID := 1223;
'mithril dagger(p)': ID := 1225;
'adamant dagger(p)': ID := 1227;
'rune dagger(p)': ID := 1229;
'dragon dagger(p)': ID := 1231;
'black dagger(p)': ID := 1233;
'bronze spear': ID := 1237;
'iron spear': ID := 1239;
'steel spear': ID := 1241;
'mithril spear': ID := 1243;
'adamant spear': ID := 1245;
'rune spear': ID := 1247;
'dragon spear': ID := 1249;
'bronze spear(p)': ID := 1251;
'iron spear(p)': ID := 1253;
'steel spear(p)': ID := 1255;
'mithril spear(p)': ID := 1257;
'adamant spear(p)': ID := 1259;
'rune spear(p)': ID := 1261;
'dragon spear(p)': ID := 1263;
'bronze pickaxe': ID := 1265;
'iron pickaxe': ID := 1267;
'steel pickaxe': ID := 1269;
'adamant pickaxe': ID := 1271;
'mithril pickaxe': ID := 1273;
'rune pickaxe': ID := 1275;
'bronze sword': ID := 1277;
'iron sword': ID := 1279;
'steel sword': ID := 1281;
'black sword': ID := 1283;
'mithril sword': ID := 1285;
'adamant sword': ID := 1287;
'rune sword': ID := 1289;
'bronze longsword': ID := 1291;
'iron longsword': ID := 1293;
'steel longsword': ID := 1295;
'black longsword': ID := 1297;
'mithril longsword': ID := 1299;
'adamant longsword': ID := 1301;
'rune longsword': ID := 1303;
'dragon longsword': ID := 1305;
'bronze 2h sword': ID := 1307;
'iron 2h sword': ID := 1309;
'steel 2h sword': ID := 1311;
'black 2h sword': ID := 1313;
'mithril 2h sword': ID := 1315;
'adamant 2h sword': ID := 1317;
'rune 2h sword': ID := 1319;
'bronze scimitar': ID := 1321;
'iron scimitar': ID := 1323;
'steel scimitar': ID := 1325;
'black scimitar': ID := 1327;
'mithril scimitar': ID := 1329;
'adamant scimitar': ID := 1331;
'rune scimitar': ID := 1333;
'iron warhammer': ID := 1335;
'bronze warhammer': ID := 1337;
'steel warhammer': ID := 1339;
'black warhammer': ID := 1341;
'mithril warhammer': ID := 1343;
'addy warhammer': ID := 1345;
'rune warhammer': ID := 1347;
'iron axe': ID := 1349;
'bronze axe': ID := 1351;
'steel axe': ID := 1353;
'mithril axe': ID := 1355;
'adamant axe': ID := 1357;
'rune axe': ID := 1359;
'black axe': ID := 1361;
'iron battleaxe': ID := 1363;
'steel battleaxe': ID := 1365;
'black battleaxe': ID := 1367;
'mithril battleaxe': ID := 1369;
'adamant battleaxe': ID := 1371;
'rune battleaxe': ID := 1373;
'bronze battleaxe': ID := 1375;
'dragon battleaxe': ID := 1377;
'staff': ID := 1379;
'staff of air': ID := 1381;
'staff of water': ID := 1383;
'staff of earth': ID := 1385;
'staff of fire': ID := 1387;
'magic staff': ID := 1389;
'battlestaff': ID := 1391;
'fire battlestaff': ID := 1393;
'water battlestaff': ID := 1395;
'air battlestaff': ID := 1397;
'earth battlestaff': ID := 1399;
'mystic fire staff': ID := 1401;
'mystic water staff': ID := 1403;
'mystic air staff': ID := 1405;
'mystic earth staff': ID := 1407;
'iron mace': ID := 1420;
'bronze mace': ID := 1422;
'steel mace': ID := 1424;
'black mace': ID := 1426;
'mithril mace': ID := 1428;
'adamant mace': ID := 1430;
'rune mace': ID := 1432;
'dragon mace': ID := 1434;
'rune essence': ID := 1436;
'air talisman': ID := 1438;
'earth talisman': ID := 1440;
'fire talisman': ID := 1442;
'water talisman': ID := 1444;
'body talisman': ID := 1446;
'mind talisman': ID := 1448;
'blood talisman': ID := 1450;
'chaos talisman': ID := 1452;
'cosmic talisman': ID := 1454;
'death talisman': ID := 1456;
'nature talisman': ID := 1462;
'archery ticket': ID := 1464;
'red bead': ID := 1470;
'yellow bead': ID := 1472;
'black bead': ID := 1474;
'white bead': ID := 1476;
'amulet of accuracy': ID := 1478;
'logs': ID := 1511;
'magic logs': ID := 1513;
'yew logs': ID := 1515;
'maple logs': ID := 1517;
'willow logs': ID := 1519;
'oak logs': ID := 1521;
'lockpick': ID := 1523;
'steel nails': ID := 1539;
'anti-dragon shield': ID := 1540;
'garlic': ID := 1550;
'ring mould': ID := 1592;
'amulet mould': ID := 1595;
'necklace mould': ID := 1597;
'holy mould': ID := 1599;
'diamond': ID := 1601;
'ruby': ID := 1603;
'emerald': ID := 1605;
'sapphire': ID := 1607;
'opal': ID := 1609;
'jade': ID := 1611;
'red topaz': ID := 1613;
'dragonstone': ID := 1615;
'uncut diamond': ID := 1617;
'uncut ruby': ID := 1619;
'uncut emerald': ID := 1621;
'uncut sapphire': ID := 1623;
'uncut opal': ID := 1625;
'uncut jade': ID := 1627;
'uncut red topaz': ID := 1629;
'uncut dragonstone': ID := 1631;
'crushed gem': ID := 1633;
'gold ring': ID := 1635;
'sapphire ring': ID := 1637;
'emerald ring': ID := 1639;
'ruby ring': ID := 1641;
'diamond ring': ID := 1643;
'dragonstone ring': ID := 1645;
'gold necklace': ID := 1654;
'sapphire necklace': ID := 1656;
'emerald necklace': ID := 1658;
'ruby necklace': ID := 1660;
'diamond necklace': ID := 1662;
'dragon necklace': ID := 1664;
'gold amulet': ID := 1673;
'sapphire amulet': ID := 1675;
'emerald amulet': ID := 1677;
'ruby amulet': ID := 1679;
'diamond amulet': ID := 1681;
'dragonstone ammy': ID := 1683;
'gold amulet': ID := 1692;
'sapphire amulet': ID := 1694;
'emerald amulet': ID := 1696;
'ruby amulet': ID := 1698;
'diamond amulet': ID := 1700;
'dragonstone ammy': ID := 1702;
'amulet of glory': ID := 1704;
'amulet of glory(1)': ID := 1706;
'amulet of glory(2)': ID := 1708;
'amulet of glory(3)': ID := 1710;
'amulet of glory(4)': ID := 1712;
'unstrung symbol': ID := 1714;
'unblessed symbol': ID := 1716;
'holy symbol': ID := 1718;
'unstrung emblem': ID := 1720;
'unpowered symbol': ID := 1722;
'unholy symbol': ID := 1724;
'amulet of strength': ID := 1725;
'amulet of magic': ID := 1727;
'amulet of defence': ID := 1729;
'amulet of power': ID := 1731;
'needle': ID := 1733;
'thread': ID := 1734;
'shears': ID := 1735;
'wool': ID := 1737;
'cowhide': ID := 1739;
'leather': ID := 1741;
'hard leather': ID := 1743;
'green d-leather': ID := 1745;
'black dragonhide': ID := 1747;
'red dragonhide': ID := 1749;
'blue dragonhide': ID := 1751;
'green dragonhide': ID := 1753;
'chisel': ID := 1755;
'brown apron': ID := 1757;
'ball of wool': ID := 1759;
'soft clay': ID := 1761;
'red dye': ID := 1763;
'yellow dye': ID := 1765;
'blue dye': ID := 1767;
'orange dye': ID := 1769;
'green dye': ID := 1771;
'purple dye': ID := 1773;
'molten glass': ID := 1775;
'bow string': ID := 1777;
'flax': ID := 1779;
'soda ash': ID := 1781;
'bucket of sand': ID := 1783;
'glassblowing pipe': ID := 1785;
'unfired pot': ID := 1787;
'unfired pie dish': ID := 1789;
'unfired bowl': ID := 1791;
'woad leaf': ID := 1793;
'bronze wire': ID := 1794;
'waterskin(4)': ID := 1823;
'waterskin(3)': ID := 1825;
'waterskin(2)': ID := 1827;
'waterskin(1)': ID := 1829;
'waterskin(0)': ID := 1831;
'desert shirt': ID := 1833;
'desert robe': ID := 1835;
'desert boots': ID := 1837;
'raw ugthanki meat': ID := 1859;
'ugthanki meat': ID := 1861;
'pitta dough': ID := 1863;
'pitta bread': ID := 1865;
'chopped tomato': ID := 1869;
'chopped onion': ID := 1871;
'chopped ugthanki': ID := 1873;
'onion &amp; tomato': ID := 1875;
'ugthanki &amp; onion': ID := 1877;
'ugthanki &amp; tomato': ID := 1879;
'kebab mix': ID := 1881;
'ugthanki kebab': ID := 1883;
'ugthanki kebab': ID := 1885;
'cake tin': ID := 1887;
'uncooked cake': ID := 1889;
'cake': ID := 1891;
'2/3 cake': ID := 1893;
'slice of cake': ID := 1895;
'chocolate cake': ID := 1897;
'2/3 chocolate cake': ID := 1899;
'chocolate slice': ID := 1901;
'asgarnian ale': ID := 1905;
'wizard''s mind bomb': ID := 1907;
'greenman''s ale': ID := 1909;
'dragon bitter': ID := 1911;
'dwarven stout': ID := 1913;
'grog': ID := 1915;
'beer': ID := 1917;
'beer glass': ID := 1919;
'bowl of water': ID := 1921;
'bowl': ID := 1923;
'bucket': ID := 1925;
'bucket of milk': ID := 1927;
'bucket of water': ID := 1929;
'empty pot': ID := 1931;
'pot of flour': ID := 1933;
'jug': ID := 1935;
'jug of water': ID := 1937;
'swamp tar': ID := 1939;
'raw swamp paste': ID := 1940;
'swamp paste': ID := 1941;
'potato': ID := 1942;
'egg': ID := 1944;
'grain': ID := 1947;
'chef''s hat': ID := 1949;
'redberries': ID := 1951;
'pastry dough': ID := 1953;
'cooking apple': ID := 1955;
'onion': ID := 1957;
'pumpkin': ID := 1959;
'easter egg': ID := 1961;
'banana': ID := 1963;
'cabbage': ID := 1965;
'cabbage': ID := 1967;
'kebab': ID := 1971;
'chocolate bar': ID := 1973;
'chocolate dust': ID := 1975;
'cup of tea': ID := 1978;
'empty cup': ID := 1980;
'tomato': ID := 1982;
'cheese': ID := 1985;
'grapes': ID := 1987;
'half full wine jug': ID := 1989;
'jug of wine': ID := 1993;
'incomplete stew': ID := 1997;
'incomplete stew': ID := 1999;
'uncooked stew': ID := 2001;
'stew': ID := 2003;
'spice': ID := 2007;
'uncooked curry': ID := 2009;
'curry': ID := 2011;
'vodka': ID := 2015;
'whisky': ID := 2017;
'gin': ID := 2019;
'brandy': ID := 2021;
'cocktail guide': ID := 2023;
'cocktail shaker': ID := 2025;
'cocktail glass': ID := 2026;
'premade blurb sp.': ID := 2028;
'premade choc sdy': ID := 2030;
'premade dr dragon': ID := 2032;
'premade fr blast': ID := 2034;
'premade p punch': ID := 2036;
'premade sgg': ID := 2038;
'premade wiz blzad': ID := 2040;
'pineapple punch': ID := 2048;
'wizard blizzard': ID := 2054;
'blurberry special': ID := 2064;
'choc saturday': ID := 2074;
'short green guy': ID := 2080;
'fruit blast': ID := 2084;
'drunk dragon': ID := 2092;
'lemon': ID := 2102;
'lemon chunks': ID := 2104;
'lemon slices': ID := 2106;
'orange': ID := 2108;
'orange chunks': ID := 2110;
'orange slices': ID := 2112;
'pineapple': ID := 2114;
'pineapple chunks': ID := 2116;
'pineapple ring': ID := 2118;
'lime': ID := 2120;
'lime chunks': ID := 2122;
'lime slices': ID := 2124;
'dwellberries': ID := 2126;
'equa leaves': ID := 2128;
'pot of cream': ID := 2130;
'raw beef': ID := 2132;
'raw rat meat': ID := 2134;
'raw bear meat': ID := 2136;
'raw chicken': ID := 2138;
'cooked chicken': ID := 2140;
'cooked meat': ID := 2142;
'swamp toad': ID := 2150;
'toad''s legs': ID := 2152;
'king worm': ID := 2162;
'batta tin': ID := 2164;
'crunchy tray': ID := 2165;
'gnomebowl mould': ID := 2166;
'gianne''s cook book': ID := 2167;
'gnome spice': ID := 2169;
'gianne dough': ID := 2171;
'chocolate bomb': ID := 2185;
'tangled toads legs': ID := 2187;
'worm hole': ID := 2191;
'veg ball': ID := 2195;
'raw crunchies': ID := 2202;
'worm crunchies': ID := 2205;
'chocchip crunchies': ID := 2209;
'spicy crunchies': ID := 2213;
'toad crunchies': ID := 2217;
'premade wm batta': ID := 2219;
'premade td batta': ID := 2221;
'premade c+t batta': ID := 2223;
'premade frt batta': ID := 2225;
'premade veg batta': ID := 2227;
'premade choc bomb': ID := 2229;
'premade ttl': ID := 2231;
'premade worm hole': ID := 2233;
'premade veg ball': ID := 2235;
'premade wm crunch': ID := 2237;
'premade ch crunch': ID := 2239;
'premade sy crunch': ID := 2241;
'premade td crunch': ID := 2243;
'worm batta': ID := 2253;
'toad batta': ID := 2255;
'cheese+tom batta': ID := 2259;
'fruit batta': ID := 2277;
'vegetable batta': ID := 2281;
'pizza base': ID := 2283;
'incomplete pizza': ID := 2285;
'uncooked pizza': ID := 2287;
'plain pizza': ID := 2289;
'1/2 plain pizza': ID := 2291;
'meat pizza': ID := 2293;
'1/2 meat pizza': ID := 2295;
'anchovy pizza': ID := 2297;
'1/2 anchovy pizza': ID := 2299;
'pineapple pizza': ID := 2301;
'1/2 p''apple pizza': ID := 2303;
'bread dough': ID := 2307;
'bread': ID := 2309;
'pie dish': ID := 2313;
'pie shell': ID := 2315;
'uncooked apple pie': ID := 2317;
'uncooked meat pie': ID := 2319;
'uncooked berry pie': ID := 2321;
'apple pie': ID := 2323;
'redberry pie': ID := 2325;
'meat pie': ID := 2327;
'half a meat pie': ID := 2331;
'half a redberry pie': ID := 2333;
'half an apple pie': ID := 2335;
'raw oomlie': ID := 2337;
'wrapped oomlie': ID := 2341;
'cooked oomlie wrap': ID := 2343;
'hammer': ID := 2347;
'bronze bar': ID := 2349;
'iron bar': ID := 2351;
'steel bar': ID := 2353;
'silver bar': ID := 2355;
'gold bar': ID := 2357;
'mithril bar': ID := 2359;
'adamantite bar': ID := 2361;
'runite bar': ID := 2363;
'shield left half': ID := 2366;
'shield right half': ID := 2368;
'steel studs': ID := 2370;
'ground bat bones': ID := 2391;
'attack potion(4)': ID := 2428;
'restore potion(4)': ID := 2430;
'defence potion(4)': ID := 2432;
'prayer potion(4)': ID := 2434;
'super attack(4)': ID := 2436;
'fishing potion(4)': ID := 2438;
'super strength(4)': ID := 2440;
'super defence(4)': ID := 2442;
'ranging potion(4)': ID := 2444;
'antipoison(4)': ID := 2446;
'super antipoison(4)': ID := 2448;
'zamorak brew(4)': ID := 2450;
'antifire potion(4)': ID := 2452;
'antifire potion(3)': ID := 2454;
'antifire potion(2)': ID := 2456;
'antifire potion(1)': ID := 2458;
'flowers': ID := 2460;
'flowers': ID := 2462;
'flowers': ID := 2464;
'flowers': ID := 2466;
'flowers': ID := 2468;
'flowers': ID := 2470;
'flowers': ID := 2472;
'flowers': ID := 2474;
'flowers': ID := 2476;
'clean lantadyme': ID := 2481;
'lantadyme potion(unf)': ID := 2483;
'grimy lantadyme': ID := 2485;
'blue d''hide vamb': ID := 2487;
'red d''hide vamb': ID := 2489;
'black d''hide vamb': ID := 2491;
'blue d''hide chaps': ID := 2493;
'red d''hide chaps': ID := 2495;
'black d''hide chaps': ID := 2497;
'blue d''hide body': ID := 2499;
'red d''hide body': ID := 2501;
'black d''hide body': ID := 2503;
'blue d-leather': ID := 2505;
'red dragon leather': ID := 2507;
'black d-leather': ID := 2509;
'rotten tomato': ID := 2518;
'toy horsey': ID := 2520;
'toy horsey': ID := 2522;
'toy horsey': ID := 2524;
'toy horsey': ID := 2526;
'iron fire arrows': ID := 2532;
'iron fire arrows': ID := 2533;
'steel fire arrows': ID := 2534;
'steel fire arrows': ID := 2535;
'mithril fire arrows': ID := 2536;
'mithril fire arrows': ID := 2537;
'addy fire arrows': ID := 2538;
'addy fire arrows': ID := 2539;
'rune fire arrows': ID := 2540;
'rune fire arrows': ID := 2541;
'ring of recoil': ID := 2550;
'ring of duelling(8)': ID := 2552;
'ring of duelling(7)': ID := 2554;
'ring of duelling(6)': ID := 2556;
'ring of duelling(5)': ID := 2558;
'ring of duelling(4)': ID := 2560;
'ring of duelling(3)': ID := 2562;
'ring of duelling(2)': ID := 2564;
'ring of duelling(1)': ID := 2566;
'ring of forging': ID := 2568;
'ring of life': ID := 2570;
'ring of wealth': ID := 2572;
'ranger boots': ID := 2577;
'wizard boots': ID := 2579;
'robin hood hat': ID := 2581;
'black platebody (t)': ID := 2583;
'black platelegs (t)': ID := 2585;
'black full helm(t)': ID := 2587;
'black kiteshield (t)': ID := 2589;
'black platebody (g)': ID := 2591;
'black platelegs (g)': ID := 2593;
'black full helm(g)': ID := 2595;
'black kiteshield (g)': ID := 2597;
'adam platebody (t)': ID := 2599;
'adam platelegs (t)': ID := 2601;
'adam kiteshield (t)': ID := 2603;
'adam full helm(t)': ID := 2605;
'adam platebody (g)': ID := 2607;
'adam platelegs (g)': ID := 2609;
'adam kiteshield (g)': ID := 2611;
'adam full helm(g)': ID := 2613;
'rune platebody (g)': ID := 2615;
'rune platelegs (g)': ID := 2617;
'rune full helm(g)': ID := 2619;
'rune kiteshield (g)': ID := 2621;
'rune platebody (t)': ID := 2623;
'rune platelegs (t)': ID := 2625;
'rune full helm (t)': ID := 2627;
'rune kiteshield (t)': ID := 2629;
'highwayman mask': ID := 2631;
'blue beret': ID := 2633;
'black beret': ID := 2635;
'white beret': ID := 2637;
'tan cavalier': ID := 2639;
'dark cavalier': ID := 2641;
'black cavalier': ID := 2643;
'red headband': ID := 2645;
'black headband': ID := 2647;
'brown headband': ID := 2649;
'pirate''s hat': ID := 2651;
'zamorak platebody': ID := 2653;
'zamorak platelegs': ID := 2655;
'zamorak full helm': ID := 2657;
'zamorak kiteshield': ID := 2659;
'saradomin plate': ID := 2661;
'saradomin legs': ID := 2663;
'saradomin full helm': ID := 2665;
'saradomin kite': ID := 2667;
'guthix platebody': ID := 2669;
'guthix platelegs': ID := 2671;
'guthix full helm': ID := 2673;
'guthix kiteshield': ID := 2675;
'wolf bones': ID := 2859;
'wolfbone arrowtips': ID := 2861;
'achey tree logs': ID := 2862;
'ogre arrow shaft': ID := 2864;
'flighted ogre arrow': ID := 2865;
'ogre arrow': ID := 2866;
'raw chompy': ID := 2876;
'cooked chompy': ID := 2878;
'elemental shield': ID := 2890;
'boots': ID := 2894;
'robe top': ID := 2896;
'robe bottoms': ID := 2898;
'hat': ID := 2900;
'gloves': ID := 2902;
'boots': ID := 2904;
'robe top': ID := 2906;
'robe bottoms': ID := 2908;
'hat': ID := 2910;
'gloves': ID := 2912;
'boots': ID := 2914;
'robe top': ID := 2916;
'robe bottoms': ID := 2918;
'hat': ID := 2920;
'gloves': ID := 2922;
'boots': ID := 2924;
'robe top': ID := 2926;
'robe bottoms': ID := 2928;
'hat': ID := 2930;
'gloves': ID := 2932;
'boots': ID := 2934;
'robe top': ID := 2936;
'robe bottoms': ID := 2938;
'hat': ID := 2940;
'gloves': ID := 2942;
'moonlight mead': ID := 2955;
'silver sickle': ID := 2961;
'mort myre fungus': ID := 2970;
'mort myre stem': ID := 2972;
'mort myre pear': ID := 2974;
'sickle mould': ID := 2976;
'pirate''s hook': ID := 2997;
'clean toadflax': ID := 2998;
'clean snapdragon': ID := 3000;
'toadflax potion(unf)': ID := 3002;
'snapdragon potion(unf)': ID := 3004;
'energy potion(4)': ID := 3008;
'energy potion(3)': ID := 3010;
'energy potion(2)': ID := 3012;
'energy potion(1)': ID := 3014;
'super energy(4)': ID := 3016;
'super energy(3)': ID := 3018;
'super energy(2)': ID := 3020;
'super energy(1)': ID := 3022;
'super restore(4)': ID := 3024;
'super restore(3)': ID := 3026;
'super restore(2)': ID := 3028;
'super restore(1)': ID := 3030;
'agility potion(4)': ID := 3032;
'agility potion(3)': ID := 3034;
'agility potion(2)': ID := 3036;
'agility potion(1)': ID := 3038;
'magic potion(4)': ID := 3040;
'magic potion(3)': ID := 3042;
'magic potion(2)': ID := 3044;
'magic potion(1)': ID := 3046;
'grimy toadflax': ID := 3049;
'grimy snapdragon': ID := 3051;
'lava battlestaff': ID := 3053;
'mystic lava staff': ID := 3054;
'black dart': ID := 3093;
'black dart(p)': ID := 3094;
'bronze claws': ID := 3095;
'iron claws': ID := 3096;
'steel claws': ID := 3097;
'black claws': ID := 3098;
'mithril claws': ID := 3099;
'adamant claws': ID := 3100;
'rune claws': ID := 3101;
'climbing boots': ID := 3105;
'granite shield': ID := 3122;
'shaikahan bones': ID := 3123;
'jogre bones': ID := 3125;
'potato cactus': ID := 3138;
'dragon chainbody': ID := 3140;
'raw karambwan': ID := 3142;
'cooked karambwan': ID := 3144;
'karambwan vessel': ID := 3157;
'sliced banana': ID := 3162;
'monkey bones': ID := 3183;
'cleaning cloth': ID := 3188;
'bronze halberd': ID := 3190;
'iron halberd': ID := 3192;
'steel halberd': ID := 3194;
'black halberd': ID := 3196;
'mithril halberd': ID := 3198;
'adamant halberd': ID := 3200;
'rune halberd': ID := 3202;
'dragon halberd': ID := 3204;
'limestone': ID := 3211;
'barrel': ID := 3216;
'raw rabbit': ID := 3226;
'cooked rabbit': ID := 3228;
'bark': ID := 3239;
'vampire dust': ID := 3325;
'myre snelm': ID := 3327;
'blood''n''tar snelm': ID := 3329;
'ochre snelm': ID := 3331;
'bruise blue snelm': ID := 3333;
'broken bark snelm': ID := 3335;
'myre snelm': ID := 3337;
'blood''n''tar snelm': ID := 3339;
'ochre snelm': ID := 3341;
'bruise blue snelm': ID := 3343;
'blamish myre shell': ID := 3345;
'blamish red shell': ID := 3347;
'blamish ochre shell': ID := 3349;
'blamish blue shell': ID := 3351;
'blamish bark shell': ID := 3353;
'blamish myre shell': ID := 3355;
'blamish red shell': ID := 3357;
'blamish ochre shell': ID := 3359;
'blamish blue shell': ID := 3361;
'thin snail': ID := 3363;
'lean snail': ID := 3365;
'fat snail': ID := 3367;
'thin snail meat': ID := 3369;
'lean snail meat': ID := 3371;
'fat snail meat': ID := 3373;
'sample bottle': ID := 3377;
'slimy eel': ID := 3379;
'cooked slimy eel': ID := 3381;
'splitbark helm': ID := 3385;
'splitbark body': ID := 3387;
'splitbark legs': ID := 3389;
'splitbark gauntlets': ID := 3391;
'splitbark boots': ID := 3393;
'loar remains': ID := 3396;
'phrin remains': ID := 3398;
'riyl remains': ID := 3400;
'asyn remains': ID := 3402;
'fiyr remains': ID := 3404;
'ash potion(unf)': ID := 3406;
'limestone brick': ID := 3420;
'olive oil(4)': ID := 3422;
'olive oil(3)': ID := 3424;
'olive oil(2)': ID := 3426;
'olive oil(1)': ID := 3428;
'sacred oil(4)': ID := 3430;
'sacred oil(3)': ID := 3432;
'sacred oil(2)': ID := 3434;
'sacred oil(1)': ID := 3436;
'pyre logs': ID := 3438;
'oak pyre logs': ID := 3440;
'willow pyre logs': ID := 3442;
'maple pyre logs': ID := 3444;
'yew pyre logs': ID := 3446;
'magic pyre logs': ID := 3448;
'fine cloth': ID := 3470;
'black plateskirt (t)': ID := 3472;
'black plateskirt (g)': ID := 3473;
'adam plateskirt (t)': ID := 3474;
'adam plateskirt (g)': ID := 3475;
'rune plateskirt (g)': ID := 3476;
'rune plateskirt (t)': ID := 3477;
'zamorak plateskirt': ID := 3478;
'saradomin skirt': ID := 3479;
'guthix plateskirt': ID := 3480;
'gilded platebody': ID := 3481;
'gilded platelegs': ID := 3483;
'gilded plateskirt': ID := 3485;
'gilded full helm': ID := 3486;
'gilded kiteshield': ID := 3488;
'archer helm': ID := 3749;
'berserker helm': ID := 3751;
'warrior helm': ID := 3753;
'farseer helm': ID := 3755;
'fremennik cloak': ID := 3759;
'fremennik cloak': ID := 3761;
'fremennik cloak': ID := 3763;
'fremennik cloak': ID := 3765;
'fremennik shirt': ID := 3767;
'fremennik shirt': ID := 3769;
'fremennik shirt': ID := 3771;
'fremennik shirt': ID := 3773;
'fremennik shirt': ID := 3775;
'fremennik cloak': ID := 3777;
'fremennik cloak': ID := 3779;
'fremennik cloak': ID := 3781;
'fremennik cloak': ID := 3783;
'fremennik cloak': ID := 3785;
'fremennik cloak': ID := 3787;
'fremennik cloak': ID := 3789;
'fremennik boots': ID := 3791;
'fremennik robe': ID := 3793;
'fremennik skirt': ID := 3795;
'fremennik hat': ID := 3797;
'gloves': ID := 3799;
'keg of beer': ID := 3801;
'beer': ID := 3803;
'tankard': ID := 3805;
'saradomin page 1': ID := 3827;
'saradomin page 2': ID := 3828;
'saradomin page 3': ID := 3829;
'saradomin page 4': ID := 3830;
'zamorak page 1': ID := 3831;
'zamorak page 2': ID := 3832;
'zamorak page 3': ID := 3833;
'zamorak page 4': ID := 3834;
'guthix page 1': ID := 3835;
'guthix page 2': ID := 3836;
'guthix page 3': ID := 3837;
'guthix page 4': ID := 3838;
'games necklace(8)': ID := 3853;
'games necklace(7)': ID := 3855;
'games necklace(6)': ID := 3857;
'games necklace(5)': ID := 3859;
'games necklace(4)': ID := 3861;
'games necklace(3)': ID := 3863;
'games necklace(2)': ID := 3865;
'games necklace(1)': ID := 3867;
'damp tinderbox': ID := 4073;
'dragon platelegs': ID := 4087;
'mystic hat': ID := 4089;
'mystic robe top': ID := 4091;
'mystic robe bottom': ID := 4093;
'mystic gloves': ID := 4095;
'mystic boots': ID := 4097;
'mystic hat': ID := 4099;
'mystic robe top': ID := 4101;
'mystic robe bottom': ID := 4103;
'mystic gloves': ID := 4105;
'mystic boots': ID := 4107;
'mystic hat': ID := 4109;
'mystic robe top': ID := 4111;
'mystic robe bottom': ID := 4113;
'mystic gloves': ID := 4115;
'mystic boots': ID := 4117;
'bronze boots': ID := 4119;
'iron boots': ID := 4121;
'steel boots': ID := 4123;
'black boots': ID := 4125;
'mithril boots': ID := 4127;
'adamant boots': ID := 4129;
'rune boots': ID := 4131;
'abyssal whip': ID := 4151;
'granite maul': ID := 4153;
'mirror shield': ID := 4156;
'bag of salt': ID := 4161;
'rock hammer': ID := 4162;
'facemask': ID := 4164;
'earmuffs': ID := 4166;
'nose peg': ID := 4168;
'slayer''s staff': ID := 4170;
'crystal seed': ID := 4207;
'new crystal bow': ID := 4212;
'new crystal shield': ID := 4224;
'raw beef': ID := 4287;
'raw chicken': ID := 4289;
'cooked chicken': ID := 4291;
'cooked meat': ID := 4293;
'ham shirt': ID := 4298;
'ham robe': ID := 4300;
'ham hood': ID := 4302;
'ham cloak': ID := 4304;
'h.a.m logo': ID := 4306;
'gloves': ID := 4308;
'boots': ID := 4310;
'team-1 cape': ID := 4315;
'team-2 cape': ID := 4317;
'team-3 cape': ID := 4319;
'team-4 cape': ID := 4321;
'team-5 cape': ID := 4323;
'team-6 cape': ID := 4325;
'team-7 cape': ID := 4327;
'team-8 cape': ID := 4329;
'team-9 cape': ID := 4331;
'team-10 cape': ID := 4333;
'team-11 cape': ID := 4335;
'team-12 cape': ID := 4337;
'team-13 cape': ID := 4339;
'team-14 cape': ID := 4341;
'team-15 cape': ID := 4343;
'team-16 cape': ID := 4345;
'team-17 cape': ID := 4347;
'team-18 cape': ID := 4349;
'team-19 cape': ID := 4351;
'team-20 cape': ID := 4353;
'team-21 cape': ID := 4355;
'team-22 cape': ID := 4357;
'team-23 cape': ID := 4359;
'team-24 cape': ID := 4361;
'team-25 cape': ID := 4363;
'team-26 cape': ID := 4365;
'team-27 cape': ID := 4367;
'team-28 cape': ID := 4369;
'team-29 cape': ID := 4371;
'team-30 cape': ID := 4373;
'team-31 cape': ID := 4375;
'team-32 cape': ID := 4377;
'team-33 cape': ID := 4379;
'team-34 cape': ID := 4381;
'team-35 cape': ID := 4383;
'team-36 cape': ID := 4385;
'team-37 cape': ID := 4387;
'team-38 cape': ID := 4389;
'team-39 cape': ID := 4391;
'team-40 cape': ID := 4393;
'team-41 cape': ID := 4395;
'team-42 cape': ID := 4397;
'team-43 cape': ID := 4399;
'team-44 cape': ID := 4401;
'team-45 cape': ID := 4403;
'team-46 cape': ID := 4405;
'team-47 cape': ID := 4407;
'team-48 cape': ID := 4409;
'team-49 cape': ID := 4411;
'team-50 cape': ID := 4413;
'guthix rest(4)': ID := 4417;
'guthix rest(3)': ID := 4419;
'guthix rest(2)': ID := 4421;
'guthix rest(1)': ID := 4423;
'airtight pot': ID := 4436;
'unfired pot lid': ID := 4438;
'pot lid': ID := 4440;
'bowl of hot water': ID := 4456;
'cup of water': ID := 4458;
'cup of hot water': ID := 4460;
'herb tea mix': ID := 4464;
'herb tea mix': ID := 4466;
'herb tea mix': ID := 4468;
'herb tea mix': ID := 4470;
'herb tea mix': ID := 4472;
'herb tea mix': ID := 4474;
'herb tea mix': ID := 4476;
'herb tea mix': ID := 4478;
'herb tea mix': ID := 4480;
'herb tea mix': ID := 4482;
'giant frog legs': ID := 4517;
'oil lamp': ID := 4522;
'oil lamp': ID := 4525;
'candle lantern': ID := 4527;
'candle lantern': ID := 4529;
'candle lantern': ID := 4532;
'oil lantern': ID := 4535;
'oil lantern': ID := 4537;
'oil lantern frame': ID := 4540;
'lantern lens': ID := 4542;
'bullseye lantern': ID := 4544;
'bullseye lantern': ID := 4546;
'bullseye lantern': ID := 4548;
'spiny helmet': ID := 4551;
'black spear': ID := 4580;
'black spear(p)': ID := 4582;
'dragon plateskirt': ID := 4585;
'dragon scimitar': ID := 4587;
'willow-blackjack': ID := 4600;
'super kebab': ID := 4608;
'bandit''s brew': ID := 4627;
'ancient staff': ID := 4675;
'steam rune': ID := 4694;
'mist rune': ID := 4695;
'dust rune': ID := 4696;
'smoke rune': ID := 4697;
'mud rune': ID := 4698;
'lava rune': ID := 4699;
'ahrim''s hood': ID := 4708;
'ahrim''s staff': ID := 4710;
'ahrim''s robetop': ID := 4712;
'ahrim''s robeskirt': ID := 4714;
'dharok''s helm': ID := 4716;
'dharok''s greataxe': ID := 4718;
'dharok''s platebody': ID := 4720;
'dharok''s platelegs': ID := 4722;
'guthan''s helm': ID := 4724;
'guthan''s warspear': ID := 4726;
'guthan''s platebody': ID := 4728;
'guthan''s chainskirt': ID := 4730;
'karil''s coif': ID := 4732;
'karil''s crossbow': ID := 4734;
'karil''s leathertop': ID := 4736;
'karil''s leatherskirt': ID := 4738;
'bolt rack': ID := 4740;
'torag''s helm': ID := 4745;
'torag''s hammers': ID := 4747;
'torag''s platebody': ID := 4749;
'torag''s platelegs': ID := 4751;
'verac''s helm': ID := 4753;
'verac''s flail': ID := 4755;
'verac''s brassard': ID := 4757;
'verac''s plateskirt': ID := 4759;
'bronze brutal': ID := 4773;
'iron brutal': ID := 4778;
'steel brutal': ID := 4783;
'black brutal': ID := 4788;
'mithril brutal': ID := 4793;
'adamant brutal': ID := 4798;
'rune brutal': ID := 4803;
'zogre bones': ID := 4812;
'bronze nails': ID := 4819;
'iron nails': ID := 4820;
'black nails': ID := 4821;
'mithril nails': ID := 4822;
'adamantite nails': ID := 4823;
'rune nails': ID := 4824;
'unstrung comp bow': ID := 4825;
'comp ogre bow': ID := 4827;
'fayrg bones': ID := 4830;
'raurg bones': ID := 4832;
'ourg bones': ID := 4834;
'rogue''s purse potion(unf)': ID := 4840;
'relicym''s balm(4)': ID := 4842;
'relicym''s balm(3)': ID := 4844;
'relicym''s balm(2)': ID := 4846;
'relicym''s balm(1)': ID := 4848;
'ogre coffin key': ID := 4850;
'ahrim''s hood 0': ID := 4860;
'ahrim''s staff 0': ID := 4866;
'ahrim''s top 0': ID := 4872;
'ahrim''s skirt 0': ID := 4878;
'dharok''s helm 0': ID := 4884;
'dharok''s axe 0': ID := 4890;
'dharok''s body 0': ID := 4896;
'dharok''s legs 0': ID := 4902;
'guthan''s helm 0': ID := 4908;
'guthan''s spear 0': ID := 4914;
'guthan''s body 0': ID := 4920;
'guthan''s skirt 0': ID := 4926;
'karil''s coif 0': ID := 4932;
'karil''s x-bow 0': ID := 4938;
'karil''s top 0': ID := 4944;
'karil''s skirt 0': ID := 4950;
'torag''s helm 0': ID := 4956;
'torag''s hammer 0': ID := 4962;
'torag''s body 0': ID := 4968;
'torag''s legs 0': ID := 4974;
'verac''s helm 0': ID := 4980;
'verac''s flail 0': ID := 4986;
'verac''s top 0': ID := 4992;
'verac''s skirt 0': ID := 4998;
'raw cave eel': ID := 5001;
'cave eel': ID := 5003;
'mining helmet': ID := 5014;
'bone spear': ID := 5016;
'bone club': ID := 5018;
'woven top': ID := 5024;
'woven top': ID := 5026;
'woven top': ID := 5028;
'shirt': ID := 5030;
'shirt': ID := 5032;
'shirt': ID := 5034;
'trousers': ID := 5036;
'trousers': ID := 5038;
'trousers': ID := 5040;
'shorts': ID := 5042;
'shorts': ID := 5044;
'shorts': ID := 5046;
'skirt': ID := 5048;
'skirt': ID := 5050;
'skirt': ID := 5052;
'marigold seed': ID := 5096;
'rosemary seed': ID := 5097;
'nasturtium seed': ID := 5098;
'woad seed': ID := 5099;
'limpwurt seed': ID := 5100;
'redberry seed': ID := 5101;
'cadavaberry seed': ID := 5102;
'dwellberry seed': ID := 5103;
'jangerberry seed': ID := 5104;
'whiteberry seed': ID := 5105;
'poison ivy seed': ID := 5106;
'cactus seed': ID := 5280;
'belladonna seed': ID := 5281;
'mushroom spore': ID := 5282;
'apple tree seed': ID := 5283;
'banana tree seed': ID := 5284;
'orange tree seed': ID := 5285;
'curry tree seed': ID := 5286;
'pineapple seed': ID := 5287;
'papaya tree seed': ID := 5288;
'palm tree seed': ID := 5289;
'calquat tree seed': ID := 5290;
'guam seed': ID := 5291;
'marrentill seed': ID := 5292;
'tarromin seed': ID := 5293;
'harralander seed': ID := 5294;
'ranarr seed': ID := 5295;
'toadflax seed': ID := 5296;
'irit seed': ID := 5297;
'avantoe seed': ID := 5298;
'kwuarm seed': ID := 5299;
'snapdragon seed': ID := 5300;
'cadantine seed': ID := 5301;
'lantadyme seed': ID := 5302;
'dwarf weed seed': ID := 5303;
'torstol seed': ID := 5304;
'barley seed': ID := 5305;
'jute seed': ID := 5306;
'hammerstone seed': ID := 5307;
'asgarnian seed': ID := 5308;
'yanillian seed': ID := 5309;
'krandorian seed': ID := 5310;
'wildblood seed': ID := 5311;
'acorn': ID := 5312;
'willow seed': ID := 5313;
'maple seed': ID := 5314;
'yew seed': ID := 5315;
'magic seed': ID := 5316;
'potato seed': ID := 5318;
'onion seed': ID := 5319;
'sweetcorn seed': ID := 5320;
'watermelon seed': ID := 5321;
'tomato seed': ID := 5322;
'strawberry seed': ID := 5323;
'cabbage seed': ID := 5324;
'gardening trowel': ID := 5325;
'secateurs': ID := 5329;
'watering can': ID := 5331;
'rake': ID := 5341;
'seed dibber': ID := 5343;
'gardening boots': ID := 5345;
'plant pot': ID := 5350;
'unfired plant pot': ID := 5352;
'plant pot': ID := 5354;
'basket': ID := 5376;
'apples(1)': ID := 5378;
'apples(2)': ID := 5380;
'apples(3)': ID := 5382;
'apples(4)': ID := 5384;
'apples(5)': ID := 5386;
'oranges(1)': ID := 5388;
'oranges(2)': ID := 5390;
'oranges(3)': ID := 5392;
'oranges(4)': ID := 5394;
'oranges(5)': ID := 5396;
'strawberries(1)': ID := 5398;
'strawberries(2)': ID := 5400;
'strawberries(3)': ID := 5402;
'strawberries(4)': ID := 5404;
'strawberries(5)': ID := 5406;
'bananas(1)': ID := 5408;
'bananas(2)': ID := 5410;
'bananas(3)': ID := 5412;
'bananas(4)': ID := 5414;
'bananas(5)': ID := 5416;
'empty sack': ID := 5418;
'potatoes(1)': ID := 5420;
'potatoes(2)': ID := 5422;
'potatoes(3)': ID := 5424;
'potatoes(4)': ID := 5426;
'potatoes(5)': ID := 5428;
'potatoes(6)': ID := 5430;
'potatoes(7)': ID := 5432;
'potatoes(8)': ID := 5434;
'potatoes(9)': ID := 5436;
'potatoes(10)': ID := 5438;
'onions(1)': ID := 5440;
'onions(2)': ID := 5442;
'onions(3)': ID := 5444;
'onions(4)': ID := 5446;
'onions(5)': ID := 5448;
'onions(6)': ID := 5450;
'onions(7)': ID := 5452;
'onions(8)': ID := 5454;
'onions(9)': ID := 5456;
'onions(10)': ID := 5458;
'cabbages(1)': ID := 5460;
'cabbages(2)': ID := 5462;
'cabbages(3)': ID := 5464;
'cabbages(4)': ID := 5466;
'cabbages(5)': ID := 5468;
'cabbages(6)': ID := 5470;
'cabbages(7)': ID := 5472;
'cabbages(8)': ID := 5474;
'cabbages(9)': ID := 5476;
'cabbages(10)': ID := 5478;
'strawberry': ID := 5504;
'elemental talisman': ID := 5516;
'binding necklace': ID := 5521;
'tiara mould': ID := 5523;
'tiara': ID := 5525;
'air tiara': ID := 5527;
'mind tiara': ID := 5529;
'water tiara': ID := 5531;
'body tiara': ID := 5533;
'earth tiara': ID := 5535;
'fire tiara': ID := 5537;
'cosmic tiara': ID := 5539;
'nature tiara': ID := 5541;
'chaos tiara': ID := 5543;
'death tiara': ID := 5547;
'blood tiara': ID := 5549;
'initiate sallet': ID := 5574;
'initiate hauberk': ID := 5575;
'initiate cuisse': ID := 5576;
'bronze arrow(p+)': ID := 5616;
'iron arrow(p+)': ID := 5617;
'steel arrow(p+)': ID := 5618;
'mithril arrow(p+)': ID := 5619;
'adamant arrow(p+)': ID := 5620;
'rune arrow(p+)': ID := 5621;
'bronze arrow(p++)': ID := 5622;
'iron arrow(p++)': ID := 5623;
'steel arrow(p++)': ID := 5624;
'mithril arrow(p++)': ID := 5625;
'adam arrow(p++)': ID := 5626;
'rune arrow(p++)': ID := 5627;
'bronze dart(p+)': ID := 5628;
'iron dart(p+)': ID := 5629;
'steel dart(p+)': ID := 5630;
'black dart(p+)': ID := 5631;
'mithril dart(p+)': ID := 5632;
'adamant dart(p+)': ID := 5633;
'rune dart(p+)': ID := 5634;
'bronze dart(p++)': ID := 5635;
'iron dart(p++)': ID := 5636;
'steel dart(p++)': ID := 5637;
'black dart(p++)': ID := 5638;
'mithril dart(p++)': ID := 5639;
'adamant dart(p++)': ID := 5640;
'rune dart(p++)': ID := 5641;
'bronze javelin(p+)': ID := 5642;
'iron javelin(p+)': ID := 5643;
'steel javelin(p+)': ID := 5644;
'mithril javelin(p+)': ID := 5645;
'addy javelin(p+)': ID := 5646;
'rune javelin(p+)': ID := 5647;
'bronze javelin(p++)': ID := 5648;
'iron javelin(p++)': ID := 5649;
'steel javelin(p++)': ID := 5650;
'mithril javelin(p++)': ID := 5651;
'addy javelin(p++)': ID := 5652;
'rune javelin(p++)': ID := 5653;
'bronze knife(p+)': ID := 5654;
'iron knife(p+)': ID := 5655;
'steel knife(p+)': ID := 5656;
'mithril knife(p+)': ID := 5657;
'black knife(p+)': ID := 5658;
'adamant knife(p+)': ID := 5659;
'rune knife(p+)': ID := 5660;
'bronze knife(p++)': ID := 5661;
'iron knife(p++)': ID := 5662;
'steel knife(p++)': ID := 5663;
'mithril knife(p++)': ID := 5664;
'black knife(p++)': ID := 5665;
'addy knife(p++)': ID := 5666;
'rune knife(p++)': ID := 5667;
'iron dagger(p+)': ID := 5668;
'bronze dagger(p+)': ID := 5670;
'steel dagger(p+)': ID := 5672;
'mithril dagger(p+)': ID := 5674;
'adam dagger(p+)': ID := 5676;
'rune dagger(p+)': ID := 5678;
'dragon dagger(p+)': ID := 5680;
'black dagger(p+)': ID := 5682;
'iron dagger(p++)': ID := 5686;
'bronze dagger(p++)': ID := 5688;
'steel dagger(p++)': ID := 5690;
'mithril dagger(p++)': ID := 5692;
'adam dagger(p++)': ID := 5694;
'rune dagger(p++)': ID := 5696;
'drag dagger(p++)': ID := 5698;
'black dagger(p++)': ID := 5700;
'bronze spear(p+)': ID := 5704;
'iron spear(p+)': ID := 5706;
'steel spear(p+)': ID := 5708;
'mithril spear(p+)': ID := 5710;
'adamant spear(p+)': ID := 5712;
'rune spear(p+)': ID := 5714;
'dragon spear(p+)': ID := 5716;
'bronze spear(p++)': ID := 5718;
'iron spear(p++)': ID := 5720;
'steel spear(p++)': ID := 5722;
'mithril spear(p++)': ID := 5724;
'adam spear(p++)': ID := 5726;
'rune spear(p++)': ID := 5728;
'dragon spear(p++)': ID := 5730;
'black spear(p+)': ID := 5734;
'black spear(p++)': ID := 5736;
'asgarnian ale(m)': ID := 5739;
'mature wmb': ID := 5741;
'greenman''s ale(m)': ID := 5743;
'dragon bitter(m)': ID := 5745;
'dwarven stout(m)': ID := 5747;
'moonlight mead(m)': ID := 5749;
'axeman''s folly': ID := 5751;
'axeman''s folly(m)': ID := 5753;
'chef''s delight': ID := 5755;
'chef''s delight(m)': ID := 5757;
'slayer''s respite': ID := 5759;
'slayer''s respite(m)': ID := 5761;
'cider': ID := 5763;
'mature cider': ID := 5765;
'ale yeast': ID := 5767;
'calquat keg': ID := 5769;
'dwarven stout(1)': ID := 5771;
'dwarven stout(2)': ID := 5773;
'dwarven stout(3)': ID := 5775;
'dwarven stout(4)': ID := 5777;
'asgarnian ale(1)': ID := 5779;
'asgarnian ale(2)': ID := 5781;
'asgarnian ale(3)': ID := 5783;
'asgarnian ale(4)': ID := 5785;
'greenmans ale(1)': ID := 5787;
'greenmans ale(2)': ID := 5789;
'greenmans ale(3)': ID := 5791;
'greenmans ale(4)': ID := 5793;
'mind bomb(1)': ID := 5795;
'mind bomb(2)': ID := 5797;
'mind bomb(3)': ID := 5799;
'mind bomb(4)': ID := 5801;
'dragon bitter(1)': ID := 5803;
'dragon bitter(2)': ID := 5805;
'dragon bitter(3)': ID := 5807;
'dragon bitter(4)': ID := 5809;
'moonlight mead(1)': ID := 5811;
'moonlight mead(2)': ID := 5813;
'moonlight mead(3)': ID := 5815;
'moonlight mead(4)': ID := 5817;
'axeman''s folly(1)': ID := 5819;
'axeman''s folly(2)': ID := 5821;
'axeman''s folly(3)': ID := 5823;
'axeman''s folly(4)': ID := 5825;
'chef''s delight(1)': ID := 5827;
'chef''s delight(2)': ID := 5829;
'chef''s delight(3)': ID := 5831;
'chef''s delight(4)': ID := 5833;
'slayer''s respite(1)': ID := 5835;
'slayer''s respite(2)': ID := 5837;
'slayer''s respite(3)': ID := 5839;
'slayer''s respite(4)': ID := 5841;
'cider(1)': ID := 5843;
'cider(2)': ID := 5845;
'cider(3)': ID := 5847;
'cider(4)': ID := 5849;
'dwarven stout(m1)': ID := 5851;
'dwarven stout(m2)': ID := 5853;
'dwarven stout(m3)': ID := 5855;
'dwarven stout(m4)': ID := 5857;
'asgarnian ale(m1)': ID := 5859;
'asgarnian ale(m2)': ID := 5861;
'asgarnian ale(m3)': ID := 5863;
'asgarnian ale(m4)': ID := 5865;
'greenmans ale(m1)': ID := 5867;
'greenmans ale(m2)': ID := 5869;
'greenmans ale(m3)': ID := 5871;
'greenmans ale(m4)': ID := 5873;
'mind bomb(m1)': ID := 5875;
'mind bomb(m2)': ID := 5877;
'mind bomb(m3)': ID := 5879;
'mind bomb(m4)': ID := 5881;
'dragon bitter(m1)': ID := 5883;
'dragon bitter(m2)': ID := 5885;
'dragon bitter(m3)': ID := 5887;
'dragon bitter(m4)': ID := 5889;
'm''light mead(m1)': ID := 5891;
'm''light mead(m2)': ID := 5893;
'm''light mead(m3)': ID := 5895;
'm''light mead(m4)': ID := 5897;
'axeman''s folly(m1)': ID := 5899;
'axeman''s folly(m2)': ID := 5901;
'axeman''s folly(m3)': ID := 5903;
'axeman''s folly(m4)': ID := 5905;
'chef''s delight(m1)': ID := 5907;
'chef''s delight(m2)': ID := 5909;
'chef''s delight(m3)': ID := 5911;
'chef''s delight(m4)': ID := 5913;
'slayer respite(m1)': ID := 5915;
'slayer respite(m2)': ID := 5917;
'slayer respite(m3)': ID := 5919;
'slayer respite(m4)': ID := 5921;
'cider(m1)': ID := 5923;
'cider(m2)': ID := 5925;
'cider(m3)': ID := 5927;
'cider(m4)': ID := 5929;
'jute fibre': ID := 5931;
'willow branch': ID := 5933;
'coconut milk': ID := 5935;
'weapon poison+': ID := 5937;
'weapon poison++': ID := 5940;
'antipoison+(4)': ID := 5943;
'antipoison+(3)': ID := 5945;
'antipoison+(2)': ID := 5947;
'antipoison+(1)': ID := 5949;
'antipoison++(4)': ID := 5952;
'antipoison++(3)': ID := 5954;
'antipoison++(2)': ID := 5956;
'antipoison++(1)': ID := 5958;
'tomatoes(1)': ID := 5960;
'tomatoes(2)': ID := 5962;
'tomatoes(3)': ID := 5964;
'tomatoes(4)': ID := 5966;
'tomatoes(5)': ID := 5968;
'curry leaf': ID := 5970;
'papaya fruit': ID := 5972;
'coconut': ID := 5974;
'coconut': ID := 5976;
'coconut shell': ID := 5978;
'calquat fruit': ID := 5980;
'watermelon': ID := 5982;
'watermelon slice': ID := 5984;
'sweetcorn': ID := 5986;
'cooked sweetcorn': ID := 5988;
'apple mush': ID := 5992;
'hammerstone hops': ID := 5994;
'asgarnian hops': ID := 5996;
'yanillian hops': ID := 5998;
'krandorian hops': ID := 6000;
'wildblood hops': ID := 6002;
'mushroom': ID := 6004;
'barley': ID := 6006;
'barley malt': ID := 6008;
'marigolds': ID := 6010;
'nasturtiums': ID := 6012;
'rosemary': ID := 6014;
'cactus spine': ID := 6016;
'poison ivy berries': ID := 6018;
'leaves': ID := 6020;
'leaves': ID := 6022;
'leaves': ID := 6024;
'leaves': ID := 6026;
'leaves': ID := 6028;
'leaves': ID := 6030;
'compost': ID := 6032;
'supercompost': ID := 6034;
'plant cure': ID := 6036;
'magic string': ID := 6038;
'pre-nature amulet': ID := 6041;
'oak roots': ID := 6043;
'willow roots': ID := 6045;
'maple roots': ID := 6047;
'yew roots': ID := 6049;
'magic roots': ID := 6051;
'weeds': ID := 6055;
'bronze bolts(p+)': ID := 6061;
'bronze bolts(p++)': ID := 6062;
'rock-shell helm': ID := 6128;
'rock-shell plate': ID := 6129;
'rock-shell legs': ID := 6130;
'spined helm': ID := 6131;
'spined body': ID := 6133;
'spined chaps': ID := 6135;
'skeletal helm': ID := 6137;
'skeletal top': ID := 6139;
'skeletal bottoms': ID := 6141;
'spined boots': ID := 6143;
'rock-shell boots': ID := 6145;
'skeletal boots': ID := 6147;
'spined gloves': ID := 6149;
'rock-shell gloves': ID := 6151;
'skeletal gloves': ID := 6153;
'dagannoth hide': ID := 6155;
'rock-shell chunk': ID := 6157;
'rock-shell shard': ID := 6159;
'rock-shell splinter': ID := 6161;
'skull piece': ID := 6163;
'ribcage piece': ID := 6165;
'fibula piece': ID := 6167;
'circular hide': ID := 6169;
'flattened hide': ID := 6171;
'stretched hide': ID := 6173;
'teak pyre logs': ID := 6211;
'mahogany pyre log': ID := 6213;
'broodoo shield (10)': ID := 6215;
'broodoo shield (9)': ID := 6217;
'broodoo shield (8)': ID := 6219;
'broodoo shield (7)': ID := 6221;
'broodoo shield (6)': ID := 6223;
'broodoo shield (5)': ID := 6225;
'broodoo shield (4)': ID := 6227;
'broodoo shield (3)': ID := 6229;
'broodoo shield (2)': ID := 6231;
'broodoo shield (1)': ID := 6233;
'broodoo shield': ID := 6235;
'broodoo shield (10)': ID := 6237;
'broodoo shield (9)': ID := 6239;
'broodoo shield (8)': ID := 6241;
'broodoo shield (7)': ID := 6243;
'broodoo shield (6)': ID := 6245;
'broodoo shield (5)': ID := 6247;
'broodoo shield (4)': ID := 6249;
'broodoo shield (3)': ID := 6251;
'broodoo shield (2)': ID := 6253;
'broodoo shield (1)': ID := 6255;
'broodoo shield': ID := 6257;
'broodoo shield (10)': ID := 6259;
'broodoo shield (9)': ID := 6261;
'broodoo shield (8)': ID := 6263;
'broodoo shield (7)': ID := 6265;
'broodoo shield (6)': ID := 6267;
'broodoo shield (5)': ID := 6269;
'broodoo shield (4)': ID := 6271;
'broodoo shield (3)': ID := 6273;
'broodoo shield (2)': ID := 6275;
'broodoo shield (1)': ID := 6277;
'broodoo shield': ID := 6279;
'thatch spar light': ID := 6281;
'thatch spar med': ID := 6283;
'thatch spar dense': ID := 6285;
'snake hide': ID := 6287;
'snakeskin': ID := 6289;
'spider carcass': ID := 6291;
'spider on stick': ID := 6293;
'spider on shaft': ID := 6295;
'spider on stick': ID := 6297;
'spider on shaft': ID := 6299;
'skewer stick': ID := 6305;
'trading sticks': ID := 6306;
'gout tuber': ID := 6311;
'opal machete': ID := 6313;
'jade machete': ID := 6315;
'red topaz machete': ID := 6317;
'proboscis': ID := 6319;
'snakeskin body': ID := 6322;
'snakeskin chaps': ID := 6324;
'snakeskin bandana': ID := 6326;
'snakeskin boots': ID := 6328;
'snakeskin v''brace': ID := 6330;
'mahogany logs': ID := 6332;
'teak logs': ID := 6333;
'tribal mask': ID := 6335;
'tribal mask': ID := 6337;
'tribal mask': ID := 6339;
'tribal top': ID := 6341;
'villager robe': ID := 6343;
'villager hat': ID := 6345;
'villager armband': ID := 6347;
'villager sandals': ID := 6349;
'tribal top': ID := 6351;
'villager robe': ID := 6353;
'villager hat': ID := 6355;
'villager sandals': ID := 6357;
'villager armband': ID := 6359;
'tribal top': ID := 6361;
'villager robe': ID := 6363;
'villager hat': ID := 6365;
'villager sandals': ID := 6367;
'villager armband': ID := 6369;
'tribal top': ID := 6371;
'villager robe': ID := 6373;
'villager hat': ID := 6375;
'villager sandals': ID := 6377;
'villager armband': ID := 6379;
'fez': ID := 6382;
'desert top': ID := 6384;
'desert robes': ID := 6386;
'desert top': ID := 6388;
'desert legs': ID := 6390;
'menap headgear': ID := 6392;
'menaphite top': ID := 6394;
'menaphite robe': ID := 6396;
'menap action kilt': ID := 6398;
'menap headgear': ID := 6400;
'menaphite top': ID := 6402;
'menaphite robe': ID := 6404;
'menap action kilt': ID := 6406;
'oak blackjack(o)': ID := 6408;
'oak blackjack(d)': ID := 6410;
'willow blackjack(o)': ID := 6412;
'willow blackjack(d)': ID := 6414;
'maple blackjack': ID := 6416;
'maple blackjack(o)': ID := 6418;
'maple blackjack(d)': ID := 6420;
'compost potion(4)': ID := 6470;
'compost potion(3)': ID := 6472;
'compost potion(2)': ID := 6474;
'compost potion(1)': ID := 6476;
'toktz-xil-ul': ID := 6522;
'toktz-xil-ak': ID := 6523;
'toktz-ket-xil': ID := 6524;
'toktz-xil-ek': ID := 6525;
'toktz-mej-tal': ID := 6526;
'tzhaar-ket-em': ID := 6527;
'tzhaar-ket-om': ID := 6528;
'mud battlestaff': ID := 6562;
'mystic mud staff': ID := 6563;
'obsidian cape': ID := 6568;
'uncut onyx': ID := 6571;
'onyx': ID := 6573;
'onyx ring': ID := 6575;
'onyx necklace': ID := 6577;
'onyx amulet': ID := 6579;
'onyx amulet': ID := 6581;
'ring of stone': ID := 6583;
'amulet of fury': ID := 6585;
'white claws': ID := 6587;
'white battleaxe': ID := 6589;
'white dagger': ID := 6591;
'white dagger(p)': ID := 6593;
'white dagger(p+)': ID := 6595;
'white dagger(p++)': ID := 6597;
'white halberd': ID := 6599;
'white mace': ID := 6601;
'white magic staff': ID := 6603;
'white sword': ID := 6605;
'white longsword': ID := 6607;
'white 2h sword': ID := 6609;
'white scimitar': ID := 6611;
'white warhammer': ID := 6613;
'white chainbody': ID := 6615;
'white platebody': ID := 6617;
'white boots': ID := 6619;
'white med helm': ID := 6621;
'white full helm': ID := 6623;
'white platelegs': ID := 6625;
'white plateskirt': ID := 6627;
'white gloves': ID := 6629;
'white sq shield': ID := 6631;
'white kiteshield': ID := 6633;
'fishbowl': ID := 6667;
'ground guam': ID := 6681;
'ground seaweed': ID := 6683;
'saradomin brew(4)': ID := 6685;
'saradomin brew(3)': ID := 6687;
'saradomin brew(2)': ID := 6689;
'saradomin brew(1)': ID := 6691;
'crushed nest': ID := 6693;
'pat of butter': ID := 6697;
'baked potato': ID := 6701;
'potato with butter': ID := 6703;
'potato with cheese': ID := 6705;
'seercull': ID := 6724;
'dagannoth bones': ID := 6729;
'seers ring': ID := 6731;
'archers ring': ID := 6733;
'warrior ring': ID := 6735;
'berserker ring': ID := 6737;
'dragon axe': ID := 6739;
'broken axe': ID := 6741;
'guthix mjolnir': ID := 6760;
'saradomin mjolnir': ID := 6762;
'zamorak mjolnir': ID := 6764;
'choc-ice': ID := 6794;
'granite legs': ID := 6809;
'wyvern bones': ID := 6812;
'fur': ID := 6814;
'mage''s book': ID := 6889;
'beginner wand': ID := 6908;
'apprentice wand': ID := 6910;
'teacher wand': ID := 6912;
'master wand': ID := 6914;
'infinity top': ID := 6916;
'infinity hat': ID := 6918;
'infinity boots': ID := 6920;
'infinity gloves': ID := 6922;
'infinity bottoms': ID := 6924;
'cape': ID := 6959;
'triangle sandwich': ID := 6962;
'sandstone (1kg)': ID := 6971;
'sandstone (2kg)': ID := 6973;
'sandstone (5kg)': ID := 6975;
'sandstone (10kg)': ID := 6977;
'granite (500g)': ID := 6979;
'granite (2kg)': ID := 6981;
'granite (5kg)': ID := 6983;
'unlit bug lantern': ID := 7051;
'chilli potato': ID := 7054;
'egg potato': ID := 7056;
'mushroom potato': ID := 7058;
'tuna potato': ID := 7060;
'chilli con carne': ID := 7062;
'egg and tomato': ID := 7064;
'mushroom &amp; onion': ID := 7066;
'tuna and corn': ID := 7068;
'minced meat': ID := 7070;
'spicy sauce': ID := 7072;
'chopped garlic': ID := 7074;
'uncooked egg': ID := 7076;
'scrambled egg': ID := 7078;
'sliced mushrooms': ID := 7080;
'fried mushrooms': ID := 7082;
'fried onions': ID := 7084;
'chopped tuna': ID := 7086;
'sweetcorn': ID := 7088;
'stripy pirate shirt': ID := 7110;
'pirate bandana': ID := 7112;
'pirate boots': ID := 7114;
'pirate leggings': ID := 7116;
'stripy pirate shirt': ID := 7122;
'pirate bandana': ID := 7124;
'pirate leggings': ID := 7126;
'stripy pirate shirt': ID := 7128;
'pirate bandana': ID := 7130;
'pirate leggings': ID := 7132;
'stripy pirate shirt': ID := 7134;
'pirate bandana': ID := 7136;
'pirate leggings': ID := 7138;
'dragon 2h sword': ID := 7158;
'insulated boots': ID := 7159;
'pie recipe book': ID := 7162;
'part mud pie': ID := 7164;
'part mud pie': ID := 7166;
'raw mud pie': ID := 7168;
'mud pie': ID := 7170;
'part garden pie': ID := 7172;
'part garden pie': ID := 7174;
'raw garden pie': ID := 7176;
'garden pie': ID := 7178;
'half a garden pie': ID := 7180;
'part fish pie': ID := 7182;
'part fish pie': ID := 7184;
'raw fish pie': ID := 7186;
'fish pie': ID := 7188;
'half a fish pie': ID := 7190;
'part admiral pie': ID := 7192;
'part admiral pie': ID := 7194;
'raw admiral pie': ID := 7196;
'admiral pie': ID := 7198;
'half an admiral pie': ID := 7200;
'part wild pie': ID := 7202;
'part wild pie': ID := 7204;
'raw wild pie': ID := 7206;
'wild pie': ID := 7208;
'half a wild pie': ID := 7210;
'part summer pie': ID := 7212;
'part summer pie': ID := 7214;
'raw summer pie': ID := 7216;
'summer pie': ID := 7218;
'half a summer pie': ID := 7220;
'roast rabbit': ID := 7223;
'skewered rabbit': ID := 7224;
'iron spit': ID := 7225;
'cooked chompy': ID := 7228;
'skewered chompy': ID := 7230;
'red boater': ID := 7319;
'orange boater': ID := 7321;
'green boater': ID := 7323;
'blue boater': ID := 7325;
'black boater': ID := 7327;
'black shield(h1)': ID := 7332;
'adamant shield(h1)': ID := 7334;
'rune shield(h1)': ID := 7336;
'black shield(h2)': ID := 7338;
'adamant shield(h2)': ID := 7340;
'rune shield(h2)': ID := 7342;
'black shield(h3)': ID := 7344;
'adamant shield(h3)': ID := 7346;
'rune shield(h3)': ID := 7348;
'black shield(h4)': ID := 7350;
'adamant shield(h4)': ID := 7352;
'rune shield(h4)': ID := 7354;
'black shield(h5)': ID := 7356;
'adamant shield(h5)': ID := 7358;
'rune shield(h5)': ID := 7360;
'studded body (g)': ID := 7362;
'studded body (t)': ID := 7364;
'studded chaps (g)': ID := 7366;
'studded chaps (t)': ID := 7368;
'd''hide body(g)': ID := 7370;
'd''hide body (t)': ID := 7372;
'd''hide body (g)': ID := 7374;
'd''hide body (t)': ID := 7376;
'd''hide chaps (g)': ID := 7378;
'd''hide chaps (t)': ID := 7380;
'd''hide chaps (g)': ID := 7382;
'd''hide chaps (t)': ID := 7384;
'blue skirt (g)': ID := 7386;
'blue skirt (t)': ID := 7388;
'wizard robe (g)': ID := 7390;
'wizard robe (t)': ID := 7392;
'wizard hat (g)': ID := 7394;
'wizard hat (t)': ID := 7396;
'enchanted robe': ID := 7398;
'enchanted top': ID := 7399;
'enchanted hat': ID := 7400;
'mole claw': ID := 7416;
'mole skin': ID := 7418;
'wooden spoon': ID := 7433;
'egg whisk': ID := 7435;
'spork': ID := 7437;
'spatula': ID := 7439;
'frying pan': ID := 7441;
'skewer': ID := 7443;
'rolling pin': ID := 7445;
'kitchen knife': ID := 7447;
'meat tenderiser': ID := 7449;
'cleaver': ID := 7451;
'cooked crab meat': ID := 7521;
'raw jubbly': ID := 7566;
'cooked jubbly': ID := 7568;
'silver dust': ID := 7650;
'guthix balance(unf)': ID := 7652;
'guthix balance(unf)': ID := 7654;
'guthix balance(unf)': ID := 7656;
'guthix balance(unf)': ID := 7658;
'guthix balance(4)': ID := 7660;
'guthix balance(3)': ID := 7662;
'guthix balance(2)': ID := 7664;
'guthix balance(1)': ID := 7666;
'gadderhammer': ID := 7668;
'toy soldier': ID := 7759;
'toy soldier (wound)': ID := 7761;
'toy doll': ID := 7763;
'toy doll (wound)': ID := 7765;
'toy mouse': ID := 7767;
'toy mouse (wound)': ID := 7769;
'clockwork cat': ID := 7771;
'snake hide': ID := 7801;
'bottle of wine': ID := 7919;
'field ration': ID := 7934;
'pure essence': ID := 7936;
'tortoise shell': ID := 7939;
'raw monkfish': ID := 7944;
'monkfish': ID := 7946;
'varrock teleport': ID := 8007;
'lumbridge teleport': ID := 8008;
'falador teleport': ID := 8009;
'camelot teleport': ID := 8010;
'ardougne teleport': ID := 8011;
'watchtower t''port': ID := 8012;
'teleport to house': ID := 8013;
'bones to bananas': ID := 8014;
'bones to peaches': ID := 8015;
'enchant sapphire': ID := 8016;
'enchant emerald': ID := 8017;
'enchant ruby': ID := 8018;
'enchant diamond': ID := 8019;
'enchant dragonstn.': ID := 8020;
'enchant onyx': ID := 8021;
'bagged dead tree': ID := 8417;
'bagged nice tree': ID := 8419;
'bagged oak tree': ID := 8421;
'bagged willow tree': ID := 8423;
'bagged maple tree': ID := 8425;
'bagged yew tree': ID := 8427;
'bagged magic tree': ID := 8429;
'bagged plant 1': ID := 8431;
'bagged plant 2': ID := 8433;
'bagged plant 3': ID := 8435;
'thorny hedge': ID := 8437;
'nice hedge': ID := 8439;
'small box hedge': ID := 8441;
'topiary hedge': ID := 8443;
'fancy hedge': ID := 8445;
'tall fancy hedge': ID := 8447;
'tall box hedge': ID := 8449;
'bagged rosemary': ID := 8451;
'bagged daffodils': ID := 8453;
'bagged bluebells': ID := 8455;
'bagged sunflower': ID := 8457;
'bagged marigolds': ID := 8459;
'bagged roses': ID := 8461;
'crude wooden chair': ID := 8496;
'wooden chair': ID := 8498;
'rocking chair': ID := 8500;
'oak chair': ID := 8502;
'oak armchair': ID := 8504;
'teak armchair': ID := 8506;
'mahogany armchair': ID := 8508;
'wooden bookcase': ID := 8510;
'oak bookcase': ID := 8512;
'mahogany b''kcase': ID := 8514;
'beer barrel': ID := 8516;
'cider barrel': ID := 8518;
'asgarnian ale': ID := 8520;
'greenman''s ale': ID := 8522;
'dragon bitter': ID := 8524;
'chef''s delight': ID := 8526;
'wood kitchen table': ID := 8528;
'oak kitchen table': ID := 8530;
'teak kitchen table': ID := 8532;
'wood dining table': ID := 8548;
'oak dining table': ID := 8550;
'carved oak table': ID := 8552;
'teak table': ID := 8554;
'carved teak table': ID := 8556;
'mahogany table': ID := 8558;
'opulent table': ID := 8560;
'wooden bench': ID := 8562;
'oak bench': ID := 8564;
'carved oak bench': ID := 8566;
'teak dining bench': ID := 8568;
'carved teak bench': ID := 8570;
'mahogany bench': ID := 8572;
'gilded bench': ID := 8574;
'wooden bed': ID := 8576;
'oak bed': ID := 8578;
'large oak bed': ID := 8580;
'teak bed': ID := 8582;
'large teak bed': ID := 8584;
'4-poster': ID := 8586;
else
Result := 'WARNING: Wrong input!';
end;
if (Result <> 'WARNING: Wrong input!') then
Result := GetGEPrice(ID);
if (Pos('k', Result) > 0) then
if (Pos('.', Result) > 0) then
begin
Delete(Result, Pos('.', Result), 1);
I := Pos('k', Result);
Delete(Result, I, 1);
Insert('00', Result, I);
end else
begin
Delete(Result, Pos('.', Result), 1);
I := Pos('k', Result);
Delete(Result, I, 1);
Insert('000', Result, I);
end;
if (Pos('m', Result) > 0) then
if (Pos('.', Result) > 0) then
begin
Delete(Result, Pos('.', Result), 1);
I := Pos('m', Result);
Delete(Result, I, 1);
Insert('00000', Result, I);
end else
begin
Delete(Result, Pos('.', Result), 1);
I := Pos('k', Result);
Delete(Result, I, 1);
Insert('000000', Result, I);
end;
Result := GetNumbers(Result);
end;

Save the script as GE.scar in the includes folder and try this script:
program New;
{.include GE.scar}

const
SName = 'Dragon Axe';

begin
ClearDeBug;
Writeln(GetPrice(SName));
end;

Feel free to rep :p

skilld u

2008-04-27 08:56:39

nice! just noticed a little typo :p

function GetPrice(SearchName: string): string;
By: Zytex!
Description: Outpust price of the name
should be outputs.

EDIT: doesn't tell you the price. :confused:

mixster

2008-04-27 09:11:54

Click here
Feel free to steal anything you want from there as long as there is credits as it does gather the id's etc. though I do also have a search for item function if you think that will be worthwhile to add as well.

Gu3st...

2008-04-27 09:41:51

Mixster @ Thank! im sorry i misundersttod…

Skilld u @ Thanks! Save the script as GE.scar in the includes folder and try this script:
program New;
{.include GE.scar}

const
SName = 'Dragon Axe';

begin
ClearDeBug;
Writeln(GetGEPrice(SName));
end;

mastaraymond

2008-04-27 09:49:02

Nice one :).

mixster

2008-04-27 09:51:28

I wasn't saying you did steal my code - I just already made something that did that and was saying you can improve your code with parts of mine if you want.

n3ss3s

2008-04-27 10:03:19

Make the case in a separate GetIDFromName function so you can use it for the price function and if someone needs he doesn't have to copy the case there…

Gu3st...

2008-04-27 10:08:20

From: mixster
I wasn't saying you did steal my code - I just already made something that did that and was saying you can improve your code with parts of mine if you want.


Ow -.-" im sorry i misunderstood :s Thanks

From: n3ss3s
Make the case in a separate GetIDFromName function so you can use it for the price function and if someone needs he doesn't have to copy the case there…


Houh?

Edit: btw, the script got some bugs, why? the database is also buggy… example the bronze dagger(p++)(Id 5688) is buggy in the rs database also..

EvilChicken!

2008-04-27 11:29:39

I think you should name it "GE.scar".

Gu3st...

2008-04-27 11:36:48

ok? why?

Edit: 250th post :p

Naum

2008-04-27 11:59:17

Very nice Zytex!!
You spent alot of time on this is see!!!

Rep++ For you, I seriously think that this should be used in SRL.

GJ!

Gu3st...

2008-04-27 12:01:28

From: NaumanAkhlaQ
Very nice Zytex!!
You spent alot of time on this is see!!!

Rep++ For you, I seriously think that this should be used in SRL.

GJ!


Haha thanks :p

i did'nt really spend that much time on this btw… the only thing was to make a script that writeln'ed the case thingy.. thats why the standars is lame on that function :p

From: NaumanAkhlaq
I seriously think that this should be used in SRL.
Thanks! Thats my goal ;)

EvilChicken!

2008-04-27 13:29:52

From: Zytex!
ok? why?

Edit: 250th post :p


Shorter, easier to remember and write.

Gu3st...

2008-04-27 14:34:11

Done!

Kave

2008-05-02 04:11:02

Why return as a string instead of integer? It looks great though. Good job!

Santa_Clause

2008-05-02 05:29:31

I really think that for GetPrice, you should put all the names of the items in a TStringArray, and then:

For I := 0 To High(ExchangeItems) Do
If ExchangeItems[I] = SName Then
Result := I * 2;

It would be alot shorter.

Gu3st...

2008-05-02 07:21:17

but faster…?

Santa_Clause

2008-05-02 08:53:02

I'm not really sure which would be faster…looping through the array or comprehending such a long case. Either way though, I'm sure the difference wouldn't be that much.

Widget

2008-05-08 22:43:03

Lol, INI file would probably be the fastest ;)

EvilChicken!

2008-05-09 07:25:14

NO way.
INI files are read linearly, (if thats even a word) so the bigger ini size, the longer it takes. And by the way, INI files have a limit of 64 Kb limit for storing data. Any data exeeding the 64Kb limit will be ignored.