SHARE
TWEET

Untitled

a guest Mar 24th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function(_nI, itemki) {
  2.  
  3. $('<style>.item.changed > img:not(.updated) {display:none !important;}</style>').appendTo('head');
  4.  
  5. newItem = function(a) {
  6.  
  7. var ret = _nI(a);
  8.  
  9. for (var j in a) {
  10.  
  11. if (!!itemki[a[j].name]) {
  12.  
  13. $('#item' + a[j].id).addClass('changed').css('background-image', 'url(' + itemki[a[j].name] + ')');
  14.  
  15. $('#item' + a[j].id).append('<img class="updated" src="' + itemki[a[j].name] + '" dest="' + j + '">');
  16.  
  17. }
  18.  
  19. }
  20.  
  21. return ret;
  22.  
  23. };
  24.  
  25. })(newItem, {
  26.  
  27.    'Obuwie czynów nadzwyczajnych': 'https://margonem.pl/obrazki/itemy/but/buty117.gif',
  28.    'Zbroja Markusa Vinta': 'https://margonem.pl/obrazki/itemy/zbr/wak_zbroja05.gif',
  29.    'Tarcza potępionego kościeja': 'https://margonem.pl/obrazki/itemy/tar/tarcz92.gif',
  30.    'Brylantowe rękawice tolloka': 'https://margonem.pl/obrazki/itemy/vip/kremik.gif',
  31.    'Kolia najady': 'https://margonem.pl/obrazki/itemy/nas/naszyjnik114.gif',
  32.    'Rogata buława': 'https://margonem.pl/obrazki/itemy/mie/miecz165.gif',
  33.    'Hełm ze zbrojowni Pelopydów I': 'https://margonem.pl/obrazki/itemy/hel/wak_helm01.gif',
  34.    
  35.  
  36. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top