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

Is there a 5e ogl script for copying items from one character sheet to another character? If does not exist is it possible/allowed?

I know the compendium cant be edited because it would take about a day to write a json importer of the copyright infringing dndapp files but I did not see any 5e ogl inventory or store scripts. Is that because its not possible/TOS breaky or just not that big of a use case? I will be buying the tyranny of dragons modules so the needed magic items should be in there(I hope) but we cant buy the dmg and its magic items and id rather type stuff up before a session.

I was wondering if it was worth looking at writing a script that can copy items from one 5e ogl sheet to another so I can just build a fake pack mule character to store custom and homebrew items. Then I could make an api call for a drop down list on a target player token and just copy it over to their character's inventory(including attack if it has one).

If that's possible it might also be possible to build "store" characters. were players could pick from a drop down list of their inventory in exchange for cold hard gold.

This is about the only type of script I haven't found pre-written and would jump back into scripting for. I'm sure it would come back to me but I haven't done it in a year and I was trying to avoid it.

September 29 (6 years ago)

Edited September 29 (6 years ago)
The Aaron
Pro
API Scripter

I think CashMaster was looking at doing Stores in a manner like you describe: https://app.roll20.net/forum/post/5950228/script-cashmaster-5e-a-simple-script-to-manage-a-partys-money/?pagenum=1

Not sure what state it's in.  There is no technical reason you couldn't write a script top copy rows from one character to another.  Repeating Groups are a bit annoying to deal with, but that's wouldn't prevent it from working.

As long as you're not distributing copyrighted material, it won't be a problem.

September 29 (6 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

The Script you are looking for is called Cashmaster 5e, and it is still under active development. What I have seen so far looks very enticing. I believe the functionality you are looking for exists. The original script was written to manage a party's money, and the store functionality has recently been added.

As long as materials that are being shared are to be found in the SRD, there should be no issues with copyright. I have released several lengthy macros that contain SRD material myself.

September 29 (6 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

Dangit Aaron! Stop that. :D

September 29 (6 years ago)
The Aaron
Pro
API Scripter

(hehehehehe, even with the new job...)

September 29 (6 years ago)

Edited September 29 (6 years ago)
GM Michael
API Scripter

Cashmaster does not support transferring items from one character to another at this time, but it does support shops that you can buy items from, whereupon it will automatically insert it into your inventory (provided you are using OGL, which you are).  The answer to "When will Michael get around to adding item transfers?" is presently X.

Thanks for all the replies. I've been looking at the the api guide and remembering how to punch the keyboard until scripts appear. I think I'll write a quick GMinventory script for my needs and use cashmaster for stores.

There are some non cashmaster use case such as pre-writing non-compendium items to transfer to characters, i'd like to maybe have an item description to chat/to whisper for the more verbose items (I added the xanatar's text to one of my pc's herbalism text and its not great to read it in the actual sheet.

Something even more useful would be to use fake npc's inventories as rollable loot tables or attach a sheet to a treasure chest token. the roll results and chest would need chat outputs to distribute the loot to specified pc's.