Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Add an Item to Item Storage

Notices
For all updates, view the main page.

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
 
Thread Tools
  #1    
Old July 24th, 2013 (01:18 AM).
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
I've been searching and tinkering but to no avail. Is there a way to add an item directly to the Item Storage in the Players PC?
Reply With Quote
  #2    
Old July 24th, 2013 (03:55 AM).
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
Code:
pbStoreItem(item,qty=1)
Would be my guess.
Reply With Quote
  #3    
Old July 24th, 2013 (12:06 PM). Edited July 24th, 2013 by thor348.
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
I found that in the PokemonBag script section and tried it but it didn't work.

EDIT:
Okay, I played around some more and this works:

Code:
$PokemonGlobal.pcItemStorage.pbStoreItem(PBItems::item,quantity)
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 09:22 PM.