< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Add an Item to Item Storage

Notices

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 Post Reply
 
Thread Tools
  #1    
Old July 24th, 2013 (1:18 AM).
thor348's Avatar
thor348 thor348 is offline
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Posts: 135
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

Relevant Advertising!

  #2    
Old July 24th, 2013 (3:55 AM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,285
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 thor348 is offline
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Posts: 135
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 Post 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 GMT -8. The time now is 2:10 AM.


Contact Us Archive Privacy Statement Terms of Service Top