Skip to content
TORNLIFE More

Icon Number List

Started by TYMinion [557703] on in API Development.

5 replies · 134 views · thread synced · 6 days ago · View on torn.com
About this thread

Posts archived: 6 / 6 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
6
Discussion span
→
People posting
3
Likes on archived posts
5
Authority score
51 / 100
Historical score
21 / 100
Story score
29 / 100
Engagement score
49 / 100

Most-liked replies

TYMinion [557703]

Below are my current icons.

"icons": {
"icon4": "Subscriber",
"icon6": "Male",
"icon3": "Donator",
"icon8": "Married - To princeOfEdenia",
"icon27": "Company - Employee of Happy Buns (Sweet Shop)",
"icon9": "Faction - Member of Desert Eagle"
}

Is there a list somewhere what iconX is for such as Icon6 = Male?
Plornt [1799359]

Okay my previous post here was a stupid method haha

{
"icon35": "Items in bazaar",
"icon31": "Cayman islands bank",
"icon9": "Faction",
"icon6": "Male",
"icon1": "Online",
"icon2": "Offline",
"icon5": "Level 100",
"icon7": "Female",
"icon3": "Donator",
"icon4": "Subscriber",
"icon11": "Staff",
"icon10": "Committee",
"icon8": "Marriage",
"icon21": "Army job",
"icon22": "Casino job",
"icon23": "Medical job",
"icon24": "Grocer job",
"icon25": "Lawyer job",
"icon26": "Education job",
"icon27": "Company",
"icon19": "Education in progress",
"icon20": "Education completed",
"icon29": "Investment in progress",
"icon30": "Investment completed",
"icon32": "Property vault",
"icon33": "Loan",
"icon34": "Items in auction",
"icon36": "Items in item market",
"icon54": "Points market",
"icon38": "Stocks owned",
"icon37": "Trade in progress",
"icon17": "Racing in progress",
"icon18": "Racing completed",
"icon13": "Bounty",
"icon28": "Cashier's checks",
"icon55": "Auction high bidder",
"icon56": "Auction outbid",
"icon39": "Booster cooldown (0-6hr)",
"icon40": "Booster cooldown (6-12hr)",
"icon41": "Booster cooldown (12-18hr)",
"icon42": "Booster cooldown (18-24hr)",
"icon43": "Booster cooldown (+24hr)",
"icon44": "Medical cooldown (0-6hr)",
"icon45": "Medical cooldown (6-12hr)",
"icon46": "Medical cooldown (12-18hr)",
"icon47": "Medical cooldown (18-24hr)",
"icon48": "Medical cooldown (+24hr)",
"icon49": "Drug cooldown (0-10m)",
"icon50": "Drug cooldown (10-60m)",
"icon51": "Drug cooldown (1-2hr)",
"icon52": "Drug cooldown (2-5hr)",
"icon53": "Drug cooldown (+5hr)",
"icon15": "Hospital",
"icon16": "Jail",
"icon12": "Low Life",
"icon57": "Drug Addiction",
"icon58": "Drug Addiction",
"icon59": "Drug Addiction",
"icon60": "Drug Addiction",
"icon61": "Drug Addiction",
"icon63": "Radiation Sickness",
"icon64": "Radiation Sickness",
"icon65": "Radiation Sickness",
"icon66": "Radiation Sickness",
"icon67": "Radiation Sickness"
}

Found a better one:


Using this javascript code on the setting spage will net you this result:

var icons = {}; $("#iconTray li").each(function () { icons[$(this).attr("id")] = /<b>(.+?)</b>.*/i.exec($(this).attr("title"))[1]; }); console.log(JSON.stringify(icons, null, 2));


You're going to probably want to use a unique name/ID for each of them rather than the human title but I'll leave that up to you.

Edit: Oh goddamn this forum parsing is shit. It strips out goddamn pre tags and removes the line breaks .
Mauk [1494436]

Nice find.

It's worth noting that the settings page is missing 2 icons: reading a book (68) and ??? (69).
TYMinion [557703]

"icon57": "Drug Addiction",
"icon58": "Drug Addiction",
"icon59": "Drug Addiction",
"icon60": "Drug Addiction",
"icon61": "Drug Addiction",
"icon63": "Radiation Sickness",
"icon64": "Radiation Sickness",
"icon65": "Radiation Sickness",
"icon66": "Radiation Sickness",
"icon67": "Radiation Sickness"

Any idea why so many of each? Do they not have sub-names?
Mauk [1494436]

They represent different levels of addiction and sickness, just like the cooldowns.

For example, "icon57": "Minor Drug Addiction - Your statistics in attacking are slightly reduced (-4%)".

I don't know the exact ranges though.