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

Tips in creating Shopkeeper type NPCs with Dnd OGL sheet

Hello, I'm pretty new to using the Dnd 5th edition OGL character sheet. My question is there a way to code the NPC section to be used for town npcs? Such as shopkeeprs (I.E. Blacksmith, Inn, General Store), Quest characters, Guilds, without having to worry about stats and rolls? When I clicked on the actual NPC button it transformed the NPC into an enemy type NPC. I was hoping to have something simple that I could create shop lists or what a guild has without having to type it out every time. I know I could use handouts but I use those for written jobs, letters, etc.
I usually just make a token for those types of NPC's and leave them on the map.
1504554704
The Aaron
Pro
API Scripter
Sky said: I usually just make a token for those types of NPC's and leave them on the map. You can add abilities and set them to Token actions to have canned dialog.
You could also utilize the bio and DM notes sections for the character (note the Bio & Info tab of the character, not the Bio page of the character sheet).
Okay. Then is there something I can code that when the players are shopping I can press a button that will list the shops inventory?
1504555296
The Aaron
Pro
API Scripter
Beaches said: Okay. Then is there something I can code that when the players are shopping I can press a button that will list the shops inventory? The Aaron said: You can add abilities and set them to Token actions to have canned dialog.
1504555879

Edited 1504556202
Ah, I've never tried that. I'll go try that now. Hey, that's exactly what I wanted! Thank you Aaron. ^_^
1504556079

Edited 1504556159
The Aaron
Pro
API Scripter
Basically, anything you put in an ability will be as if you type it in the chat, save that you don't need to use @{selected} or similar.  You can just use @{attribute name} directly. /emas @{character_name} tells you "I have these things for sale..." &{template:default}{{name=Wares }}{{Adventurer's sword=5sp }}{{Hero's sword=10gp }}
Wow, that's even fancier than what I had planned. I never used script like that before, so I had no idea that could be done.
1504558354

Edited 1504558363
The Aaron
Pro
API Scripter
Ha! Well, there's plenty more where that came from, just keep digging. Side note that /emas only works for GMs. You might want to look over these as well:&nbsp; <a href="https://wiki.roll20.net/Text_Chat#Basic_Formatting" rel="nofollow">https://wiki.roll20.net/Text_Chat#Basic_Formatting</a>
1504615545

Edited 1504615564
What I do is put the inventory of the shop keeper into the token bars and use a macro to call the bar info. So in my collections tab I have a macro for a merchant's shop with the base macro an it will reference the bar on the targeted token. Using The Aaron's example: Merchant_Shop /em @{target|merchant|token_name} tells you "I have these things for sale..." &{template:default}{{name=@{target|merchant|bar1|max} }} @{target|merchant|bar2|max} Then on the token for the merchant you can put his store name and inventory into the token bars In bar1 on the right hand side (Max), put the store name i.e. Weapon Shop and then in bar2 right hand side (max) put the inventory: {{Adventurer's sword=5sp }}{{Hero's sword=10gp }} Make sure to set the macro to be available to the players and then they can run around town and talk to all the merchants without you having to do it all for them. I set the macro coding into the max bars so they don't show up in the bubbles and I reserve the left side for tracking merchant gold and such. Happy shopping!
Thats very neat Ed. With a new campaign on the horizon it would be fun to implement shops. Do you place the shop tokens on a big city map or what?
Ed, that is a very creative use of the Roll20 mechanics! &nbsp;I just might steal this. &nbsp; Thank you.
I found an old thread here where I show more of my work with it. that is using the old 5e Community sheet, but the idea is the same. I use the merchants on my city streets map that I showed off here . It's a huge map with various merchants and other things. It took a lot of work but the players love going around talking to folks and exploring. The best part of all of it is that you can do it on a free account.