Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Help/Set up]Trader Joe's API

November 09 (10 years ago)
Having some trouble setting this API up, I'm sort of new to the whole code business on the site. I have set up a few API scripts since signing up for mentor, but I can't seem to get this one to work... Can any one help me out with this?

I copy and paste the code into the API area, save, go into my Campaign folder, and then I am stumped, I tried adding in the macros, but I cant get the actual inventory list to show up... Any ideas?

https://app.roll20.net/forum/post/506471/script-we...
November 09 (10 years ago)

Edited November 09 (10 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Stay away from it.... very old and poorly written.

Edit: Also using the CSS in a handout to trick out a user interface is not the nicest thing to do from resource persepctive.
November 09 (10 years ago)
Ah ok no problems lol. Do you have any suggestions on something I could use like it?
November 09 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Depending on what you're doing, this loot script might work: https://app.roll20.net/forum/post/1280749/script-party-loot-pile-script#post-1321202
November 09 (10 years ago)

Edited November 09 (10 years ago)
I like that, It's not exactly what I need (was looking for a hand out style inventory system) but this will definantly come in handy. Thanks! :D
November 09 (10 years ago)
I use the loot pile in one of my games and it works amazingly
November 09 (10 years ago)
I haven't used loot pile yet, it was bumping heads with another API that I use. I plan to revisit loot pile soon.

I create loot decks using Roll20's Decks and Tables tab. The players seem to enjoy drawing a card from the deck, if they do not get a item they can use they trade amongst their selfs. The cards also stay in their hands for reference. The few drawbacks I have found are, the players must be logged into Roll20 before anyone including the GM to see their cards, and it is very graphic heavy and time consuming.

Jim
November 09 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
James, I'm pretty sure the API can still see the cards that offline players have, so if you need it, I could probably come up with a way for you to query that info. =D
November 09 (10 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter

James the DM said:

I haven't used loot pile yet, it was bumping heads with another API that I use. I plan to revisit loot pile soon.

I create loot decks using Roll20's Decks and Tables tab. The players seem to enjoy drawing a card from the deck, if they do not get a item they can use they trade amongst their selfs. The cards also stay in their hands for reference. The few drawbacks I have found are, the players must be logged into Roll20 before anyone including the GM to see their cards, and it is very graphic heavy and time consuming.

Jim

An entire store front could be made as a page.... shelf items with token actions to display inventory in text box on the map layer.