Archeia

Debug Add Items

Apr 6th, 2021
442
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. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×