Advertisement
Archeia

Debug Add Items

Apr 6th, 2021
1,788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const items = $dataItems.concat($dataWeapons).concat($dataArmors);
  2. const quantity = 10;
  3.  
  4. for (const item of items) {
  5.     if (!item) continue;
  6.     if (item.name.trim() === '') continue;
  7.     if (item.name.includes('-----')) continue;
  8.     if (item.itypeId === 2) continue;
  9.     $gameParty.gainItem(item, quantity);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement