HenterVerse Market UI Enhancer

Enhance HentaiVerse UI of The Market.

Fra og med 17.04.2023. Se den nyeste version.

  1. // ==UserScript==
  2. // @name HenterVerse Market UI Enhancer
  3. // @namespace hvmui
  4. // @version 0.1.2.6
  5. // @description Enhance HentaiVerse UI of The Market.
  6. // @author Retr#000
  7. // @match https://*hentaiverse.org/*?s=Bazaar&ss=mk*
  8. // @icon https://hentaiverse.org/y/scroll_up.png
  9. // @grant GM_setValue
  10. // @grant GM_getValue
  11. // @license CC BY-NC 3.0
  12. // ==/UserScript==
  13.  
  14. (function () {
  15. 'use strict';
  16.  
  17. //////// List ///////////
  18.  
  19. const marketList = {
  20. /*
  21. function getList() { // Use this function to quickly get the list
  22. const a = document.querySelectorAll('#market_itemlist > table > tbody > tr[onclick]');
  23. const b = document.querySelectorAll('#market_itemlist > table > tbody > tr > td:nth-child(1)');
  24. const c = document.querySelector('#filterbar > * > div[class="cfbs"]');
  25. var d = {};
  26. for (let i = 0; i < a.length; i++) {
  27. d += [
  28. `"${Number(String(a[i].onclick).match(/\d+/))}": {`,
  29. ` "name": "${b[i].textContent}",`,
  30. ' "desc": "",',
  31. ` "type": "${c.textContent}"`,
  32. '},',
  33. ].join('');
  34. }
  35. console.log(d);
  36. }
  37. getList();
  38. */
  39.  
  40. /////////////// Consumable ///////////////
  41. "11191": {
  42. "name": "Health Draught",
  43. "desc": "Provides a long-lasting health restoration effect.<br>(Restores 2% base health per turn for 50 turns.)",
  44. "type": "Consumable"
  45. },
  46. "11195": {
  47. "name": "Health Potion",
  48. "desc": "Instantly restores a large amount of health.<br>(Restores 100% of base health.)",
  49. "type": "Consumable"
  50. },
  51. "11199": {
  52. "name": "Health Elixir",
  53. "desc": "Fully restores health, and grants a long-lasting health restoration effect.<br>(Restores 100% health on use + 2% base health per turn for 100 turns.)",
  54. "type": "Consumable"
  55. },
  56. "11291": {
  57. "name": "Mana Draught",
  58. "desc": "Provides a long-lasting mana restoration effect.<br>(Restores 1% base mana per turn for 50 turns.)",
  59. "type": "Consumable"
  60. },
  61. "11295": {
  62. "name": "Mana Potion",
  63. "desc": "Instantly restores a moderate amount of mana.<br>(Restores 50% of base mana.)",
  64. "type": "Consumable"
  65. },
  66. "11299": {
  67. "name": "Mana Elixir",
  68. "desc": "Fully restores mana, and grants a long-lasting mana restoration effect.<br>(Restores 100% mana on use + 1% base mana per turn for 100 turns.)",
  69. "type": "Consumable"
  70. },
  71. "11391": {
  72. "name": "Spirit Draught",
  73. "desc": "Provides a long-lasting spirit restoration effect.<br>(Restores 1% base spirit per turn for 50 turns.)",
  74. "type": "Consumable"
  75. },
  76. "11395": {
  77. "name": "Spirit Potion",
  78. "desc": "Instantly restores a moderate amount of spirit.<br>(Restores 50% of base spirit.)",
  79. "type": "Consumable"
  80. },
  81. "11399": {
  82. "name": "Spirit Elixir",
  83. "desc": "Fully restores spirit, and grants a long-lasting spirit restoration effect.<br>(Restores 100% spirit on use + 1% base spirit per turn for 100 turns.)",
  84. "type": "Consumable"
  85. },
  86. "11401": {
  87. "name": "Energy Drink",
  88. "desc": "Restores 10 points of Stamina, up to the maximum of 99. When used in battle, also boosts Overcharge and Spirit by 10% for ten turns.",
  89. "type": "Consumable"
  90. },
  91. "11402": {
  92. "name": "Caffeinated Candy",
  93. "desc": "Restores 5 points of Stamina, up to the maximum of 99. When used in battle, also boosts Overcharge and Spirit by 10% for five turns.",
  94. "type": "Consumable"
  95. },
  96. "11501": {
  97. "name": "Last Elixir",
  98. "desc": "Fully restores all vitals, and grants long-lasting restoration effects.<br>(= Health Elixir + Mana Elixir + Spirit Elixir)",
  99. "type": "Consumable"
  100. },
  101. "12101": {
  102. "name": "Infusion of Flames",
  103. "desc": "You gain +25% resistance to Fire elemental attacks and do 25% more damage with Fire magicks. (50 turns)",
  104. "type": "Consumable"
  105. },
  106. "12201": {
  107. "name": "Infusion of Frost",
  108. "desc": "You gain +25% resistance to Cold elemental attacks and do 25% more damage with Cold magicks. (50 turns)",
  109. "type": "Consumable"
  110. },
  111. "12301": {
  112. "name": "Infusion of Lightning",
  113. "desc": "You gain +25% resistance to Elec elemental attacks and do 25% more damage with Elec magicks. (50 turns)",
  114. "type": "Consumable"
  115. },
  116. "12401": {
  117. "name": "Infusion of Storms",
  118. "desc": "You gain +25% resistance to Wind elemental attacks and do 25% more damage with Wind magicks. (50 turns)",
  119. "type": "Consumable"
  120. },
  121. "12501": {
  122. "name": "Infusion of Divinity",
  123. "desc": "You gain +25% resistance to Holy elemental attacks and do 25% more damage with Holy magicks. (50 turns)",
  124. "type": "Consumable"
  125. },
  126. "12601": {
  127. "name": "Infusion of Darkness",
  128. "desc": "You gain +25% resistance to Dark elemental attacks and do 25% more damage with Dark magicks. (50 turns)",
  129. "type": "Consumable"
  130. },
  131. "13101": {
  132. "name": "Scroll of Swiftness",
  133. "desc": "Grants the Haste effect.<br>(Increases Action Speed by 60% than ≤ 50% by spell for 100 turns.)",
  134. "type": "Consumable"
  135. },
  136. "13111": {
  137. "name": "Scroll of Protection",
  138. "desc": "Grants the Protection effect.<br>(Absorbs all damage taken by 50% than ≤ 30% by spell for 100 turns.)",
  139. "type": "Consumable"
  140. },
  141. "13199": {
  142. "name": "Scroll of the Avatar",
  143. "desc": "Grants the Haste and Protection effects with twice the normal duration.<br>(= Scroll of Swiftness + Protection for 200 turns)",
  144. "type": "Consumable"
  145. },
  146. "13201": {
  147. "name": "Scroll of Absorption",
  148. "desc": "Grants the Absorb effect.<br>(Absorption Chance is 100% than ≤ 90% by spell.)",
  149. "type": "Consumable"
  150. },
  151. "13211": {
  152. "name": "Scroll of Shadows",
  153. "desc": "Grants the Shadow Veil effect.<br>(Increases evasion by 30% than ≤ 25% by spell for 100 turns.)",
  154. "type": "Consumable"
  155. },
  156. "13221": {
  157. "name": "Scroll of Life",
  158. "desc": "Grants the Spark of Life effect.<br>(100 turns, alive HP is 50% than 2 by spell, consumes 25% base SP than 50% by spell.)",
  159. "type": "Consumable"
  160. },
  161. "13299": {
  162. "name": "Scroll of the Gods",
  163. "desc": "Grants the Absorb, Shadow Veil and Spark of Life effects with twice the normal duration.<br>(= Scroll of Absorb + Shadow Veil + Spark of Life for 200 turns)",
  164. "type": "Consumable"
  165. },
  166. "19111": {
  167. "name": "Flower Vase",
  168. "desc": "There are three flowers in a vase. The third flower is green.<br>(Sleeper Imprint: Your attack/magic damage, attack/magic hit/crit chance, and evade/resist chance increases significantly for a short time.)",
  169. "type": "Consumable"
  170. },
  171. "19131": {
  172. "name": "Bubble-Gum",
  173. "desc": "It is time to kick ass and chew bubble-gum... and here is some gum.<br>(Kicking Ass: Your attacks and spells deal twice as much damage for a short time, will always hit, and will always land critical hits.)",
  174. "type": "Consumable"
  175. },
  176.  
  177. /////////////// Material ///////////////
  178. "60001": {
  179. "name": "Low-Grade Cloth",
  180. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade cloth armor.",
  181. "type": "Material"
  182. },
  183. "60002": {
  184. "name": "Mid-Grade Cloth",
  185. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade cloth armor.",
  186. "type": "Material"
  187. },
  188. "60003": {
  189. "name": "High-Grade Cloth",
  190. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade cloth armor.",
  191. "type": "Material"
  192. },
  193. "60004": {
  194. "name": "Low-Grade Leather",
  195. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade light armor.",
  196. "type": "Material"
  197. },
  198. "60005": {
  199. "name": "Mid-Grade Leather",
  200. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade light armor.",
  201. "type": "Material"
  202. },
  203. "60006": {
  204. "name": "High-Grade Leather",
  205. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade light armor.",
  206. "type": "Material"
  207. },
  208. "60007": {
  209. "name": "Low-Grade Metals",
  210. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade heavy armor and weapons.",
  211. "type": "Material"
  212. },
  213. "60008": {
  214. "name": "Mid-Grade Metals",
  215. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade heavy armor and weapons.",
  216. "type": "Material"
  217. },
  218. "60009": {
  219. "name": "High-Grade Metals",
  220. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade heavy armor and weapons.",
  221. "type": "Material"
  222. },
  223. "60010": {
  224. "name": "Low-Grade Wood",
  225. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade staffs and shields.",
  226. "type": "Material"
  227. },
  228. "60011": {
  229. "name": "Mid-Grade Wood",
  230. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade staffs and shields.",
  231. "type": "Material"
  232. },
  233. "60012": {
  234. "name": "High-Grade Wood",
  235. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge and upgrade staffs and shields.",
  236. "type": "Material"
  237. },
  238. "60051": {
  239. "name": "Scrap Cloth",
  240. "desc": "Various bits and pieces of scrap cloth. These can be used to mend the condition of an equipment piece.",
  241. "type": "Material"
  242. },
  243. "60052": {
  244. "name": "Scrap Leather",
  245. "desc": "Various bits and pieces of scrap leather. These can be used to mend the condition of an equipment piece.",
  246. "type": "Material"
  247. },
  248. "60053": {
  249. "name": "Scrap Metal",
  250. "desc": "Various bits and pieces of scrap metal. These can be used to mend the condition of an equipment piece.",
  251. "type": "Material"
  252. },
  253. "60054": {
  254. "name": "Scrap Wood",
  255. "desc": "Various bits and pieces of scrap wood. These can be used to mend the condition of an equipment piece.",
  256. "type": "Material"
  257. },
  258. "60071": {
  259. "name": "Energy Cell",
  260. "desc": "A cylindrical object filled to the brim with arcano-technological energy.<br>Required to restore advanced armor and shields to full condition.",
  261. "type": "Material"
  262. },
  263. "60101": {
  264. "name": "Crystallized Phazon",
  265. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge Phase Armor.",
  266. "type": "Material"
  267. },
  268. "60102": {
  269. "name": "Shade Fragment",
  270. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge Shade Armor.",
  271. "type": "Material"
  272. },
  273. "60104": {
  274. "name": "Repurposed Actuator",
  275. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge Power Armor.",
  276. "type": "Material"
  277. },
  278. "60105": {
  279. "name": "Defense Matrix Modulator",
  280. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to reforge Force Shields.",
  281. "type": "Material"
  282. },
  283. "60201": {
  284. "name": "Binding of Slaughter",
  285. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Physical Base Damage.",
  286. "type": "Material"
  287. },
  288. "60202": {
  289. "name": "Binding of Balance",
  290. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Physical Hit Chance.",
  291. "type": "Material"
  292. },
  293. "60203": {
  294. "name": "Binding of Destruction",
  295. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Magical Base Damage.",
  296. "type": "Material"
  297. },
  298. "60204": {
  299. "name": "Binding of Focus",
  300. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Magical Hit Chance.",
  301. "type": "Material"
  302. },
  303. "60205": {
  304. "name": "Binding of Protection",
  305. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Physical Defense.",
  306. "type": "Material"
  307. },
  308. "60206": {
  309. "name": "Binding of the Fleet",
  310. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Evade Chance.",
  311. "type": "Material"
  312. },
  313. "60207": {
  314. "name": "Binding of the Barrier",
  315. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Block Chance.",
  316. "type": "Material"
  317. },
  318. "60208": {
  319. "name": "Binding of the Nimble",
  320. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Parry Chance.",
  321. "type": "Material"
  322. },
  323. "60209": {
  324. "name": "Binding of the Elementalist",
  325. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Elemental Magic Proficiency.",
  326. "type": "Material"
  327. },
  328. "60210": {
  329. "name": "Binding of the Heaven-sent",
  330. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Divine Magic Proficiency.",
  331. "type": "Material"
  332. },
  333. "60211": {
  334. "name": "Binding of the Demon-fiend",
  335. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Forbidden Magic Proficiency.",
  336. "type": "Material"
  337. },
  338. "60212": {
  339. "name": "Binding of the Curse-weaver",
  340. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Depreciating Magic Proficiency.",
  341. "type": "Material"
  342. },
  343. "60213": {
  344. "name": "Binding of the Earth-walker",
  345. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Supportive Magic Proficiency.",
  346. "type": "Material"
  347. },
  348. "60215": {
  349. "name": "Binding of Surtr",
  350. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Fire Spell Damage.",
  351. "type": "Material"
  352. },
  353. "60216": {
  354. "name": "Binding of Niflheim",
  355. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Cold Spell Damage.",
  356. "type": "Material"
  357. },
  358. "60217": {
  359. "name": "Binding of Mjolnir",
  360. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Elec Spell Damage.",
  361. "type": "Material"
  362. },
  363. "60218": {
  364. "name": "Binding of Freyr",
  365. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Wind Spell Damage.",
  366. "type": "Material"
  367. },
  368. "60219": {
  369. "name": "Binding of Heimdall",
  370. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Holy Spell Damage.",
  371. "type": "Material"
  372. },
  373. "60220": {
  374. "name": "Binding of Fenrir",
  375. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Dark Spell Damage.",
  376. "type": "Material"
  377. },
  378. "60221": {
  379. "name": "Binding of Dampening",
  380. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Crushing Mitigation.",
  381. "type": "Material"
  382. },
  383. "60222": {
  384. "name": "Binding of Stoneskin",
  385. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Slashing Mitigation.",
  386. "type": "Material"
  387. },
  388. "60223": {
  389. "name": "Binding of Deflection",
  390. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Piercing Mitigation.",
  391. "type": "Material"
  392. },
  393. "60224": {
  394. "name": "Binding of the Fire-eater",
  395. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Fire Mitigation.",
  396. "type": "Material"
  397. },
  398. "60225": {
  399. "name": "Binding of the Frost-born",
  400. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Cold Mitigation.",
  401. "type": "Material"
  402. },
  403. "60226": {
  404. "name": "Binding of the Thunder-child",
  405. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Elec Mitigation.",
  406. "type": "Material"
  407. },
  408. "60227": {
  409. "name": "Binding of the Wind-waker",
  410. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Wind Mitigation.",
  411. "type": "Material"
  412. },
  413. "60228": {
  414. "name": "Binding of the Thrice-blessed",
  415. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Holy Mitigation.",
  416. "type": "Material"
  417. },
  418. "60229": {
  419. "name": "Binding of the Spirit-ward",
  420. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Dark Mitigation.",
  421. "type": "Material"
  422. },
  423. "60230": {
  424. "name": "Binding of the Ox",
  425. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Strength.",
  426. "type": "Material"
  427. },
  428. "60231": {
  429. "name": "Binding of the Raccoon",
  430. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Dexterity.",
  431. "type": "Material"
  432. },
  433. "60232": {
  434. "name": "Binding of the Cheetah",
  435. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Agility.",
  436. "type": "Material"
  437. },
  438. "60233": {
  439. "name": "Binding of the Turtle",
  440. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Endurance.",
  441. "type": "Material"
  442. },
  443. "60234": {
  444. "name": "Binding of the Fox",
  445. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Intelligence.",
  446. "type": "Material"
  447. },
  448. "60235": {
  449. "name": "Binding of the Owl",
  450. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Wisdom.",
  451. "type": "Material"
  452. },
  453. "60236": {
  454. "name": "Binding of Warding",
  455. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Magical Mitigation.",
  456. "type": "Material"
  457. },
  458. "60237": {
  459. "name": "Binding of Negation",
  460. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Resist Chance.",
  461. "type": "Material"
  462. },
  463. "60238": {
  464. "name": "Binding of Isaac",
  465. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Physical Crit Chance.",
  466. "type": "Material"
  467. },
  468. "60239": {
  469. "name": "Binding of Friendship",
  470. "desc": "Some materials scavenged from fallen adventurers by a monster.<br>Required to upgrade equipment bonuses to Magical Crit Chance.",
  471. "type": "Material"
  472. },
  473. "60402": {
  474. "name": "Legendary Weapon Core",
  475. "desc": "The core of a legendary weapon. Contains the power to improve a weapon beyond its original potential.",
  476. "type": "Material"
  477. },
  478. "60412": {
  479. "name": "Legendary Staff Core",
  480. "desc": "The core of a legendary staff. Contains the power to improve a staff beyond its original potential.",
  481. "type": "Material"
  482. },
  483. "60422": {
  484. "name": "Legendary Armor Core",
  485. "desc": "The core of a legendary armor. Contains the power to improve an armor piece or shield beyond its original potential.",
  486. "type": "Material"
  487. },
  488. "61001": {
  489. "name": "Voidseeker Shard",
  490. "desc": "When used with an equipment piece, this shard will temporarily imbue it with the Voidseeker\'s Blessing enchantment. (Weapon\'s damage type is changed to void, and a +50% physical accuracy bonus. No stack for DW.)",
  491. "type": "Material"
  492. },
  493. "61101": {
  494. "name": "Aether Shard",
  495. "desc": "When used with an equipment piece, this shard will temporarily imbue it with the Suffused Aether enchantment. (Gives +10% mana conservation bonus and a +50% magic accuracy bonus. No stack for DW.)",
  496. "type": "Material"
  497. },
  498. "61501": {
  499. "name": "Featherweight Shard",
  500. "desc": "When used with an equipment piece, this shard will temporarily imbue it with the Featherweight Charm enchantment. (Burden and interference by 7 or 50%, whichever is higher.)",
  501. "type": "Material"
  502. },
  503. "65001": {
  504. "name": "Amnesia Shard",
  505. "desc": "Can be used to reset the unlocked potencies and experience of an equipment piece.",
  506. "type": "Material"
  507. },
  508.  
  509. /////////////// Trophy ///////////////
  510. "30004": {
  511. "name": "Tenbora\'s Box",
  512. "desc": "This box is said to contain an item of immense power. You should get Snowflake to open it. [Tier 9]",
  513. "type": "Trophy"
  514. },
  515. "30016": {
  516. "name": "ManBearPig Tail",
  517. "desc": "No longer will MBP spread havoc, destruction, and melted polar ice caps. [Tier 2]",
  518. "type": "Trophy"
  519. },
  520. "30017": {
  521. "name": "Holy Hand Grenade of Antioch",
  522. "desc": "You found this item in the lair of a White Bunneh. It appears to be a dud. [Tier 2]",
  523. "type": "Trophy"
  524. },
  525. "30018": {
  526. "name": "Mithra\'s Flower",
  527. "desc": "A Lilac flower given to you by a Mithra when you defeated her. Apparently, this type was her favorite. [Tier 2]",
  528. "type": "Trophy"
  529. },
  530. "30019": {
  531. "name": "Dalek Voicebox",
  532. "desc": "Taken from the destroyed remains of a Dalek shell. [Tier 2]",
  533. "type": "Trophy"
  534. },
  535. "30020": {
  536. "name": "Lock of Blue Hair",
  537. "desc": "Given to you by Konata when you defeated her. It smells of Timotei. [Tier 2]",
  538. "type": "Trophy"
  539. },
  540. "30021": {
  541. "name": "Bunny-Girl Costume",
  542. "desc": "Given to you by Mikuru when you defeated her. If you wear it, keep it to yourself. [Tier 3]",
  543. "type": "Trophy"
  544. },
  545. "30022": {
  546. "name": "Hinamatsuri Doll",
  547. "desc": "Given to you by Ryouko when you defeated her. You decided to name it Achakura, for no particular reason. [Tier 3]",
  548. "type": "Trophy"
  549. },
  550. "30023": {
  551. "name": "Broken Glasses",
  552. "desc": "Given to you by Yuki when you defeated her. She looked better without them anyway. [Tier 3]",
  553. "type": "Trophy"
  554. },
  555. "30024": {
  556. "name": "Black T-Shirt",
  557. "desc": "A plain black 100% cotton T-Shirt. On the front, an inscription in white letters reads\: \"I defeated Real Life, and all I got was this lousy T-Shirt\" [Tier 4]",
  558. "type": "Trophy"
  559. },
  560. "30030": {
  561. "name": "Sapling",
  562. "desc": "A sapling from Yggdrasil, the World Tree. [Tier 4]",
  563. "type": "Trophy"
  564. },
  565. "30031": {
  566. "name": "Unicorn Horn",
  567. "desc": "An Invisible Pink Unicorn Horn taken from the Invisible Pink Unicorn. It doesn\'t weigh anything and has the consistency of air, but you\'re quite sure it\'s real. [Tier 5]",
  568. "type": "Trophy"
  569. },
  570. "30032": {
  571. "name": "Noodly Appendage",
  572. "desc": "A nutritious pasta-based appendage from the Flying Spaghetti Monster. [Tier 6]",
  573. "type": "Trophy"
  574. },
  575. "31001": {
  576. "name": "Platinum Coupon",
  577. "desc": "Retrieved as a Toplist Reward for active participation in the E-Hentai Galleries system. [Tier 8]",
  578. "type": "Trophy"
  579. },
  580. "31002": {
  581. "name": "Gold Coupon",
  582. "desc": "Retrieved as a Toplist Reward for active participation in the E-Hentai Galleries system. [Tier 7]",
  583. "type": "Trophy"
  584. },
  585. "31003": {
  586. "name": "Silver Coupon",
  587. "desc": "Retrieved as a Toplist Reward for active participation in the E-Hentai Galleries system. [Tier 5?]",
  588. "type": "Trophy"
  589. },
  590. "31004": {
  591. "name": "Bronze Coupon",
  592. "desc": "Retrieved as a Toplist Reward for active participation in the E-Hentai Galleries system. [Tier 3?]",
  593. "type": "Trophy"
  594. },
  595. "32025": {
  596. "name": "Museum Ticket",
  597. "desc": "A ticket to Snowflake&#039;s Search Engines Through The Ages Exhibition. A complimentary equipment piece will be handed out after the tour. [Easter 2023] [Tier 8]",
  598. "type": "Trophy"
  599. },
  600. "32203": {
  601. "name": "Star Compass",
  602. "desc": "An advanced technological artifact from an ancient and long-lost civilization. Handing these in at the Shrine of Snowflake will grant you a reward. [Tier 8]",
  603. "type": "Trophy"
  604. },
  605.  
  606. /////////////// Artifact ///////////////
  607. "20001": {
  608. "name": "Precursor Artifact",
  609. "desc": "An advanced technological artifact from an ancient and long-lost civilization. Handing these in at the Shrine of Snowflake will grant you a reward.",
  610. "type": "Artifact"
  611. },
  612.  
  613. /////////////// Figure ///////////////
  614. "70001": {
  615. "name": "Twilight Sparkle Figurine",
  616. "desc": "A 1/10th scale figurine of Twilight Sparkle, the cutest, smartest, all-around best pony. According to Pinkie Pie, anyway.",
  617. "type": "Figure"
  618. },
  619. "70002": {
  620. "name": "Rainbow Dash Figurine",
  621. "desc": "A 1/10th scale figurine of Rainbow Dash, flier extraordinaire. Owning this will make you about 20% cooler, but it probably took more than 10 seconds to get one.",
  622. "type": "Figure"
  623. },
  624. "70003": {
  625. "name": "Applejack Figurine",
  626. "desc": "A 1/10th scale figurine of Applejack, the loyalest of friends and most dependable of ponies. Equestria\'s best applebucker, and founder of Appleholics Anonymous.",
  627. "type": "Figure"
  628. },
  629. "70004": {
  630. "name": "Fluttershy Figurine",
  631. "desc": "A 1/10th scale figurine of Fluttershy, resident animal caretaker. You\'re going to love her. Likes baby dragons; Hates grown up could-eat-a-pony-in-one-bite dragons.",
  632. "type": "Figure"
  633. },
  634. "70005": {
  635. "name": "Pinkie Pie Figurine",
  636. "desc": "A 1/10th scale figurine of Pinkie Pie, a celebrated connoisseur of cupcakes and confectioneries. She just wants to keep smiling forever.",
  637. "type": "Figure"
  638. },
  639. "70006": {
  640. "name": "Rarity Figurine",
  641. "desc": "A 1/10th scale figurine of Rarity, the mistress of fashion and elegance. Even though she\'s prim and proper, she could make it in a pillow fight.",
  642. "type": "Figure"
  643. },
  644. "70007": {
  645. "name": "Trixie Figurine",
  646. "desc": "A 1/10th scale figurine of The Great and Powerful Trixie. After losing her wagon, she now secretly lives in the Ponyville library with her girlfriend, Twilight Sparkle.",
  647. "type": "Figure"
  648. },
  649. "70008": {
  650. "name": "Princess Celestia Figurine",
  651. "desc": "A 1/10th scale figurine of Princess Celestia, co-supreme ruler of Equestria. Bored of the daily squabble of the Royal Court, she has recently taken up sock swapping.",
  652. "type": "Figure"
  653. },
  654. "70009": {
  655. "name": "Princess Luna Figurine",
  656. "desc": "A 1/10th scale figurine of Princess Luna, aka Nightmare Moon. After escaping her 1000 year banishment to the moon, she was grounded for stealing Celestia\'s socks.",
  657. "type": "Figure"
  658. },
  659. "70010": {
  660. "name": "Apple Bloom Figurine",
  661. "desc": "A 1/10th scale figurine of Apple Bloom, Applejack\'s little sister. Comes complete with a \"Draw Your Own Cutie Mark\" colored pencil and permanent tattoo applicator set.",
  662. "type": "Figure"
  663. },
  664. "70011": {
  665. "name": "Scootaloo Figurine",
  666. "desc": "A 1/10th scale figurine of Scootaloo. Die-hard Dashie fanfilly, best pony of the Cutie Mark Crusaders, and inventor of the Wingboner Propulsion Drive. 1/64th chicken.",
  667. "type": "Figure"
  668. },
  669. "70012": {
  670. "name": "Sweetie Belle Figurine",
  671. "desc": "A 1/10th scale figurine of Sweetie Belle, Rarity\'s little sister. Comes complete with evening gown and cocktail dress accessories made of 100% Dumb Fabric.",
  672. "type": "Figure"
  673. },
  674. "70013": {
  675. "name": "Big Macintosh Figurine",
  676. "desc": "A 1/10th scale figurine of Big Macintosh, Applejack\'s older brother. Famed applebucker and draft pony, and an expert in applied mathematics.",
  677. "type": "Figure"
  678. },
  679. "70014": {
  680. "name": "Spitfire Figurine",
  681. "desc": "A 1/10th scale figurine of Spitfire, team leader of the Wonderbolts. Dashie\'s idol and occasional shipping partner. Doesn\'t actually spit fire.",
  682. "type": "Figure"
  683. },
  684. "70015": {
  685. "name": "Derpy Hooves Figurine",
  686. "desc": "A 1/10th scale figurine of Derpy Hooves, Ponyville\'s leading mailmare. Outspoken proponent of economic stimulus through excessive muffin consumption.",
  687. "type": "Figure"
  688. },
  689. "70016": {
  690. "name": "Lyra Heartstrings Figurine",
  691. "desc": "A 1/10th scale figurine of Lyra Heartstrings. Features twenty-six points of articulation, replaceable pegasus hoofs, and a detachable unicorn horn.",
  692. "type": "Figure"
  693. },
  694. "70017": {
  695. "name": "Octavia Figurine",
  696. "desc": "A 1/10th scale figurine of Octavia. Famous cello musician; believed to have created the Octatonic scale, the Octahedron, and the Octopus.",
  697. "type": "Figure"
  698. },
  699. "70018": {
  700. "name": "Zecora Figurine",
  701. "desc": "A 1/10th scale figurine of Zecora, a mysterious zebra from a distant land. She\'ll never hesitate to mix her brews or lend you a hand. Err, hoof.",
  702. "type": "Figure"
  703. },
  704. "70019": {
  705. "name": "Cheerilee Figurine",
  706. "desc": "A 1/10th scale figurine of Cheerilee, Ponyville\'s most beloved educational institution. Your teachers will never be as cool as Cheerilee.",
  707. "type": "Figure"
  708. },
  709. "70020": {
  710. "name": "Vinyl Scratch Figurine",
  711. "desc": "A 1/10th scale bobblehead figurine of Vinyl Scratch, the original DJ P0n-3. Octavia\'s musical rival and wub wub wub interest.",
  712. "type": "Figure"
  713. },
  714. "70021": {
  715. "name": "Daring Do Figurine",
  716. "desc": "A 1/10th scale figurine of Daring Do, the thrill-seeking, action-taking mare starring numerous best-selling books. Dashie\'s recolor and favorite literary character.",
  717. "type": "Figure"
  718. },
  719. "70022": {
  720. "name": "Doctor Whooves Figurine",
  721. "desc": "A 1/10th scale figurine of Doctor Whooves. Not a medical doctor. Once got into a hoof fight with Applejack over a derogatory remark about apples.",
  722. "type": "Figure"
  723. },
  724. "70023": {
  725. "name": "Berry Punch Figurine",
  726. "desc": "A 1/10th scale figurine of Berry Punch. Overly protective parent pony and Ponyville\'s resident lush. It smells faintly of fruit wine.",
  727. "type": "Figure"
  728. },
  729. "70024": {
  730. "name": "Bon-Bon Figurine",
  731. "desc": "A 1/10th scale figurine of Bon-Bon. Usually seen in the company of Lyra. Suffers from various throat ailments that make her sound different every time you see her.",
  732. "type": "Figure"
  733. },
  734. "70025": {
  735. "name": "Fluffle Puff Figurine",
  736. "desc": "A 1/10th scale fluffy figurine of Fluffle Puff. Best Bed Forever.",
  737. "type": "Figure"
  738. },
  739. "70101": {
  740. "name": "Angel Bunny Figurine",
  741. "desc": "A lifesize figurine of Angel Bunny, Fluttershy\'s faithful yet easily vexed pet and life partner. All-purpose assistant, time keeper, and personal attack alarm.",
  742. "type": "Figure"
  743. },
  744. "70102": {
  745. "name": "Gummy Figurine",
  746. "desc": "A lifesize figurine of Gummy, Pinkie Pie\'s faithful pet. Usually found lurking in your bathtub. While technically an alligator, he is still arguably the best pony.",
  747. "type": "Figure"
  748. },
  749.  
  750. /////////////// Monster Item ///////////////
  751. "50001": {
  752. "name": "Crystal of Vigor",
  753. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Strength.",
  754. "type": "Monster Item"
  755. },
  756. "50002": {
  757. "name": "Crystal of Finesse",
  758. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Dexterity.",
  759. "type": "Monster Item"
  760. },
  761. "50003": {
  762. "name": "Crystal of Swiftness",
  763. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Agility.",
  764. "type": "Monster Item"
  765. },
  766. "50004": {
  767. "name": "Crystal of Fortitude",
  768. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Endurance.",
  769. "type": "Monster Item"
  770. },
  771. "50005": {
  772. "name": "Crystal of Cunning",
  773. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Intelligence.",
  774. "type": "Monster Item"
  775. },
  776. "50006": {
  777. "name": "Crystal of Knowledge",
  778. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Wisdom.",
  779. "type": "Monster Item"
  780. },
  781. "50011": {
  782. "name": "Crystal of Flames",
  783. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Fire Resistance.",
  784. "type": "Monster Item"
  785. },
  786. "50012": {
  787. "name": "Crystal of Frost",
  788. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Cold Resistance.",
  789. "type": "Monster Item"
  790. },
  791. "50013": {
  792. "name": "Crystal of Lightning",
  793. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Electrical Resistance.",
  794. "type": "Monster Item"
  795. },
  796. "50014": {
  797. "name": "Crystal of Tempest",
  798. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Wind Resistance.",
  799. "type": "Monster Item"
  800. },
  801. "50015": {
  802. "name": "Crystal of Devotion",
  803. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Holy Resistance.",
  804. "type": "Monster Item"
  805. },
  806. "50016": {
  807. "name": "Crystal of Corruption",
  808. "desc": "You can fuse this crystal with a monster in the monster tab to increase its Dark Resistance.",
  809. "type": "Monster Item"
  810. },
  811. "51001": {
  812. "name": "Monster Chow",
  813. "desc": "Non-discerning monsters like to munch on this chow.",
  814. "type": "Monster Item"
  815. },
  816. "51002": {
  817. "name": "Monster Edibles",
  818. "desc": "Mid-level monsters like to feed on something slightly more palatable, like these scrumptious edibles.",
  819. "type": "Monster Item"
  820. },
  821. "51003": {
  822. "name": "Monster Cuisine",
  823. "desc": "High-level monsters would very much prefer this highly refined level of dining if you wish to parlay their favor.",
  824. "type": "Monster Item"
  825. },
  826. "51011": {
  827. "name": "Happy Pills",
  828. "desc": "Tiny pills filled with delicious artificial happiness. Use on monsters to restore morale if you cannot keep them happy. It beats leaving them sad and miserable.",
  829. "type": "Monster Item"
  830. },
  831. };
  832.  
  833. ///////// Code ///////////
  834.  
  835. const hvgConfig_default = { // default config
  836. "Show popup description when hovering on the item": true,
  837. "Use orignal style HentaiVerse scrollbar": false
  838. };
  839.  
  840. if (GM_getValue('Settings') == undefined) { // initialization
  841. GM_setValue('Settings', hvgConfig_default);
  842. }
  843.  
  844. const hvgConfig = GM_getValue('Settings'); // get config
  845.  
  846. const ifList = !Boolean(location.href.match(/itemid=[^0]\d+/)); // whether in list page
  847.  
  848. function cE(name) { // document.createElement()
  849. return document.createElement(name);
  850. }
  851.  
  852. function qS(name) { // document.querySelector()
  853. return document.querySelector(name);
  854. }
  855.  
  856. function cB(ele) { // create box, for list page and single item page
  857. const id = Number(String((ifList ? ele.onclick : ele.href)).match(/\d+/g));
  858. if (marketList[id] == undefined) return; // to jump items not in the item list
  859. const foo = ifList ? ele.querySelector('td:nth-child(1)') : ele;
  860. foo.id = `item_${id}`;
  861. foo.setAttribute('onmouseover', `common.show_popup_box(10,-40,398,82,\'${ifList ? 'market_itemlist' : 'market_itemheader'}\',this,\'right\','${marketList[id].name.replace(/\'/g,'\\\'')}','${marketList[id].desc.replace(/\'/g,'\\\'')}','${marketList[id].type}')`);
  862. foo.setAttribute('onmouseout', 'common.hide_popup_box()');
  863. }
  864.  
  865. window.onload = function () { // wait until the page finish
  866. if (hvgConfig["Show popup description when hovering on the item"]) { // config
  867. if (ifList) { // list page
  868. for (let i = 2; i <= document.querySelectorAll('#market_itemlist > table > tbody > tr').length; i++) { // child number begin with 2
  869. const tr = qS(`#market_itemlist > table > tbody > tr:nth-child(${i})`);
  870. cB(tr);
  871. }
  872. } else { // single item page
  873. const a = qS('#market_itemheader > div:nth-child(2) > a');
  874. cB(a);
  875. }
  876. }
  877. };
  878.  
  879. if (ifList && hvgConfig["Use orignal style HentaiVerse scrollbar"]) { //
  880. let upPos = qS('#market_itemlist');
  881. let downPos = qS('#form_market_itemfilter');
  882. const scrollUp = cE('div');
  883. scrollUp.setAttribute('onclick', 'common.scrollpane_up(\'market_itemlist\', 450)');
  884. scrollUp.setAttribute('class', 'csps');
  885. scrollUp.setAttribute('style', 'height: 0px; z-index: 1;');
  886. scrollUp.innerHTML = [
  887. `<img src="/y/scroll_up.png" alt="scroll_up.png">`,
  888. `<img src="/y/scroll_up.png" alt="scroll_up.png">`,
  889. ].join('');
  890. const scrollDown = cE('div');
  891. scrollDown.setAttribute('onclick', 'common.scrollpane_down(\'market_itemlist\', 450)');
  892. scrollDown.setAttribute('class', 'csps');
  893. scrollDown.setAttribute('style', 'height: 0px; z-index: 1;');
  894. scrollDown.innerHTML = [
  895. `<img src="/y/scroll_down.png" alt="scroll_down.png">`,
  896. `<img src="/y/scroll_down.png" alt="scroll_down.png">`,
  897. ].join('');
  898. const script = cE('script');
  899. script.type = 'text/javascript';
  900. script.innerHTML = [
  901. 'function scrollpane_market_itemlist(event) {',
  902. ' event = event ? event : window.event;',
  903. ' var raw = event.detail ? event.detail : event.wheelDelta;',
  904. ' var normal = (event.detail ? event.detail * -1 : event.wheelDelta / 40) * 20;',
  905. ' if(normal > 0) {',
  906. ' common.scrollpane_up("market_itemlist", Math.abs(normal), 1);',
  907. ' } else if(normal < 0) {',
  908. ' common.scrollpane_down("market_itemlist", Math.abs(normal), 1);',
  909. ' }',
  910. ' common.cancelEvent(event);',
  911. '}',
  912. 'common.hookEvent("market_itemlist", "mousewheel", scrollpane_market_itemlist);',
  913. ].join('');
  914. upPos.parentElement.insertBefore(scrollUp, upPos);
  915. downPos.parentElement.insertBefore(scrollDown, downPos);
  916. upPos.appendChild(script);
  917. upPos.setAttribute('class', 'csps');
  918. upPos.setAttribute('style', 'overflow:hidden');
  919. }
  920.  
  921. })();